AdSense tools: every read and write tool the agent and MCP can call
13 read and 5 write tools. Read and write support for the operations listed.
Support and limitations
- Read and write support for the operations listed.
- Permissions: the connected login's role and the permissions it granted decide what each tool can read or change. A tool the login cannot use answers with what is missing; it never works around it.
- Approvals: in the app, changes wait for approval unless the task runs with auto-approve. Over MCP and REST they follow the credential's setting (an API key applies ordinary changes at once unless it is set to require approval; a third-party OAuth connection waits). 1 write is marked “Person approves”: it waits for a person on every lane — only the workspace's own OAuth app and an API key an admin set to apply changes you can't take back skip that wait. Forbidden Rules can block any of them.
- Operations the platform's API does not offer, and operations not in the catalog, are not available through these tools.
Read tools (13)
| Tool | What it does |
|---|---|
adsense__detect_anomalies | Detect earnings/traffic anomalies (spikes/drops vs weekday-aware baseline) — ESTIMATED_EARNINGS/PAGE_VIEWS/IMPRESSIONS/CLICKS daily. |
adsense__query_report | AdSense earnings report (estimated earnings, page views, impressions, clicks, RPM, CTR) by date/dimension incl.… |
adsense__list_accounts | List AdSense publisher accounts the login can access |
adsense__list_ad_units | List the AdSense ad units (per ad client): display name, state, type, size |
adsense__raw_get | RAW AdSense Management API v2 read — for anything the typed tools above do not cover. |
adsense__list_policy_issues | AdSense POLICY CENTER issues — per issue: site/uri, entityType (SITE/SITE_SECTION/PAGE), action (WARNED / AD_SERVING_RESTRICTED / AD_SERVING_DISABLED /… |
adsense__list_payments | AdSense PAYMENTS: the current UNPAID balance plus completed payment history (newest first). |
adsense__list_sites | AdSense SITES with their review state: READY (serving) / REQUIRES_REVIEW (NOT serving — waits on the publisher to request review) / GETTING_READY /… |
adsense__list_alerts | AdSense account ALERTS (payment holds, invalid-traffic notices, verification prompts): severity (SEVERE/WARNING/INFO), type, message. |
adsense__get_account_health | Account health in ONE read: account state (READY / NEEDS_ATTENTION / GETTING_READY) + pendingTasks, the alerts AdSense raises (payment hold, PIN / tax /… |
adsense__list_custom_channels | AdSense CUSTOM CHANNELS of an ad client (name, displayName, active, reportingDimensionId for the CUSTOM_CHANNEL_ID report filter). |
adsense__list_url_channels | AdSense URL CHANNELS (read-only in v2 — created in the UI): uriPattern + reportingDimensionId. |
adsense__get_ad_code | The ad TAG (adCode + AMP head/body) for one ad unit — the snippet that goes on the page. |
Write tools (5)
A write marked “Person approves” waits for a person on every lane; the others follow the approval setting of the app or the credential.
| Tool | Approval | What it does |
|---|---|---|
adsense__create_ad_unit | Approval setting | Create an AdSense ad unit (created ACTIVE): displayName, size? |
adsense__update_ad_unit | Approval setting | Edit an AdSense ad unit: adUnit (full name), displayName?, state? |
adsense__create_custom_channel | Approval setting | Create an AdSense custom channel (a reporting group): displayName, active? |
adsense__update_custom_channel | Approval setting | Rename or (de)activate a custom channel: customChannel (full name), displayName?, active?. |
adsense__delete_custom_channel | Person approves | DESTRUCTIVE (a person approves it on every lane): delete a custom channel — no undelete; historical rows stay, the grouping is lost. |
Authorized raw requests
adsense__raw_request sends a request in AdSense's own API format, with the connection's credentials injected and the path bound to the connected account. It needs the tools:raw scope. Reads run at once; a change waits for a person unless the credential is an API key whose raw writes an admin pre-authorized, or the workspace's own OAuth app — except a permanent delete, which always waits for a person, and a call the platform's fences refuse, which is never sent.
Related pages
Frequently asked questions
- How many AdSense tools are there?
- 18: 13 read and 5 write, of which 1 always wait for a person. The list on this page is the complete catalog for AdSense.
- Can an agent call the AdSense API directly?
- adsense__raw_request sends a request in AdSense's own API format, with the connection's credentials injected and the path bound to the connected account. It needs the tools:raw scope. Reads run at once; a change waits for a person unless the credential is an API key whose raw writes an admin pre-authorized, or the workspace's own OAuth app — except a permanent delete, which always waits for a person, and a call the platform's fences refuse, which is never sent.