Google Ads Advertiser Info API Documentation
Google Ads Advertiser Info API allows you to retrieve additional details about advertisers displayed in Google Search Ads, including advertiser name, location, and ad transparency links.
This API is complementary to the Google Search API and requires an advertiser_info_token obtained from Google Search results.
API Parameters
Search Query
-
- Name
-
advertiser_info_token - Required
- Required
- Description
-
To retrieve its value, follow these steps
- Perform a search using our Google Search API.
- Inspect and find the
advertiser_info_tokenfor each ad inside the ads block. - Use that token with this engine to retrieve ad advertiser info.
Engine
-
- Name
-
engine - Required
- Required
- Description
-
The
engineparameter specifies the engine to use for retrieving data. It must be set togoogle_ads_advertiser_info.
Api Key
-
- Name
-
api_key - Required
- Required
- Description
-
The
api_keyauthenticates your requests. You must include it either as a query parameter, likehttps://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY, or in the Authorization header asBearer YOUR_API_KEY.
Zero Data Retention
-
- Name
-
zero_retention - Enterprise Only
- Enterprise Only
- Required
- Optional
- Description
-
Set this parameter to
trueto disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.
API Examples
Full Response
https://www.searchapi.io/api/v1/search?advertiser_info_token=QWFJN1ZBMUk5QUwwbFRYMUIwVHRNTS1CSVRReTZTTHhieEdEcmJPOEZ0emtSUFZsYi1pZGIzWkJaaFNsc01GUGRlSmUycXlqMXM1STM4cXdueUEtQmhBc3hzai1EeXJLY1BOd2NUa3loSzhQS3NySkFDTk5xMmZobDNMWHY0VncwVjJzaDlWa3Jka3dPbnZKbl84am9sRVFuVVc0enM1eTAwVWlkV184dFIwd3lrUTFibm5vZ0IyeG5ET0hFVHo3TnZaeWJqdG5EaTFPeldqSEtreWpERUZHMy1fUWYza0FfQmZhYl9zWVNIUXR0ZThMU01BdTFVRERGX2RSLUhGdVlST0lpRWVTaDE5MXdEdw%3D%3D&engine=google_ads_advertiser_info
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_ads_advertiser_info",
"advertiser_info_token": "QWFJN1ZBMUk5QUwwbFRYMUIwVHRNTS1CSVRReTZTTHhieEdEcmJPOEZ0emtSUFZsYi1pZGIzWkJaaFNsc01GUGRlSmUycXlqMXM1STM4cXdueUEtQmhBc3hzai1EeXJLY1BOd2NUa3loSzhQS3NySkFDTk5xMmZobDNMWHY0VncwVjJzaDlWa3Jka3dPbnZKbl84am9sRVFuVVc0enM1eTAwVWlkV184dFIwd3lrUTFibm5vZ0IyeG5ET0hFVHo3TnZaeWJqdG5EaTFPeldqSEtreWpERUZHMy1fUWYza0FfQmZhYl9zWVNIUXR0ZThMU01BdTFVRERGX2RSLUhGdVlST0lpRWVTaDE5MXdEdw=="
}
response = requests.get(url, params=params)
print(response.text)
{
"advertiser_info": {
"id": "AR04420585984077332481",
"name": "NETWORK GUARD PTE. LTD.",
"location": "Singapore",
"link": "https://adstransparency.google.com/advertiser/AR04420585984077332481?origin=ata"
}
}