Piloterr

Google Ads Transparency Ad

GET
/v2/googleadstransparency/ad

Get one Google Ads Transparency creative by URL: dates, impressions, platforms, regions, and the text read from the preview image (2 credits).

Credit cost: 2 credits per call

Autorisierung

ApiKeyAuth
headerx-api-key<token>

Your API key. Include it in the x-api-key header for every request.

Abfrageparameter

query*string

Creative URL from search.

Example:

https://adstransparency.google.com/advertiser/AR10904289436120383489/creative/CR10927354991047868417?region=FR
region?string

ISO alpha-2. The matching region is returned first.

Example:

FR
fields?string

Comma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).

is_async?boolean

Run the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.

Defaultfalse
soft_fail?boolean

Return HTTP 200 even when the request fails; the error is in the error field of the body.

Defaultfalse

Antworttext

Successful response

application/json
  1. response
url?string
format?string
regions?array<>
video_id?unknown
image_url?unknown
platforms?array<unknown>
last_shown?unknown
variations?array<unknown>
creative_id?string
first_shown?unknown
image_width?unknown
preview_url?unknown
image_height?unknown
advertiser_id?string
creative_text?unknown
last_shown_at?unknown
first_shown_at?unknown
advertiser_name?string
impressions_max?unknown
impressions_min?unknown
Example Request
curl -X GET 'https://api.piloterr.com/v2/googleadstransparency/ad?query=string'
Example Response
{  "url": "https://adstransparency.google.com/advertiser/AR10904289436120383489/creative/CR10927354991047868417?region=FR",  "format": "text",  "regions": [    {      "region": "FR",      "platforms": [],      "last_shown": null,      "first_shown": null,      "region_code": 2250,      "impressions_max": null,      "impressions_min": null    }  ],  "video_id": null,  "image_url": null,  "platforms": [],  "last_shown": null,  "variations": [],  "creative_id": "CR10927354991047868417",  "first_shown": null,  "image_width": null,  "preview_url": null,  "image_height": null,  "advertiser_id": "AR10904289436120383489",  "creative_text": null,  "last_shown_at": null,  "first_shown_at": null,  "advertiser_name": "WebAPI Group",  "impressions_max": null,  "impressions_min": null}