Call it
curl https://api.peume.com/v1/call/google-advertiser-s-running-ads-ads-transparency-center \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"engine": "google_ads_transparency_center",
"text": "coffee",
"num": 10
}
}'const res = await fetch("https://api.peume.com/v1/call/google-advertiser-s-running-ads-ads-transparency-center", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"engine": "google_ads_transparency_center",
"text": "coffee",
"num": 10
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-advertiser-s-running-ads-ads-transparency-center",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"engine": "google_ads_transparency_center",
"text": "coffee",
"num": 10
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: google-advertiser-s-running-ads-ads-transparency-center.
Parameters
engineRequiredstringExample: google_ads_transparency_center
textstringfree-text advertiser or domain to search for. Supply either this OR advertiser_id — neither is individually mandatory but one is needed
Example: coffee
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
Example: 10
next_page_tokenstringcursor from the previous response's pagination
Other ways to do it
Same job, other sources, cheapest first.
