Google advertiser's ads API
Get an advertiser's ads from the Google Ads Transparency Center, by the advertiser's ID: format (text, image, video), when each was first and last shown, and a picture of it; can be limited to a country and to one format. 40 ads a page; what an ad says and where it leads come from the Google ad capability. Up to 40 items a call; $0.0020 per call. Errors and timeouts are not charged.
id is in the link: adstransparency.google.com/advertiser/<id>/creative/CR13384474926044413953.Try it
Change a value and the request on the right follows.Sign in to run it; it runs on your own balance. New accounts can try this endpoint free, up to 50 calls.
curl -G "https://onefeedapi.com/v1/google/advertisers/ads/list" \ --data-urlencode "id=AR16735076323512287233" \ -H "Authorization: Bearer $ONEFEED_API_KEY"
{
"code": "ok",
"request_id": "b9918ef3-6208-4850-af75-8aeda3dd491a",
"data": {
"items": [
{
"id": "AR14547762939695648498/CR16461126525097854516",
"url": "https://adstransparency.google.com/advertiser/AR14547762939695648498/creative/CR16461126525097854516",
"format": "image",
"advertiser": {
"id": "AR15686017776974616421",
"name": "Lumen Outdoor"
},
"images": [],
"first_shown_at": "2023-07-11T16:20:02.000Z",
"last_shown_at": "2026-10-12T21:35:00.000Z"
},
// … 39 more
]
},
"page": {
"next_cursor": "c1.1CWjCp9ZBAq_fgH7qoredLVGrA5b_HMkWHgRd8A0",
"cursor_expires_at": "2026-10-12T22:59:05.000Z",
"has_more": true,
"returned": 40
},
"warnings": [],
"meta": {
"capability": "google.advertisers.ads.list",
"result_status": "complete",
"fetched_at": "2026-10-12T21:59:05.000Z",
"cached": false,
"replayed": false,
"unavailable": {
"title": "capability",
"text": "capability",
"landing_url": "capability",
"advertiser.url": "platform",
"advertiser.avatar_url": "platform",
"videos": "capability"
},
"billing": {
"amount": "0.002",
"currency": "USD",
"balance_after": "9.998"
}
}
}From a response recorded 2026-10-12 21:59 UTC. Names, text and IDs are examples, and so are the links: none is the recorded one (the page shows no one's personal data); the figures are as recorded. Long lists are cut. The request ID, cursor and balance are made up.
Size as sent: 16.2 KB in the standard view (13.9 KB compact, 16.2 KB full).
{
"code": "ok",
"request_id": "89a061cf-793a-4c1e-aac3-675c2cfc4a90",
"data": { "items": [] },
"page": {
"next_cursor": null,
"cursor_expires_at": null,
"has_more": false,
"returned": 0
},
"warnings": [],
"meta": {
"capability": "google.advertisers.ads.list",
"result_status": "empty",
"fetched_at": "2026-10-12T21:58:31.000Z",
"cached": false,
"replayed": false,
"unavailable": {
"title": "capability",
"text": "capability",
"landing_url": "capability",
"advertiser.url": "platform",
"advertiser.avatar_url": "platform",
"videos": "capability"
},
"billing": {
"amount": "0.002",
"currency": "USD",
"balance_after": "9.998"
}
}
}From a response recorded 2026-10-12 21:58 UTC. The request ID and balance are made up.
Size as sent: 562 B in the standard view (562 B compact, 562 B full).
curl -G "https://onefeedapi.com/v1/google/advertisers/ads/list" \ --data-urlencode "id=AR16735076323512287233" \ -H "Authorization: Bearer $ONEFEED_API_KEY"
# pip install onefeedapi from onefeedapi import OneFeedAPI dx = OneFeedAPI() # reads ONEFEED_API_KEY result = dx.google.advertisers.ads.list(id="AR16735076323512287233") print(result["data"]["items"])
// npm i @onefeedapi/sdk import { OneFeedAPI } from "@onefeedapi/sdk"; const dx = new OneFeedAPI(); // reads ONEFEED_API_KEY const result = await dx.google.advertisers.ads.list({ id: "AR16735076323512287233" }); console.log(result.data.items);
onefeedapi call google.advertisers.ads.list id=AR16735076323512287233
{
"mcpServers": {
"onefeedapi": {
"type": "http",
"url": "https://onefeedapi.com/mcp",
"headers": {
"Authorization": "Bearer ${ONEFEED_API_KEY}"
}
}
}
}Add this to your MCP client, then ask your agent to call google.advertisers.ads.list.
Parameters
The advertiser's ID, AR and a string of digits; the Google advertiser search finds it by name. Example: AR16735076323512287233.
Only ads shown in this country or region, by its two-letter code; all of them when left out. Example: US.
Only ads of this format; all of them when left out. Values: text, image, video. Example: video.
Cursor returned by the previous page. Pass page.next_cursor of the page before, unchanged. Each page is charged as a call of its own.
How much of each item to return. All three cost the same. Values: compact, standard (default), full.
Return only these fields. Each by its path, such as author.name.
Known limits
- 40 items a page. The page size is the platform's;
limitis not accepted. - For the next page pass
page.next_cursorascursor; a cursor is valid for 1 hour.page.has_moreis false on the last page. - 6 fields of the object are not available from this endpoint
Returned fields
data.items is a list of ad objects. Preview: the structure may change, announced beforehand.
ID; pass it unchanged to the ad's get endpoint
The ad's page in the platform's ad library
Format of the creative; other is a format of the platform's ownvideoimagecarouseltextother
Headline
Body text
Long text: the compact view keeps the first 500 characters and says so in warnings.
Where a click on the ad leads
Show all 18 fields →
Advertiser
Advertiser ID
Advertiser's name
The advertiser's page on the platform
The advertiser's picture or logo
Addresses of the ad's images
Addresses of the ad's videos; they expire
When the ad was first shown
When the ad was last shown; for an ad still running, when the platform last saw it
Which numbers of this item are approximate or lower bounds; absent when all are exact
Path of the field, such as metrics.views
Approximate, or a lower boundapproximatelower_bound
Typical size of one item: compact 341 B, standard 401 B, full 401 B (measured on the response recorded 2026-10-12 21:59 UTC).
What this endpoint cannot give
titleNot provided heretextNot provided herelanding_urlNot provided hereadvertiser.urlThe platform has noneadvertiser.avatar_urlThe platform has nonevideosNot provided hereWhen you are charged
X-Max-Price to refuse anything above your own limit)Prices as read 2026-11-22 09:40 UTC, under price book 21, in effect since 2026-11-21 15:05 UTC; the Playground reads the price in force before a run.
If the object does not exist
An advertiser that does not exist cannot be told from one without ads: both return an empty result, not a 404.
Errors
What this endpoint can answer with; codes all endpoints share are on the full list.
invalid_paramsA parameter is invalidRetry: After a fixNocursor_mismatchThe cursor was issued for another endpoint or other parametersRetry: After a fixNoinsufficient_balanceThe balance is too lowRetry: After a fixNocursor_expiredThe cursor expired; start again from the first pageRetry: NoNoupstream_failedNo result came back this time and nothing was charged; retry shortlyRetry: YesNotimeoutThe data did not arrive in time; retry with the same idempotency keyRetry: YesNoQuestions
How much does the Google advertiser's ads API cost?
$0.0020 per call. The most one call can cost is $0.0020.
When am I not charged?
Errors and timeouts are not charged.
How many items does one call return, and how do I get the next page?
40 items a page. The page size is the platform's; limit is not accepted. For the next page pass page.next_cursor as cursor; a cursor is valid for 1 hour. page.has_more is false on the last page.
What happens if the object does not exist?
An advertiser that does not exist cannot be told from one without ads: both return an empty result, not a 404.
30-day availability
100% of the time over the last 30 days, this endpoint was serving calls: at least one of its routes was taking them, so it was neither paused nor down.
A failed call is not charged.
Every endpoint's state now, and each incident with whether anyone was charged: the status page →
The same thing on other platforms
All 3 Google Ads endpoints
Use it in your AI
Copy this prompt
Your API key is built in, so there is nothing to configure.
No account yet? Sign-up takes an email and no card, and a failed call is never charged.
Paste it into your agent
It reads the page the prompt points to and connects itself.
Now ask something
Use one of these, or your own words.
Prefer to set it up by hand?
onefeedapi setupgives the agents on your machine (Claude Code, Codex, Cursor) the OneFeedAPI MCP server and the base skill. The key is read from ONEFEED_API_KEY; none is written into a file.MCP server: https://onefeedapi.com/mcp. The entry for your client is under MCP in the request examples of this page; then ask your agent to call google.advertisers.ads.list.Other clients →Show the text
Use the OneFeedAPI endpoint google.advertisers.ads.list (Google advertiser's ads). Get an advertiser's ads from the Google Ads Transparency Center, by the advertiser's ID: format (text, image, video), when each was first and last shown, and a picture of it; can be limited to a country and to one format. 40 ads a page; what an ad says and where it leads come from the Google ad capability. Call GET https://onefeedapi.com/v1/google/advertisers/ads/list with the header "Authorization: Bearer $ONEFEED_API_KEY". Read the key from the environment variable ONEFEED_API_KEY; never write it into code. Parameters: - id (required): The advertiser's ID, AR and a string of digits; the Google advertiser search finds it by name. Example: AR16735076323512287233. - region: Only ads shown in this country or region, by its two-letter code; all of them when left out. Example: US. - type: Only ads of this format; all of them when left out. Values: text, image, video. Example: video. - cursor: Cursor returned by the previous page. Pass page.next_cursor of the page before, unchanged. Each page is charged as a call of its own. - view: How much of each item to return. All three cost the same. Values: compact, standard (default), full. - fields: Return only these fields. Each by its path, such as author.name. Price: $0.0020 per call. Errors and timeouts are not charged. The answer is JSON: data.items holds ad; meta.billing.amount is what this call was charged. Example: curl -G "https://onefeedapi.com/v1/google/advertisers/ads/list" \ --data-urlencode "id=AR16735076323512287233" \ -H "Authorization: Bearer $ONEFEED_API_KEY" Full reference in Markdown: https://onefeedapi.com/apis/google/advertisers/ads/list.md
Names and identifiers
- In Chinese
- Google 广告主的广告 API
- Endpoint ID
google.advertisers.ads.list- Endpoint
GET /v1/google/advertisers/ads/list
Start with one key.
253 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.