Data APIs ยท Google Ads
Google Ads data APIs for AI agents
morigraph has 4 Google Ads data APIs that Claude, ChatGPT, Cursor, Codex or your own code can call, including transparency, ad details, advertiser search and company ads. You need no Google Ads developer account or API key, only one morigraph connection. Calls cost from 0.013 credits, about $1.30 for 1,000 calls, paid from one balance.
- APIs
- 4
- Price
- 0.013 to 0.434 credits a call
- Call it from
- MCP, command line and HTTP API
- Needs
- One morigraph connection. No Google Ads account or API key
Three ways to call it
Every data API is run by one tool, data_api, with the API's id and its arguments. The example is Google Ads Transparency.
In your assistant (MCP). Connect once, then ask in plain words
claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp
Use morigraph's Google Ads Transparency data API with {"limit":3,"url":"https://adstransparency.google.com/?region=US&domain=nike.com"} and summarise what comes back.From a terminal or script (CLI)
npx @morigraph/cli@latest login
morigraph call data_api --json-args '{"api":"google_ads.search","input":{"limit":3,"url":"https://adstransparency.google.com/?region=US&domain=nike.com"}}'From your own code (HTTP API)
curl https://api.morigraph.com/v1/tools/data_api \
-H "Authorization: Bearer $MORIGRAPH_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"google_ads.search","input":{"limit":3,"url":"https://adstransparency.google.com/?region=US&domain=nike.com"}}'4 Google Ads data APIs
| API | Id | Price |
|---|---|---|
| Google Ads Transparency | google_ads.search | 0.434 credits a call |
| Google Ads Ad Details | google_ads.ad_details | 0.023 credits a call |
| Google Ads Advertiser Search | google_ads.advertiser_search | 0.022 credits a call |
| Google Ads Company Ads | google_ads.company_ads | 0.013 credits a call |
Google Ads Transparency
Pull the ads an advertiser is running from the Google Ads Transparency Center (creative details, formats, run dates, and headline and text where Google publishes them) as clean JSON. Each ad's detail page is read, so a 20-ad call can take a minute or more; many text ads come back only as an image of the ad.
| Argument | Type | Required | What it is |
|---|---|---|---|
limit | integer | no | Maximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less. |
url | string | yes | A Google Ads Transparency Center URL for a selected advertiser or domain (e.g. https://adstransparency.google.com/advertiser/AR01614014350098432001?region=US). |
Returns advertiser advertiserId firstShownUtc format id lastShownUtc numServedDays previewUrl url variations
The call
data_api({"api":"google_ads.search","input":{"limit":3,"url":"https://adstransparency.google.com/?region=US&domain=nike.com"}})Google Ads Ad Details
Look up a single Google Ads Transparency Center creative by URL and get its format, run dates, impression range, regions, and creative variations as clean JSON.
| Argument | Type | Required | What it is |
|---|---|---|---|
url | string | yes | Google Ads Transparency Center creative URL (e.g. "https://adstransparency.google.com/advertiser/AR.../creative/CR..."). |
Returns advertiserId allText code creativeId description destinationUrl firstShown format headline imageUrl impressionsMax impressionsMin lastShown name regions url variations
The call
data_api({"api":"google_ads.ad_details","input":{"url":"https://adstransparency.google.com/advertiser/AR13309761427309854721/creative/CR00826878176251609089"}})Google Ads Advertiser Search
Search the Google Ads Transparency Center for advertisers by keyword and get matching advertiser IDs, regions, and estimated ad counts as clean JSON.
| Argument | Type | Required | What it is |
|---|---|---|---|
query | string | yes | Advertiser name or keyword to search for (e.g. "lululemon"). |
region | string | no | Two-letter country code to scope results (e.g. "AU", "CA"). Defaults to US. |
Returns adsEstimate advertiserId advertisers name region
The call
data_api({"api":"google_ads.advertiser_search","input":{"query":"lululemon"}})Google Ads Company Ads
List the ads a company is running from the Google Ads Transparency Center by domain or advertiser ID (creative ID, format, ad URL, and first/last shown dates) with cursor pagination.
| Argument | Type | Required | What it is |
|---|---|---|---|
advertiserId | string | no | Advertiser ID. Provide either domain or advertiserId. |
cursor | string | no | Opaque pagination cursor from a previous response's nextCursor. |
domain | string | no | Company domain (e.g. "lululemon.com"). Provide either domain or advertiserId. |
endDate | string | no | Only return ads first shown on or before this date, format YYYY-MM-DD (e.g. 2024-12-31). |
format | text | image | video | no | Ad format filter. |
platform | google_maps | google_play | google_search | google_shopping | youtube | no | Platform filter. |
region | string | no | Two-letter country code to scope results (e.g. "US", "AU"). |
startDate | string | no | Only return ads first shown on or after this date, format YYYY-MM-DD (e.g. 2024-01-01). |
topic | all | political | no | Search topic. "political" requires a region. |
Returns adUrl ads adsEstimate advertiserId advertiserName creativeId domain firstShown format imageUrl lastShown nextCursor
The call
data_api({"api":"google_ads.company_ads","input":{"domain":"lululemon.com"}})Good to know
- The price shown is the usual one. A call can cost more when the first source fails and another serves it; the most it can cost is shown beside each API, and
max_creditssets your own limit. - These APIs return public data. What you may do with it depends on the platform's terms and the privacy law where you operate, and that responsibility is yours.
- A failed call is not charged.
When to choose something else
Choose a provider that specialises in Google Ads data when you need it at high volume, on a schedule, or as bulk exports: you will get volume pricing and more control. Choose the platform's official API when you need data from your own account. These APIs are for an agent that needs an answer now, alongside other tools on the same balance.
Questions
Do I need a Google Ads API key or developer account?
No. morigraph supplies the access. You connect morigraph once to your assistant, or use one morigraph API key from your own code, and call any of the 4 APIs on this page.
What does Google Ads data cost through morigraph?
Between 0.013 and 0.434 credits a call depending on the API, where a credit is about 10 cents. That is from about $1.30 for 1,000 calls. You pay per call from one balance, with no separate subscription.
Can Claude, ChatGPT or Cursor get Google Ads data?
Yes. Add morigraph as an MCP server, sign in once, then ask in plain words. Your assistant finds the right API with one search and runs it with one call.
Which Google Ads data APIs are available?
Google Ads Transparency, Google Ads Ad Details, Google Ads Advertiser Search and Google Ads Company Ads.
Prices and availability read from the production service on . A credit is about 10 cents of tool use; see pricing. Your assistant can quote the exact cost before a paid call.