List Ad Accounts
GET
/ad_accountsList ad accounts accessible to the authenticated API key
List Ad Accounts
curl https://api.ads.openai.com/v1/ad_accounts \
-H "Authorization: Bearer $OPENAI_ADS_API_KEY"200 — Example
{
"data": [
{
"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"
}
],
"object": "object",
"first_id": "first_id",
"has_more": true,
"last_id": "last_id"
}Returns Examples
200 — Example
{
"data": [
{
"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"
}
],
"object": "object",
"first_id": "first_id",
"has_more": true,
"last_id": "last_id"
}