Get ad account metadata
Fetch metadata for the current ad account.
GET /ad_account
This endpoint takes no request body or query parameters.
curl -X GET "https://api.ads.openai.com/v1/ad_account" \
-H "Authorization: Bearer $OPENAI_ADS_API_KEY"
{
"id": "act_123",
"name": "Acme Ads",
"url": "https://www.acme.example",
"preview_url": "https://preview.acme.example",
"timezone": "UTC",
"currency_code": "USD"
}
The response includes:
idfor the ad accountnamefor the display nameurlfor the primary destinationpreview_urlwhen a preview destination is availabletimezonefor the ad account timezonecurrency_codefor the account currency