GroundsocialDocs

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.

RequestGET /v1/googleads/ads
Operation idgoogleads.ads.list
Cost2 credits, refunded if the call fails
AuthAPI 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

NameTypeRequiredDescription
advertiser_idstringnoAdvertiser id (AR…) or its Center URL.
domainstringnoAdvertised website, e.g. nike.com. Example: nike.com.
regionstringnoISO 3166-1 alpha-2 country where the ads were shown (US, GB…). Default: anywhere.
platform"google_play" | "google_maps" | "google_search" | "google_shopping" | "youtube"noOne of google_play, google_maps, google_search, google_shopping, youtube.
format"text" | "image" | "video"noOne of text, image, video.
start_datestringnoYYYY-MM-DD: ads shown on or after this day.
end_datestringnoYYYY-MM-DD: ads shown on or before this day.
afterstringnoThe previous page’s next_cursor.

Responses

StatusMeaningSchema
200A page of ads, with the next cursor.GoogleAdsPage
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404The advertiser or ad is not in the Google Ads Transparency Center.Error
429Too many requests. Wait for Retry-After seconds.Error
503Google Ads Transparency Center is temporarily unavailable. Retryable; nothing was charged.Error

GoogleAdsPage fields

FieldTypeDescription
adsGoogleAd[]
ads_countobject
next_cursorstring | nullPass as after for the next page.

Errors use one shape everywhere; see Errors for every code and what to do.