The catalogue/Google Ads
Google Ads
app.google.ads
Report on Google Ads performance and manage campaigns, budgets and negative keywords
What it does
The app, in its own words.
Google Ads API (REST, v26): list the accounts a Google user can reach (including through manager accounts), report on account, campaign, ad group, ad, keyword and search term performance, run read-only GAQL queries, pause or enable campaigns and ad groups, change campaign budgets and add negative keywords. Writes that can spend money are marked destructive.
Tools
14 tools the agent can call.
Every one is declared with typed parameters and returns structured results, so the host can render them instead of narrating them.
- add-negative-keywordsAdd negative keywords to one campaign or one ad group so ads stop showing for those searches (it blocks traffic, never adds spend). Give exactly one of campaignId or adGroupId. keywords: up to 100 strings or { text, matchType } objects; matchType EXACT, PHRASE or BROAD (default matchType, EXACT if unset). Each keyword is added on its own: one that fails (for example a duplicate) does not stop the others. Returns { success, level, added: [{ text, matchType, resourceName }], failed: [{ text, matchType, error }], validateOnly }. Typical input: wasteful terms from get-search-terms-report. Removing negatives is done in the Google Ads UI.
- enable-ad-groupEnable (unpause) one ad group. AFFECTS SPEND: if its campaign is enabled, its ads start serving and spending right away. Returns { success, adGroupId, resourceName, status: "ENABLED", validateOnly }. Pass validateOnly: true for a dry run.
- enable-campaignEnable (unpause) one Google Ads campaign. AFFECTS SPEND: its ads start serving and it starts spending its budget right away. Confirm the campaign and its budget with the user first (list-campaigns shows both). Returns { success, campaignId, resourceName, status: "ENABLED", validateOnly }. Pass validateOnly: true for a dry run.
- get-account-summaryAccount details and total performance of one Google Ads account for a date range. Returns { customerId, name, currency, timeZone, testAccount, autoTaggingEnabled, dateRange, metrics: { impressions, clicks, ctr, averageCpc, cost, conversions, conversionsValue, costPerConversion } }. Money is in the account currency (not micros); ctr is a fraction (0.05 = 5%). Manager (MCC) accounts have no metrics of their own: use list-client-accounts and summarize a client instead.
- get-performance-reportPerformance report of one Google Ads account at campaign, ad group, ad or keyword level for a date range. Returns { level, currency, dateRange, rows: [{ ...ids, names and status of the entity, impressions, clicks, ctr, averageCpc, cost, conversions, conversionsValue, costPerConversion, date? }], limitApplied }. Money is in the account currency; ctr is a fraction. Rows are ordered by cost (or orderBy), highest first; entities without traffic in the range are left out (list-campaigns lists all campaigns). Removed entities are excluded. Filter with campaignId / adGroupId; segmentByDate: true gives one row per entity per day. For other breakdowns (device, network, geography) use run-gaql-query.
- get-search-terms-reportSearch terms report: the real queries people typed that triggered Search ads, with the keyword that matched and their performance. Returns { currency, dateRange, rows: [{ searchTerm, status, campaignId, campaignName, adGroupId, adGroupName, keyword, matchType, impressions, clicks, ctr, averageCpc, cost, conversions, conversionsValue, costPerConversion }], limitApplied }. status ADDED / EXCLUDED tells whether the term is already a keyword or a negative. Typical use: find terms with cost and no conversions, then block them with add-negative-keywords. Covers Search and Shopping campaigns (Performance Max search terms are not in this report); terms with very low volume are hidden by Google for privacy.
- list-accessible-customersList the Google Ads accounts the connected Google user can access directly. Start here. Returns { customers: [{ customerId, name, currency, timeZone, manager, testAccount, status }], total }. Details are fetched for the first 10 accounts; the rest are listed by customerId only (detailsLimited: true). Accounts with manager: true are MCC accounts: use list-client-accounts to see their clients, and pass the manager customerId as loginCustomerId when working on a client account.
- list-campaign-budgetsList the campaign budgets of one Google Ads account (not removed). Returns { currency, budgets: [{ budgetId, name, amount, period, deliveryMethod, shared, campaignCount, status }], limitApplied }. amount is in the account currency per period (DAILY for most budgets). A shared budget (shared: true, campaignCount > 1) is spent by several campaigns: changing it with update-campaign-budget changes all of them.
- list-campaignsList the campaigns of one Google Ads account with their settings, without metrics (campaigns that had no traffic are included). Returns { currency, campaigns: [{ campaignId, name, status, servingStatus, primaryStatus, channelType, biddingStrategyType, startDateTime, endDateTime, budgetId, dailyBudget }], limitApplied }. dailyBudget is in the account currency. Use the campaignId with get-performance-report, pause-campaign or enable-campaign, and the budgetId with update-campaign-budget.
- list-client-accountsList the client accounts under a manager (MCC) account, from the customer_client resource. Returns { managerId, loginCustomerId, clients: [{ customerId, name, manager, level, status, currency, timeZone, testAccount }], limitApplied }. To work on a client, call the other tools with customerId = the client and loginCustomerId = the returned loginCustomerId. Only enabled accounts by default; at most 1000 per call.
- pause-ad-groupPause one ad group: its ads and keywords stop serving. Reversible with enable-ad-group. Returns { success, adGroupId, resourceName, status: "PAUSED", validateOnly }.
- pause-campaignPause one Google Ads campaign: its ads stop serving and it stops spending. Reversible with enable-campaign. Returns { success, campaignId, resourceName, status: "PAUSED", validateOnly }. Pausing an already paused campaign changes nothing.
- run-gaql-queryRun a read-only Google Ads Query Language (GAQL) SELECT query against one account (googleAds:search). Use it for anything the report tools do not cover, e.g. "SELECT campaign.name, segments.device, metrics.clicks FROM campaign WHERE segments.date DURING LAST_7_DAYS ORDER BY metrics.clicks DESC LIMIT 50". Returns { results: [...rows as Google returns them], rowCount, fieldMask, nextPageToken, limitApplied }. Rows use camelCase keys (metrics.costMicros); int64 values (ids, impressions, clicks, *Micros) are strings; money is in micros (divide by 1,000,000); fields at 0 or false are omitted. Always add a LIMIT: a page holds up to 10,000 rows and the result is cut at about 45,000 characters (limitApplied: true, no nextPageToken then; narrow the query). Field reference: https://developers.google.com/google-ads/api/fields/v26/overview
- update-campaign-budgetChange the amount of one campaign budget. AFFECTS SPEND: a higher budget lets the campaigns spend more from now on. amount is in the account currency per budget period (usually per day), NOT micros: 50 means 50.00. It is rounded to cents; currencies without cents (JPY) need whole amounts. A shared budget changes every campaign that uses it (campaignCount in the result). Returns { success, budgetId, name, previousAmount, newAmount, currency, period, campaignCount, validateOnly }. Get budgetId from list-campaigns or list-campaign-budgets. Pass validateOnly: true for a dry run.
Auth and permissions
What it asks for.
Declared in the manifest, in advance. The app cannot reach anything it did not ask for here.
Scopes
System secrets
Installation secrets
Reading further
The manifest and the source for Google Ads live in the repository, alongside the other apps.