Look up Google ads
curl --request POST \
--url https://api.airscale.io/v1/google-ads \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"domain": "example.com"
}
'const url = 'https://api.airscale.io/v1/google-ads';
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({domain: 'example.com'})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://api.airscale.io/v1/google-ads"
payload = { "domain": "example.com" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"status": "success",
"country_code": "US",
"total_ad_count": "1",
"available_ads_in_response": 1,
"ads": [
{
"advertiser_id": "AR123",
"advertiser_name": "Example Company",
"creative_id": "CR456",
"original_url": "https://example.com/ads/CR456",
"start": "2026-01-01",
"last_seen": "2026-01-15",
"format_type": "Image",
"variants": [
{
"format": "Image",
"image": "https://example.com/ad-image.png",
"content": "<img src=\"https://example.com/ad-image.png\">"
}
]
}
],
"cached": false,
"credits_consumed": 1
}
Google Ads
Look up Google ads for a company domain. Rate limit: 2 requests per rolling second and 120 per rolling minute per workspace.
POST
/
v1
/
google-ads
Look up Google ads
curl --request POST \
--url https://api.airscale.io/v1/google-ads \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"domain": "example.com"
}
'const url = 'https://api.airscale.io/v1/google-ads';
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({domain: 'example.com'})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://api.airscale.io/v1/google-ads"
payload = { "domain": "example.com" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"status": "success",
"country_code": "US",
"total_ad_count": "1",
"available_ads_in_response": 1,
"ads": [
{
"advertiser_id": "AR123",
"advertiser_name": "Example Company",
"creative_id": "CR456",
"original_url": "https://example.com/ads/CR456",
"start": "2026-01-01",
"last_seen": "2026-01-15",
"format_type": "Image",
"variants": [
{
"format": "Image",
"image": "https://example.com/ad-image.png",
"content": "<img src=\"https://example.com/ad-image.png\">"
}
]
}
],
"cached": false,
"credits_consumed": 1
}
Look up Google ads for one company. Send exactly one
domain field: a bare hostname or HTTP(S) URL. Paths and queries are ignored after normalization. IP literals, credentials, non-default ports, and invalid domain labels are rejected. The JSON body must fit within 16 KiB.
Usage and credits
The limit is 2 requests per rolling second and 120 requests per rolling minute per workspace. You need at least 1 credit before a lookup can start. A valid result with a positivetotal_ad_count or a nonempty ads array costs 1 credit. A valid zero-ad result costs 0 credits. Read credits_consumed for the charge.
The endpoint returns the first page of up to 20 ads. total_ad_count can be larger than the returned ads array. If next_page_token is present, it is returned, but this endpoint does not accept a token or fetch later pages.
The response is a JSON object. Common fields are status, country_code, total_ad_count (often a numeric string), available_ads_in_response, ads, cached, and credits_consumed. Each ad can include advertiser_id, advertiser_name, creative_id, original_url, start, last_seen, format_type, and a variants array with creative content or image URLs. Fields may be absent or vary by ad format. Treat any HTML in variants[].content as untrusted.
Errors and retries
Invalid input returns400; insufficient credits returns 403; the workspace limit returns 429. Lookup failures return 502, configuration or settlement failures return 503, and lookup timeouts return 504. Failed lookups and valid zero-ad results do not consume credits.
There is no caller idempotency key. A retry can run another lookup and charge another credit if ads are found. A 503 after a completed lookup can mean credit settlement is uncertain; check your balance or contact support before retrying.
Next step
Review credit balance or rate limits before scheduling more lookups.Authorizations
Body
application/json
Bare company hostname or HTTP(S) URL. Whitespace is trimmed; hostname is lowercased and leading www. and trailing dot are removed. Paths and queries are ignored. IP literals, credentials, non-default ports, and invalid domain labels are rejected. Maximum JSON body size: 16 KiB (oversize returns 400).
Minimum string length:
1Response
First-page ad lookup result and credit cost. Additional fields may be present.