API · Google Ads Transparency Center
GET /googleads/ads
The ads of a Google advertiser or website, 40 a page, by region, platform, format and dates.
| Request | GET /v1/googleads/ads |
| Operation id | googleads.ads.list |
| Cost | 2 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
The ads of a Google advertiser or website, 40 a page, by region, platform, format and dates.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
advertiser_id | string | no | Advertiser id (AR…) or its Center URL. |
domain | string | no | Advertised website, e.g. nike.com. Example: nike.com. |
region | string | no | ISO 3166-1 alpha-2 country where the ads were shown (US, GB…). Default: anywhere. |
platform | "google_play" | "google_maps" | "google_search" | "google_shopping" | "youtube" | no | One of google_play, google_maps, google_search, google_shopping, youtube. |
format | "text" | "image" | "video" | no | One of text, image, video. |
start_date | string | no | YYYY-MM-DD: ads shown on or after this day. |
end_date | string | no | YYYY-MM-DD: ads shown on or before this day. |
after | string | no | The previous page’s next_cursor. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | A page of ads, with the next cursor. | GoogleAdsPage |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The advertiser or ad is not in the Google Ads Transparency Center. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Google Ads Transparency Center is temporarily unavailable. Retryable; nothing was charged. | Error |
GoogleAdsPage fields
| Field | Type | Description |
|---|---|---|
ads | GoogleAd[] | |
ads_count | object | |
next_cursor | string | null | Pass as after for the next page. |
Errors use one shape everywhere; see Errors for every code and what to do.