Call it
curl https://api.peume.com/v1/call/google-ads-google-ad-library-company-ads-by-domain \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"domain": "lululemon.com",
"advertiser_id": "AR01614014350098432001",
"topic": "all",
"region": "US",
"start_date": "2025-08-01",
"end_date": "2025-08-11"
}
}'const res = await fetch("https://api.peume.com/v1/call/google-ads-google-ad-library-company-ads-by-domain", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"domain": "lululemon.com",
"advertiser_id": "AR01614014350098432001",
"topic": "all",
"region": "US",
"start_date": "2025-08-01",
"end_date": "2025-08-11"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-ads-google-ad-library-company-ads-by-domain",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"domain": "lululemon.com",
"advertiser_id": "AR01614014350098432001",
"topic": "all",
"region": "US",
"start_date": "2025-08-01",
"end_date": "2025-08-11"
}
},
)
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-ads-google-ad-library-company-ads-by-domain.
Parameters
domainstringThe domain of the company
Example: lululemon.com
advertiser_idstringThe advertiser id of the company
Example: AR01614014350098432001
topicstringThe topic to search for. If you search for 'political', you will also need to pass a 'region', like 'US' or 'AU'
Example: all
regionstringThe region to search for. Defaults to anywhere
Example: US
start_datestringStart date to search for. Format: YYYY-MM-DD
Example: 2025-08-01
end_datestringEnd date to search for. Format: YYYY-MM-DD
Example: 2025-08-11
platformstringPlatform to search for.
Example: youtube
formatstringAd format to search for.
Example: video
get_ad_detailsstringSet to true to get the ad details. Will cost 25 credits.
Example: false
cursorstringCursor to paginate through results
Example: CgoAP7znOo9RPjf%2FEhD5utgx8m75NrTTbU0AAAAAGgn8%2BJyW%2BJQK40A%3D
