Publisher

AI agent for Google Ad Manager: publisher revenue analysis

TL;DR

The agent reads your Google Ad Manager network — inventory structure and delivery — and can build ad-hoc custom reports (revenue, impressions, eCPM, fill rate) beyond whatever saved reports you already have. Reads and reports run freely; inventory writes exist — ad units, placements, custom targeting — and each pauses for your approval before it touches the ad server. Line-item delivery settings are not writable.

Availability
Available
Connection method
Provider sign-in (OAuth)

Can an AI agent work with Google Ad Manager?

Yes. Agent Planners connects to Google Ad Manager through the official API and gives the agent 18 read tools and 14 write tools. Available changes depend on account permissions and the connection’s approval policy. You can use the same tools in the app or from Claude, ChatGPT and Codex over MCP.

Connect Google Ad Manager and check permissions

  1. 1Open Integrations and click Connect on the Google Ad Manager card.
  2. 2Sign in with an account that has access to the network.
  3. 3Pick the network, then ask for the report you want.
The authorization asks for admanager — a single scope covering both reading and the approval-gated writes. A first goal worth typing: Which ad units lost the most revenue week over week, and is it fill or eCPM?

What the agent does with Google Ad Manager

  • Reads network, inventory (ad units) and delivery structure.
  • Builds ad-hoc custom reports on demand — revenue, impressions, eCPM, fill rate — by dimensions you ask for, not just pre-saved ones.
  • Cross-references publisher (GAM) revenue against advertiser (Google Ads) spend for businesses running both sides.
  • Lists, creates and edits placements (the ad-unit groups line items target); archiving a placement or replacing its ad units waits for a person.
  • Reports unified and first-look pricing rules by Ad Exchange impressions, revenue and eCPM. Google's Ad Manager API has no pricing-rule service, so the agent cannot create or change a pricing rule — do that in Ad Manager → Inventory → Pricing rules.

Example tasks for Google Ad Manager

Goal you'd typeWhat the agent does
"Build a report of eCPM and fill rate by ad unit for the last 30 days."Creates the ad-hoc report against those exact dimensions/metrics instead of you configuring one in the GAM UI.
"Which ad units had the biggest revenue drop week-over-week?"Pulls two windows of delivery data and surfaces the units with the largest decline.
"We run both Google Ads and house ad inventory — compare what we spend on Ads vs. what we earn from our own ad server."Reads both sides (GAM revenue, Ads spend) and lines them up for a combined view.

Guardrails

Inventory writes exist and every one pauses for a human decision: creating and updating ad units, placements and custom targeting keys/values. Line-item delivery settings are not writable. It reads inventory and delivery data and creates ad-hoc reports; changing the ad server itself stays a manual action in the GAM console.

Frequently asked questions

Can the agent change my GAM inventory or line items?
Inventory, yes — with approval: it can create and update ad units, placements and custom targeting, and each change is shown to you and runs only after you approve it (archiving waits for a person every time — auto-approve and API keys included — because it cannot be undone). Line-item delivery settings are not writable. It reads inventory/delivery data and builds ad-hoc reports; changes to the ad server itself are made manually in GAM.
What's the difference between Google Ad Manager and Google Ads?
Google Ads is the platform advertisers use to buy traffic. Google Ad Manager is the ad server publishers use to sell and serve their own inventory. This agent connects both, separately.
Can it build reports beyond what's already saved in GAM?
Yes — that's the main value here: ad-hoc custom reports on whatever dimensions and metrics you ask for, not limited to reports someone already saved.

Ad Manager tools the agent can use

The tool catalog lists 18 read tools and 14 write tools for Ad Manager — the same names MCP clients, the REST API and the in-app agent call. Read and write support for the operations listed.

This is every Ad Manager tool in the catalog. See every tool for Ad Manager (32) or browse the complete tool catalog.

