textstring
free-text advertiser or domain to search for. Supply either this OR advertiser_id — neither is individually mandatory but one is needed
https://api.sandbase.ai/v1/api/google/ads-transparencyAds an advertiser is running on Google, from the Ads Transparency Center: creatives, formats, first and last shown dates.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
Returns a list of ad creatives shown on Google for an advertiser or domain, taken from the Google Ads Transparency Center. Each creative includes the advertiser, format, first and last shown timestamps, and a preview link. Send a domain or advertiser name in text, or one or more IDs in advertiser_id.
creative_format to review only video or text ads.advertiser_id values to look up one advertiser's full ad history.curl -X POST "https://api.sandbase.ai/v1/api/google/ads-transparency" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"text": "apple.com"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
advertiser_id | string | No | a specific advertiser id, or several comma-separated |
creative_format | string | No | text / image / video |
end_date | string | No | YYYYMMDD |
next_page_token | string | No | cursor from the previous response's serpapi_pagination |
num | integer | No | results to return; default 40. Unlike engine=google, num IS documented here |
platform | string | No | where the ad ran: PLAY / MAPS / SEARCH / SHOPPING / YOUTUBE |
political_ads | boolean | No | restrict to political advertising; forces region to be set |
region | string | No | geographic region the search originates from. REQUIRED when political_ads is true |
start_date | string | No | YYYYMMDD |
text | string | No | free-text advertiser or domain to search for. Supply either this OR advertiser_id — neither is individually mandatory but one is needed |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"ad_creatives": [
{
"ad_creative_id": "CR01913929004390285313",
"advertiser": "Optimum Media Direction (Thailand) Co., Ltd",
"advertiser_id": "AR03550249516248596481",
"details_link": "https://adstransparency.google.com/advertiser/AR03550249516248596481/creative/CR…",
"first_shown": 1792688520,
"format": "video",
"last_shown": 1793690110,
"link": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?client=a…",
"target_domain": "apple.com",
"total_days_shown": 12
}
],
"search_information": {
"total_results": 300000
}
}
| Field | Meaning |
|---|---|
ad_creatives[] | List of ad creatives that match the search. |
ad_creatives[].ad_creative_id | Identifier of one creative. It starts with CR. |
ad_creatives[].advertiser / ad_creatives[].advertiser_id | Name of the advertiser that ran the ad and its ID, which starts with AR. Use the ID in advertiser_id for later searches. |
ad_creatives[].format | Creative type, such as video or text. |
ad_creatives[].first_shown / ad_creatives[].last_shown | Unix timestamps in seconds for when the creative was first and last shown. |
ad_creatives[].total_days_shown | Number of days the creative was shown. |
ad_creatives[].target_domain | Domain the ad is tied to, such as apple.com. |
ad_creatives[].details_link | Link to the creative's page in the Ads Transparency Center. |
ad_creatives[].image / ad_creatives[].link / ad_creatives[].width / ad_creatives[].height | Preview image URL or preview content URL for the creative, with pixel size when given. Text and image creatives carry image, width and height. The video creative carries link. |
search_information.total_results | Total number of creatives that match the search. |
text or advertiser_id. One of the two is needed.region when political_ads is true.num to set how many results to return. Pass next_page_token from the previous response's pagination data to get the next page.start_date and end_date as YYYYMMDD.$0.015 per successful call. Failed calls are not charged.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
curl -X POST "https://api.sandbase.ai/v1/api/google/ads-transparency" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "apple.com"
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
textstringfree-text advertiser or domain to search for. Supply either this OR advertiser_id — neither is individually mandatory but one is needed
advertiser_idstringa specific advertiser id, or several comma-separated
regionstringgeographic region the search originates from. REQUIRED when political_ads is true
political_adsbooleanrestrict to political advertising; forces `region` to be set
platformstringwhere the ad ran: PLAY | MAPS | SEARCH | SHOPPING | YOUTUBE
creative_formatstringtext | image | video
start_datestringYYYYMMDD
end_datestringYYYYMMDD
numintegerresults to return; default 40. Unlike engine=google, `num` IS documented here
next_page_tokenstringcursor from the previous response's serpapi_pagination
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
Google Ads Transparency CenterEsta API Google | $0.015 por chamada | JSON |
Google | $0.01 por chamada | JSON |
Google | A partir de $0.002 por chamada | JSON |
Google | A partir de $0.0015 por chamada | JSON |
Google | $0.01 por chamada | JSON |
Google | $0.01 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/google/ads-transparency com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
$0.015 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Nenhum parâmetro é obrigatório. Opcionais: text (string), advertiser_id (string), region (string), political_ads (boolean), platform (string) e creative_format (string) e mais 4. A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Não. Google Ads Transparency Center funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Google separadamente.