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

Activate Ad Account

POST
/ad_account/activate

Activate the ad account.

Activate Ad Account

curl https://api.ads.openai.com/v1/ad_account/activate \
    -X POST \
    -H "Authorization: Bearer $OPENAI_ADS_API_KEY"
200 — Example
{
  "id": "adacct_123",
  "currency_code": "USD",
  "name": "Acme LLC",
  "preview_url": "https://example.com/assets/acme-icon.png",
  "review": {
    "status": "in_review",
    "reason": "crawl_failed",
    "screenshot_url": "screenshot_url"
  },
  "timezone": "UTC",
  "url": "https://www.acme.example",
  "account_integrity_review": {
    "review": {
      "status": "in_review",
      "reason": "crawl_failed",
      "screenshot_url": "screenshot_url"
    },
    "details": {
      "decision": "decision",
      "reason": "reason",
      "status_updated_at": "status_updated_at"
    }
  },
  "account_name": "Acme US campaigns",
  "brand_name": "Acme",
  "creative_optimization_opt_in": true,
  "legal_name": "Acme LLC",
  "status": "active"
}
Returns
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
Returns Examples
200 — Example
{
  "id": "adacct_123",
  "currency_code": "USD",
  "name": "Acme LLC",
  "preview_url": "https://example.com/assets/acme-icon.png",
  "review": {
    "status": "in_review",
    "reason": "crawl_failed",
    "screenshot_url": "screenshot_url"
  },
  "timezone": "UTC",
  "url": "https://www.acme.example",
  "account_integrity_review": {
    "review": {
      "status": "in_review",
      "reason": "crawl_failed",
      "screenshot_url": "screenshot_url"
    },
    "details": {
      "decision": "decision",
      "reason": "reason",
      "status_updated_at": "status_updated_at"
    }
  },
  "account_name": "Acme US campaigns",
  "brand_name": "Acme",
  "creative_optimization_opt_in": true,
  "legal_name": "Acme LLC",
  "status": "active"
}