Call it
curl https://api.peume.com/v1/call/google-ads-look-up-advertiser-creatives \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"end_date": "your end date",
"political_ads": "your political ads"
}
}'const res = await fetch("https://api.peume.com/v1/call/google-ads-look-up-advertiser-creatives", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"end_date": "your end date",
"political_ads": "your political ads"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-ads-look-up-advertiser-creatives",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"end_date": "your end date",
"political_ads": "your political ads"
}
},
)
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-look-up-advertiser-creatives.
Parameters
end_datestringThe end date for which you want the search results to conclude. The format for this field is `YYYYMMDD`. Example: `20221231` To set the date for **Today / Single Day**, you should set `end_date` as `start_date` + `1 day`.
political_adsstringThe parameter determine if the advertiser promotes political advertisement. Political advertisement is a different category than regular advertisements, and will not appear on the results unless this parameter is set to `true`. If this parameter is set to `true`, only political advertisements will appear on the results. By default it is `false`. This parameter can only be used alongside with the `region` parameter.
get_advertiserstringWhether to fetch the advertiser details (legal name and country of registration). When set to `true`, an additional request is made and the `advertiser` block is included in the results. By default it is `false`. This parameter can only be used with a single `advertiser_id`.
next_page_tokenstringThe next page token. It is used for retrieving the next page results.
creative_formatstringThe format you want to filter by. Only search results with a similar format will be returned. Available options: `text` - Text `image` - Image `video` - Video
numstringThe maximum number of results to return. (e.g., `40` (default) returns `40` results and `100` returns `100` results).
textstringThe text you want to search, typically related to a domain search within the context of Google Ads. You can use anything that you would normally use in a standard Google Ads Transparency Center search. It can be used as an alternative to `advertiser_id`. The `advertiser_id` can be optional when `text` is present.
regionstringFrom where you want the search to originate. By default it search results from anywhere. Head to the Google Ads Transparency Center Regions for a full list of supported regions.
json_restrictorstringThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
platformstringThe target platform where ads are displayed. When not set, it will return results from all platforms (default). Available options: `PLAY` - Google Play `MAPS` - Google Maps `SEARCH` - Google Search `SHOPPING` - Google Shopping `YOUTUBE` - YouTube.
advertiser_idstringThe Google Advertiser ID. It can be found in the Ads Transparency Center advertiser URL. For example, the advertiser ID for the URL `https://adstransparency.google.com/advertiser/AR17828074650563772417` is `AR17828074650563772417`(Tesla Inc). It accepts either a single ID or multiple IDs separated by commas (`,`). Example, Single ID: `AR17828074650563772417` Multiple IDs: `AR17828074650563772417,AR03911981557522366465,...` Alternatively, `text` can be used for free-text search.
start_datestringThe start date for which you want the search results to begin. The format for this field is `YYYYMMDD`. Example: `20221201`
