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.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
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.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
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
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Google | $0.015 प्रति कॉल | JSON |
Google | $0.01 प्रति कॉल | JSON |
Google | $0.002 प्रति कॉल से | JSON |
Google | $0.0015 प्रति कॉल से | JSON |
Google | $0.01 प्रति कॉल | JSON |
Google | $0.01 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/google/ads-transparency पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.015 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
कोई parameters आवश्यक नहीं हैं। वैकल्पिक: text (string), advertiser_id (string), region (string), political_ads (boolean), platform (string) और creative_format (string) और 4 और। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Google Ads Transparency Center SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Google API access के लिए आवेदन करने की आवश्यकता नहीं है।