Read (18 of 18)

  • Readadmanager__detect_anomalies

    Detect delivery anomalies (IMPRESSIONS/CLICKS daily vs weekday-aware baseline; pass explicit metrics for revenue enums).

  • Readadmanager__list_networks

    List Ad Manager networks (publisher ad server) the login can access

  • Readadmanager__run_adhoc_report

    Run an AD-HOC GAM report with your OWN dimensions + metrics (no saved report needed) — e.g. dimensions [DATE, AD_UNIT_NAME, SITE], metrics [IMPRESSIONS,…

  • Readadmanager__search_review_center_ads

    Search the programmatic ads served on a web property (Ad Review Center) so specific ones can be blocked.

  • Readadmanager__list_site_approvals

    GAM SITE APPROVAL — Ad Manager's policy feedback surface: per site url, approvalStatus (APPROVED|DISAPPROVED|REQUIRES_REVIEW|DRAFT|UNCHECKED),…

  • Readadmanager__list_child_publishers

    List MCM CHILD PUBLISHERS with onboarding readiness — per child: label (ALWAYS use this as the row identifier in tables/emails: it is displayName, falling…

  • Readadmanager__fetch_mcm_earnings

    MCM EARNINGS per CHILD publisher for one COMPLETE month: totalEarnings / childPayment / parentPayment / deductions, each.

  • Readadmanager__pricing_rule_report

    UNIFIED (or firstLook:true FIRST-LOOK) PRICING RULES by Ad Exchange impressions / revenue / average eCPM (network currency + time zone; default last 30 days).

  • Readadmanager__list_orders

    Direct-sold ORDERS: status, advertiser, flight (startTime/endTime, null when unlimited), impressionsDelivered + clicksDelivered (int64 on the wire, returned…

  • Readadmanager__list_line_items

    LINE ITEMS under the direct-sold orders: lineItemType, status, priority, flight, rate.

  • Readadmanager__list_reports

    List saved/available reports in an Ad Manager network

  • Readadmanager__run_report

    Run a saved Ad Manager report and fetch rows (impressions, clicks, CTR, eCPM, revenue).

  • Readadmanager__raw_get

    RAW Ad Manager API v1 read — for anything the typed tools above do not cover (networks, orders, lineItems, creatives, placements, companies, users, adUnits…).

  • Readadmanager__list_ad_units

    List Ad Manager AD UNITS — the inventory/DEPLOYMENT config (hierarchy path, configured creative sizes, AdSense-enabled, status).

  • Readadmanager__list_placements

    GAM PLACEMENTS (named groups of ad units that line items target): name, displayName, placementCode, status, targetedAdUnits.

  • Readadmanager__list_custom_targeting_keys

    GAM CUSTOM TARGETING KEYS (key-values for line-item targeting and reporting): adTagName (≤10 chars, immutable), displayName, type (PREDEFINED|FREEFORM),…

  • Readadmanager__list_custom_targeting_values

    GAM CUSTOM TARGETING VALUES, optionally under one key: adTagName, displayName, matchType, status.

  • Readadmanager__list_companies

    GAM COMPANIES (advertisers / agencies / partners / child publishers): displayName, type, creditStatus, email.

Write (14 of 14)

  • Writeadmanager__create_ad_unit

    Create a GAM ad unit under a parent.

  • Writeadmanager__mutate_ad_unit

    Edit a GAM ad unit's displayName/adUnitSizes/appliedAdsenseEnabled.

  • Writeadmanager__block_review_center_ads

    Block (or allow) specific Ad Review Center ads by resource name — the ONLY ad-blocking surface in GAM REST v1 (there is NO URL-blocklist or…

  • Writeadmanager__set_ad_unit_status

    Batch activate | deactivate | archive ad units: adUnitIds[] (≤100), action.

  • Writeadmanager__create_placement

    Create a placement: displayName (≤255), description?, adUnitIds?

  • Writeadmanager__mutate_placement

    Patch a placement: placementId, displayName?, description?, adUnitIds?

  • Writeadmanager__set_placement_status

    Batch activate | deactivate | archive placements: placementIds[] (≤100), action.

  • Writeadmanager__create_custom_targeting_key

    Create a custom targeting key: adTagName (≤10, immutable), displayName?, type?

  • Writeadmanager__create_custom_targeting_value

    Create a value under a key: keyId, adTagName (the value), displayName?, matchType?

  • Writeadmanager__set_custom_targeting_status

    Batch activate | deactivate custom targeting keys or values: kind (key|value), ids[] (≤100), action.

  • Writeadmanager__set_order_status

    Batch order lifecycle: orderIds[] (≤100), action = pause | resume | archive | unarchive | approve | submit_for_approval | retract | disapprove.

  • Writeadmanager__create_site

    Add a site as DRAFT: url (bare domain), childNetworkCode?

  • Writeadmanager__submit_sites_for_approval

    Submit draft sites to Google's review: siteIds[] (≤100).

  • Writeadmanager__create_company

    Create a company record for orders to reference: displayName, type (ADVERTISER | AGENCY | HOUSE_ADVERTISER | HOUSE_AGENCY | AD_NETWORK | PARTNER |…

Authorized raw requests

admanager__raw_request sends a request in Ad Manager'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.

Limitations

  • 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). Forbidden Rules can block any of them.
  • Unified pricing rules have no API: the agent reports on them and they are changed in Ad Manager.
  • Operations the platform's API does not offer, and operations not in the catalog, are not available through these tools.

At most 40 tools are listed on this page. Read more about how changes are approved.

Check access to Google Ad Manager

Use the setup guide to check account eligibility, permissions and available operations. 4,400 one-time free credits and plan details.

Related platforms

How the agent works