Google
Google ad API
Get a Google ad’s details. Call the Google ad API and get JSON back in one request. 1 credit per call. Failed calls cost nothing.
POST
Get a Google ad's details
Returns a Google ad’s details. The ad is identified by its URL or ID.
Request
Exactly one ofadUrl or adId is required. A request that sets both, or none, fails with invalidRequest.
Response
If successful, the response body contains the standard envelope.data contains the ad’s advertiser, format and creative, and the countries it ran in.
The following example is a real response, truncated: each list shows one item and long strings are cut.
For every field, see the response schema on this page.
Optional parameters
Billing
Each successful request consumes 1 credit, regardless of the number of items returned. Requests that fail, or that return no items, are not billed.Pagination
This method is not paginated. A single request returns the complete result.Related methods
- Google ads search: Accepts the
advertiserIdasadvertiser. Searches ads in the Google ads library.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Link to the Google Ads Transparency ad, like https://adstransparency.google.com/advertiser/AR18378488041124659201/creative/CR12345678901234567890. Send this or adId.
Google Ads Transparency ad id, like CR12345678901234567890. Send this or adUrl.
Advertiser id like AR18378488041124659201. Send it with adId; adUrl already has it.