The ad account is read-only over the API. There is no create, update, or list operation — an organization always has a single default account, provisioned for you in the Thrad Platform dashboard.
Authorizations
Bearer token using your organization’s API key:
Authorization: Bearer ak_.... There is one active key per organization — create or rotate it in the Thrad Platform dashboard under Settings → API keys. Store it as the THRAD_ADS_API_KEY environment variable.Request
GET /v1/ad_account
This endpoint takes no path, query, or body parameters.
Response
The ad account’s identifier (a UUID). Use this value as
ad_account_id when creating a campaign for a non-default account; omit it to target the default account.Display name of the ad account. May be an empty string if no name is set.
The advertiser’s website URL. Falls back to your organization’s domain when the account has none, and may be an empty string if neither is set.
The account timezone. Always
"UTC" — all timestamps in the API are Unix seconds interpreted in UTC.The billing currency. Always
"USD".Optional. A URL to the account’s logo image, returned only when a logo has been set. Absent otherwise.
Errors
Errors use the bare error shape —{ "error": { "message", "type", "param", "code" } } — not the platform envelope.
| Status | Type | Code | When |
|---|---|---|---|
401 Unauthorized | authentication_error | auth_required | The Authorization header is missing entirely. |
401 Unauthorized | authentication_error | invalid_api_key | The Authorization: Bearer ak_... key is malformed, unknown, or revoked. |
429 Too Many Requests | rate_limit_error | rate_limit_exceeded | Exceeded the per-key limit of 1000 requests/hour. |
