For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation
Overview Agent Access Ads ChatGPT + Codex user docs Use cases

API Reference

Ad Accounts

List Ad Accounts
GET
/ad_accounts
Models
AdAccountListAdAccountsResponse object { data, object, first_id, 2 more }
data: array of object { id, currency_code, name, 10 more }
id: string
currency_code: string
name: string
preview_url: string or null
review: object { status, reason, screenshot_url }
status: "in_review" or "rejected" or "approved"
One of the following:
"in_review"
"rejected"
"approved"
reason: optional string or "crawl_failed" or "crawler_bot_blocked" or "crawler_captcha" or 17 more
One of the following:
string
"crawl_failed" or "crawler_bot_blocked" or "crawler_captcha" or 17 more
One of the following:
"crawl_failed"
"crawler_bot_blocked"
"crawler_captcha"
"crawler_login_required"
"crawler_400"
"crawler_401"
"crawler_403"
"crawler_404"
"crawler_408"
"crawler_410"
"crawler_429"
"crawler_500"
"crawler_502"
"crawler_503"
"crawler_504"
"robots_txt"
"unsupported_content_type"
"landing_page_image_processing_failed"
"landing_page_unusable"
"missing_favicon"
screenshot_url: optional string
timezone: string
url: string
account_integrity_review: optional object { review, details }
review: object { status, reason, screenshot_url }
status: "in_review" or "rejected" or "approved"
One of the following:
"in_review"
"rejected"
"approved"
reason: optional string or "crawl_failed" or "crawler_bot_blocked" or "crawler_captcha" or 17 more
One of the following:
string
"crawl_failed" or "crawler_bot_blocked" or "crawler_captcha" or 17 more
One of the following:
"crawl_failed"
"crawler_bot_blocked"
"crawler_captcha"
"crawler_login_required"
"crawler_400"
"crawler_401"
"crawler_403"
"crawler_404"
"crawler_408"
"crawler_410"
"crawler_429"
"crawler_500"
"crawler_502"
"crawler_503"
"crawler_504"
"robots_txt"
"unsupported_content_type"
"landing_page_image_processing_failed"
"landing_page_unusable"
"missing_favicon"
screenshot_url: optional string
details: optional object { decision, reason, status_updated_at }
decision: optional string
reason: optional string
status_updated_at: optional string
account_name: optional string
brand_name: optional string
creative_optimization_opt_in: optional boolean

Whether the ad account opts in to creative enhancements.

status: optional string
object: string
first_id: optional string or null
has_more: optional boolean
last_id: optional string or null