Skip to main content
Glama
Google Ad Manager MCP Server

Google Ad Manager MCP Server

by MatiousCorp

Google Ad Manager MCP Server

PyPI version License: MIT Python 3.10+ MCP

Automate Google Ad Manager with AI. An MCP server that lets AI assistants like Claude, ChatGPT, Gemini, Cursor, and VS Code manage your ad campaigns, line items, creatives, and more through natural language.


Why This Exists

Managing Google Ad Manager is tedious. Creating campaigns, uploading creatives, and configuring line items involves countless clicks through a complex UI.

This MCP server changes that. Connect it to Claude and manage your entire ad operations through conversation:

  • "Create a new campaign for Nike ending December 31st"

  • "Upload all creatives from this folder and associate them with the Display line item"

  • "Check which orders are currently delivering"

No more clicking. Just tell Claude what you need.

Related MCP server: PaidSync MCP Server

Features

  • Order Management: List, create, and manage orders

  • Line Item Management: Create, duplicate, and configure line items

  • Creative Management: Upload images, associate with line items, bulk upload

  • Advertiser Management: Find, create, and list advertisers

  • Verification Tools: Verify line item setup, check delivery status

  • Campaign Workflow: Complete campaign creation in one operation

Installation

pip install google-ad-manager-mcp

Or with uv:

uv pip install google-ad-manager-mcp

From Source

git clone https://github.com/MatiousCorp/google-ad-manager-mcp.git
cd google-ad-manager-mcp
pip install -e .

Dependencies

  • FastMCP: MCP server framework with native middleware support

  • googleads: Google Ad Manager SOAP API client

Configuration

The server uses environment variables for configuration:

Variable

Description

Required

GAM_CREDENTIALS_PATH

Path to service account JSON

Yes

GAM_NETWORK_CODES

Comma-separated list of GAM network codes (first is the default)

Yes

GAM_MCP_TRANSPORT

Transport mode: stdio or http

No (default: stdio)

GAM_MCP_HOST

Server host (HTTP mode only)

No (default: 0.0.0.0)

GAM_MCP_PORT

Server port (HTTP mode only)

No (default: 8000)

GAM_MCP_AUTH_TOKEN

Authentication token (HTTP mode only)

No (auto-generated if not set)

Multi-Network Support

You can manage multiple GAM networks with a single server instance. List all network codes in GAM_NETWORK_CODES — the first one is the default:

export GAM_NETWORK_CODES="31083078,22706375620,98765432"

All tools accept an optional network_code parameter. When omitted, the first (default) network is used. The same service account credentials are shared across all networks — just ensure the service account email has been added as a user in each network.

For Claude Code MCP configuration:

{
  "google-ad-manager": {
    "command": "uvx",
    "args": ["google-ad-manager-mcp"],
    "env": {
      "GAM_CREDENTIALS_PATH": "/path/to/credentials.json",
      "GAM_NETWORK_CODES": "31083078,22706375620"
    }
  }
}

Authentication

The server implements Bearer token authentication using FastMCP native middleware, following MCP security best practices.

Security Features

  • FastMCP Native Middleware: Uses FastMCP 2.x middleware for proper MCP lifecycle management

  • Cryptographically secure tokens: Generated using secrets.token_hex(32)

  • Timing attack prevention: Uses constant-time comparison (hmac.compare_digest)

  • Tool-level authentication: Auth validated on every tool call

  • Audit logging: All authentication failures logged

How It Works

Authentication is enforced at the tool level using FastMCP's middleware system:

  • When a tool is called, the middleware validates the Authorization header

  • If no token is configured (GAM_MCP_AUTH_TOKEN not set), requests are allowed

  • Invalid or missing tokens return a ToolError with a helpful message

Setup

For remote deployments, set a fixed authentication token:

# Generate a secure token
python -c "import secrets; print(secrets.token_hex(32))"

# Set it as environment variable
export GAM_MCP_AUTH_TOKEN="your-generated-token"

If not set, a random token is generated at startup and displayed in the logs.

Clients must include the token in the Authorization header:

Authorization: Bearer your-generated-token

Endpoints

Endpoint

Description

/mcp

MCP protocol endpoint (auth validated on tool calls)

Running the Server

Local Development

# Using the installed command
gam-mcp

# Or directly with Python
python -m gam_mcp.server

# With custom configuration
GAM_NETWORK_CODE=12345678 GAM_MCP_PORT=9000 gam-mcp

Docker Deployment

The Docker image runs as a non-root user (appuser) for security.

Build the Image

docker build -t google-ad-manager-mcp .

Run the Container

# Basic usage with credentials mounted
docker run -d \
  --name gam-mcp \
  -p 8000:8000 \
  -v /path/to/your/credentials.json:/app/credentials.json:ro \
  -e GAM_NETWORK_CODE=YOUR_NETWORK_CODE \
  google-ad-manager-mcp

# With authentication token (recommended for production)
docker run -d \
  --name gam-mcp \
  -p 8000:8000 \
  -v /path/to/your/credentials.json:/app/credentials.json:ro \
  -e GAM_NETWORK_CODE=YOUR_NETWORK_CODE \
  -e GAM_MCP_AUTH_TOKEN=$(python -c "import secrets; print(secrets.token_hex(32))") \
  google-ad-manager-mcp

# With custom port
docker run -d \
  --name gam-mcp \
  -p 9000:8000 \
  -v /path/to/your/credentials.json:/app/credentials.json:ro \
  -e GAM_NETWORK_CODE=YOUR_NETWORK_CODE \
  -e GAM_MCP_PORT=8000 \
  google-ad-manager-mcp

View Logs

# View startup logs (includes generated auth token if not set)
docker logs gam-mcp

# Follow logs
docker logs -f gam-mcp

Docker Compose

Create a docker-compose.yml file:

version: '3.8'
services:
  gam-mcp:
    build: .
    ports:
      - "8000:8000"
    volumes:
      - ./credentials.json:/app/credentials.json:ro
    environment:
      - GAM_NETWORK_CODE=YOUR_NETWORK_CODE
      - GAM_MCP_AUTH_TOKEN=your-secure-token
    restart: unless-stopped

Run with:

docker-compose up -d

Verify the Container

# Check container is running
docker ps

# Test the endpoint
curl -X POST http://localhost:8000/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc": "2.0", "method": "initialize", "params": {"protocolVersion": "2024-11-05", "capabilities": {}, "clientInfo": {"name": "test", "version": "1.0"}}, "id": 1}'

Cloud Deployment (Railway, Fly.io, etc.)

  1. Set environment variables in your cloud provider:

    • GAM_CREDENTIALS_PATH: Path to credentials (or use secrets)

    • GAM_NETWORK_CODE: Your Ad Manager network code

    • GAM_MCP_AUTH_TOKEN: A secure authentication token

  2. Deploy using the included Dockerfile

Connecting to AI Assistants

The easiest way to use this server with Claude Desktop. Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "google-ad-manager": {
      "command": "uvx",
      "args": ["google-ad-manager-mcp"],
      "env": {
        "GAM_CREDENTIALS_PATH": "/path/to/your/credentials.json",
        "GAM_NETWORK_CODE": "YOUR_NETWORK_CODE"
      }
    }
  }
}

Claude Desktop (Docker)

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "google-ad-manager": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-e", "GAM_NETWORK_CODE",
        "-v", "/path/to/credentials.json:/app/credentials.json:ro",
        "google-ad-manager-mcp"
      ],
      "env": {
        "GAM_NETWORK_CODE": "YOUR_NETWORK_CODE"
      }
    }
  }
}

Claude Desktop (HTTP Mode)

If running the server in HTTP mode:

{
  "mcpServers": {
    "google-ad-manager": {
      "url": "http://localhost:8000/mcp"
    }
  }
}

Remote Server with Authentication

If deploying remotely with authentication enabled:

{
  "mcpServers": {
    "google-ad-manager": {
      "url": "https://your-server.com/mcp",
      "headers": {
        "Authorization": "Bearer your-secure-token"
      }
    }
  }
}

Other MCP Clients

This server works with any MCP-compatible client, including:

  • ChatGPT Desktop - OpenAI adopted MCP in March 2025

  • Cursor - AI-powered IDE with MCP support

  • VS Code - Via MCP extensions

  • Windsurf, Zed, Codeium - Various IDE integrations

Refer to each client's documentation for MCP server configuration.

Testing with MCP Inspector

# Without authentication
npx @modelcontextprotocol/inspector http://localhost:8000/mcp

# With authentication (set header in Inspector UI)
# Header: Authorization
# Value: Bearer your-token

Available Tools

Order Tools

Tool

Description

list_delivering_orders

List all orders with delivering line items

get_order

Get order details by ID or name

create_order

Create a new order

find_or_create_order

Find existing or create new order

Line Item Tools

Tool

Description

get_line_item

Get line item details

create_line_item

Create a new line item

duplicate_line_item

Duplicate an existing line item

update_line_item

Update line item properties (name, type, delivery rate, priority, cost, goal, end date)

list_line_items_by_order

List all line items for an order

pause_line_item

Pause a delivering line item

resume_line_item

Resume a paused line item

archive_line_item

Archive a line item

approve_line_item

Approve a line item (for approval workflows)

Creative Tools

Tool

Description

upload_creative

Upload an image creative

associate_creative_with_line_item

Associate creative with line item

upload_and_associate_creative

Upload and associate in one step

bulk_upload_creatives

Upload all creatives from a folder

get_creative

Get creative details

list_creatives_by_advertiser

List creatives for an advertiser

update_creative

Update creative destination URL or name

list_creatives_by_line_item

List creatives associated with a line item

create_third_party_creative

Create HTML/JavaScript ad tag (DCM, custom HTML)

get_creative_preview_url

Generate preview URL to see creative on your site

Advertiser Tools

Tool

Description

find_advertiser

Find advertiser by name

get_advertiser

Get advertiser details

list_advertisers

List all advertisers

create_advertiser

Create a new advertiser

find_or_create_advertiser

Find or create advertiser

Verification Tools

Tool

Description

verify_line_item_setup

Verify line item configuration

check_line_item_delivery_status

Check delivery progress

verify_order_setup

Verify entire order setup

Reporting Tools

Tool

Description

run_delivery_report

Generate delivery report (impressions, clicks, CTR, revenue)

run_inventory_report

Generate inventory report (ad requests, fill rate)

run_custom_report

Generate custom report with specified dimensions and metrics

Workflow Tools

Tool

Description

create_campaign

Complete campaign creation workflow

Example Usage with Claude

User: List all delivering orders

Claude: [Uses list_delivering_orders tool]
Here are the currently delivering orders:
1. Campaign IPhone 17 Pro 2025/2026 (ID: 123456)
   - Display line item: 45,000 impressions delivered

User: Create a new campaign for "ACME Corp" ending December 31, 2025

Claude: [Uses create_campaign tool]
I'll create the campaign with:
- Advertiser: ACME Corp
- Order: ACME Campaign 2025
- Line Item: Display
- End Date: December 31, 2025

Campaign created successfully!
- Order ID: 789012
- Line Item ID: 345678
- 4 creatives uploaded and associated

Development

Setup

# Clone the repository
git clone https://github.com/MatiousCorp/google-ad-manager-mcp.git
cd google-ad-manager-mcp

# Install with dev dependencies
pip install -e ".[dev]"

Running Tests

# Run all tests
pytest

# Run with coverage
pytest --cov=gam_mcp --cov-report=html

# Run specific test file
pytest tests/test_utils.py

Code Quality

# Run linter
ruff check .

# Run linter with auto-fix
ruff check . --fix

Roadmap

The following features are planned for future releases:

Near-term

  • Ad Unit Management - List, get, and create ad units with hierarchy support

  • Placement Management - Manage inventory placements and targeting

  • Forecast & Availability - Check inventory availability and forecast impressions

  • Creative Preview Links - Generate preview URLs for creative-line item combinations

Medium-term

  • Advanced Targeting - Geographic, device, daypart, and custom key-value targeting

  • Reporting Tools - Generate and retrieve performance reports

  • Bulk Operations - Batch updates for line items, creatives, and targeting

  • HTML5/Video Creatives - Support for rich media and video creative uploads

Long-term

  • Audience Management - Create and manage audience segments

  • User & Permissions - Manage users, roles, and order assignments

  • Yield Management - Configure yield groups and optimization

  • Custom Reporting - Scheduled reports with export capabilities

Community Requests

Have a feature request? Open an issue to suggest new functionality.

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines.

Changelog

See CHANGELOG.md for version history.

API Version

Uses Google Ad Manager SOAP API version v202502.

License

MIT - see LICENSE for details.


Need a Custom MCP Server?

This project is built and maintained by Matious.

We specialize in building custom AI tools and MCP servers that integrate with your existing systems. Whether you need to connect Claude to your CRM, ERP, ad platforms, or internal tools — we can help.

What we build:

  • Custom MCP servers for any API or platform

  • AI-powered automation workflows

  • Claude integrations for business operations

Get in touch: matious.com

Available Tools

35 tools
approve_line_itemA

Approve a line item that requires approval.

This is used when the approval workflow is enabled in Google Ad Manager. Line items in NEEDS_APPROVAL status can be approved to allow delivery.

Args: line_item_id: The line item ID to approve

Returns the result of the approve action including new status.

Inputs: line_item_id (required). Returns: result

archive_line_itemA

Archive a line item.

Archived line items are hidden from the default UI views but can still be retrieved via API. This is useful for cleaning up old campaigns. Note: This action cannot be undone via API.

Args: line_item_id: The line item ID to archive

Returns the result of the archive action including new status.

Inputs: line_item_id (required). Returns: result

associate_creative_with_line_itemC

Associate a creative with a line item.

Args: creative_id: The creative ID line_item_id: The line item ID size_override_width: Optional width for size override size_override_height: Optional height for size override

Returns the association details.

Inputs: creative_id (required), line_item_id (required), size_override_width, size_override_height. Returns: result

bulk_upload_creativesA

Upload all creatives from a folder and associate with a line item.

Args: folder_path: Path to folder containing image files advertiser_id: ID of the advertiser line_item_id: ID of the line item click_through_url: Destination URL when clicked name_prefix: Optional prefix for creative names

Supported formats: jpg, jpeg, png, gif. Returns results for all uploads.

Inputs: folder_path (required), advertiser_id (required), line_item_id (required), click_through_url (required), +1 more. Returns: result

check_line_item_delivery_statusB

Check detailed delivery status for a line item.

Args: line_item_id: The line item ID to check

Returns delivery progress including impressions, clicks, and goal progress.

Inputs: line_item_id (required). Returns: result

create_advertiserC

Create a new advertiser.

Args: name: Advertiser name email: Optional email address address: Optional address

Returns the created advertiser details.

Inputs: name (required), email, address. Returns: result

create_campaignA

Create a complete campaign: find/create advertiser, order, line item, and upload creatives.

Args: advertiser_name: Name of the advertiser order_name: Name for the order line_item_name: Name for the line item end_year: End date year end_month: End date month (1-12) end_day: End date day (1-31) creatives_folder: Path to folder containing creative images click_through_url: Destination URL for all creatives target_ad_unit_id: Ad unit ID to target (find via GAM UI or ad unit tools) goal_impressions: Impression goal (default: 100000) line_item_type: Type of line item (STANDARD, SPONSORSHIP, NETWORK, BULK, PRICE_PRIORITY, HOUSE, etc.) creative_sizes: JSON string of sizes, e.g. '[{"width": 300, "height": 250}, {"width": 728, "height": 90}]'

This is a complete workflow that:

  1. Finds or creates the advertiser

  2. Finds or creates the order

  3. Creates the line item

  4. Uploads all creatives from the folder

  5. Associates creatives with the line item

Returns complete campaign creation results.

Inputs: advertiser_name (required), order_name (required), line_item_name (required), end_year (required), +8 more. Returns: result

create_line_itemB

Create a new line item for an order.

Args: order_id: The order ID to add line item to name: Line item name end_year: End date year (e.g., 2025) end_month: End date month (1-12) end_day: End date day (1-31) target_ad_unit_id: Ad unit ID to target (find via GAM UI or ad unit tools) line_item_type: Type of line item. Valid types: - SPONSORSHIP: Guaranteed, time-based (100% share of voice) - STANDARD: Guaranteed, goal-based (specific number of impressions) - NETWORK: Non-guaranteed, run-of-network - BULK: Non-guaranteed, volume-based - PRICE_PRIORITY: Non-guaranteed, competes on price - HOUSE: Internal/house ads (lowest priority) - CLICK_TRACKING: For tracking clicks only - ADSENSE: AdSense backfill - AD_EXCHANGE: Ad Exchange backfill - BUMPER: Short video bumper ads - PREFERRED_DEAL: Programmatic preferred deals goal_impressions: Impression goal (default: 100000) creative_sizes: JSON string of sizes, e.g. '[{"width": 300, "height": 250}, {"width": 728, "height": 90}]' If not provided, uses defaults: 300x250, 300x600, 728x90, 1000x250 cost_per_unit_micro: Cost per unit in micro amounts (e.g., 1000000 = 1 MAD) currency_code: Currency code (default: MAD)

Returns the created line item details.

Inputs: order_id (required), name (required), end_year (required), end_month (required), +7 more. Returns: result

create_orderB

Create a new order for an advertiser.

Args: order_name: Name for the new order advertiser_id: ID of the advertiser company

Returns the created order details.

Inputs: order_name (required), advertiser_id (required). Returns: result

create_third_party_creativeA

Create a third-party creative (HTML/JavaScript ad tag).

Use this for DCM/Campaign Manager tags, custom HTML ads, or any third-party ad server tags that need to be served through Google Ad Manager.

Args: advertiser_id: ID of the advertiser name: Name for the creative width: Creative width in pixels height: Creative height in pixels snippet: The HTML/JavaScript code snippet (the ad tag) expanded_snippet: Optional expanded snippet for expandable creatives is_safe_frame_compatible: Whether the creative works in SafeFrame (default: True)

Returns the created creative details.

Inputs: advertiser_id (required), name (required), width (required), height (required), +3 more. Returns: result

duplicate_line_itemB

Duplicate an existing line item.

Args: source_line_item_id: ID of the line item to duplicate new_name: Name for the new line item rename_source: Optional new name for the source line item

Returns both the source and new line item details.

Inputs: source_line_item_id (required), new_name (required), rename_source. Returns: result

find_advertiserB

Find an advertiser by name (partial match).

Args: name: Advertiser name to search for

Returns list of matching advertisers.

Inputs: name (required). Returns: result

find_or_create_advertiserA

Find an advertiser by exact name or create if not found.

Args: name: Exact advertiser name email: Optional email (used if creating)

Returns the existing or newly created advertiser.

Inputs: name (required), email. Returns: result

find_or_create_orderB

Find an existing order by name or create a new one.

Args: order_name: Name of the order advertiser_id: ID of the advertiser company

Returns the existing or newly created order.

Inputs: order_name (required), advertiser_id (required). Returns: result

get_advertiserB

Get advertiser details by ID.

Args: advertiser_id: The advertiser/company ID

Returns advertiser details.

Inputs: advertiser_id (required). Returns: result

get_creativeB

Get creative details by ID.

Args: creative_id: The creative ID

Returns creative details including size and destination URL.

Inputs: creative_id (required). Returns: result

get_creative_preview_urlA

Get a preview URL for a creative associated with a line item.

This generates a preview URL that shows how the creative will appear on the specified site URL. The preview URL loads the site with the creative displayed in its ad slots.

Args: line_item_id: The line item ID creative_id: The creative ID site_url: The URL of the site where you want to preview the creative (e.g., "https://abc.com")

Returns the preview URL that can be opened in a browser.

Inputs: line_item_id (required), creative_id (required), site_url (required). Returns: result

get_line_itemB

Get line item details by ID.

Args: line_item_id: The line item ID

Returns line item details including status, dates, and statistics.

Inputs: line_item_id (required). Returns: result

get_orderB

Get order details by ID or name.

Args: order_id: The order ID (optional if order_name provided) order_name: The order name to search for (optional if order_id provided)

Returns order details including all line items.

Inputs: order_id, order_name. Returns: result

list_advertisersB

List all advertisers.

Args: limit: Maximum number of advertisers to return (default: 100)

Returns list of advertisers.

Inputs: limit. Returns: result

list_creatives_by_advertiserC

List creatives for an advertiser.

Args: advertiser_id: The advertiser ID limit: Maximum number of creatives to return (default: 100)

Returns list of creatives.

Inputs: advertiser_id (required), limit. Returns: result

list_creatives_by_line_itemB

List creatives associated with a line item.

Args: line_item_id: The line item ID limit: Maximum number of creatives to return (default: 100)

Returns list of creatives with their association status.

Inputs: line_item_id (required), limit. Returns: result

list_delivering_ordersB

List all orders with line items currently delivering ads.

Returns a list of orders with their delivering line items, including impression and click statistics.

Inputs: no named parameters. Returns: result

list_line_items_by_orderB

List all line items for an order.

Args: order_id: The order ID

Returns list of line items with their status and statistics.

Inputs: order_id (required). Returns: result

pause_line_itemA

Pause a delivering line item.

Pausing stops the line item from delivering ads. The line item can be resumed later with resume_line_item.

Args: line_item_id: The line item ID to pause

Returns the result of the pause action including new status.

Inputs: line_item_id (required). Returns: result

resume_line_itemA

Resume a paused line item.

Resuming allows a previously paused line item to start delivering ads again based on its schedule and targeting.

Args: line_item_id: The line item ID to resume

Returns the result of the resume action including new status.

Inputs: line_item_id (required). Returns: result

run_custom_reportA

Run a custom report with specified dimensions and metrics.

Args: dimensions: JSON array of dimension names, e.g. '["DATE", "ORDER_NAME", "LINE_ITEM_NAME"]' Valid dimensions: DATE, WEEK, MONTH_AND_YEAR, ORDER_ID, ORDER_NAME, LINE_ITEM_ID, LINE_ITEM_NAME, LINE_ITEM_TYPE, CREATIVE_ID, CREATIVE_NAME, CREATIVE_SIZE, ADVERTISER_ID, ADVERTISER_NAME, AD_UNIT_ID, AD_UNIT_NAME columns: JSON array of metric names, e.g. '["TOTAL_LINE_ITEM_LEVEL_IMPRESSIONS"]' Valid metrics: TOTAL_LINE_ITEM_LEVEL_IMPRESSIONS, TOTAL_LINE_ITEM_LEVEL_CLICKS, TOTAL_LINE_ITEM_LEVEL_CTR, TOTAL_LINE_ITEM_LEVEL_CPM_AND_CPC_REVENUE, TOTAL_LINE_ITEM_LEVEL_ALL_REVENUE, TOTAL_INVENTORY_LEVEL_IMPRESSIONS, TOTAL_AD_REQUESTS, TOTAL_RESPONSES_SERVED, TOTAL_FILL_RATE date_range_type: Date range (TODAY, YESTERDAY, LAST_WEEK, LAST_MONTH, LAST_3_MONTHS, REACH_LIFETIME, CUSTOM_DATE) start_year: Start year for CUSTOM_DATE range start_month: Start month (1-12) for CUSTOM_DATE range start_day: Start day (1-31) for CUSTOM_DATE range end_year: End year for CUSTOM_DATE range end_month: End month (1-12) for CUSTOM_DATE range end_day: End day (1-31) for CUSTOM_DATE range filter_statement: Optional filter (e.g., "ORDER_ID = 12345") timeout_seconds: Maximum seconds to wait for report completion

Returns report data with specified dimensions and metrics.

Inputs: dimensions (required), columns (required), date_range_type, start_year, +7 more. Returns: result

run_delivery_reportA

Run a delivery report for orders and line items.

Returns impressions, clicks, CTR, and revenue broken down by order and line item.

Args: date_range_type: Date range for the report. Valid values: - TODAY, YESTERDAY, LAST_WEEK, LAST_MONTH, LAST_3_MONTHS, REACH_LIFETIME - CUSTOM_DATE (requires start and end date parameters) start_year: Start date year (required if date_range_type is CUSTOM_DATE) start_month: Start date month 1-12 (required if date_range_type is CUSTOM_DATE) start_day: Start date day 1-31 (required if date_range_type is CUSTOM_DATE) end_year: End date year (required if date_range_type is CUSTOM_DATE) end_month: End date month 1-12 (required if date_range_type is CUSTOM_DATE) end_day: End date day 1-31 (required if date_range_type is CUSTOM_DATE) order_id: Optional order ID to filter by line_item_id: Optional line item ID to filter by include_date_breakdown: If True, includes daily breakdown (default: True) timeout_seconds: Maximum time to wait for report (default: 120)

Returns report data with impressions, clicks, CTR, and revenue statistics.

Inputs: date_range_type, start_year, start_month, start_day, +7 more. Returns: result

run_inventory_reportA

Run an inventory report for ad units.

Returns ad requests, impressions, and fill rate broken down by ad unit.

Args: date_range_type: Date range for the report (TODAY, YESTERDAY, LAST_WEEK, etc.) start_year: Start date year (for CUSTOM_DATE) start_month: Start date month 1-12 (for CUSTOM_DATE) start_day: Start date day 1-31 (for CUSTOM_DATE) end_year: End date year (for CUSTOM_DATE) end_month: End date month 1-12 (for CUSTOM_DATE) end_day: End date day 1-31 (for CUSTOM_DATE) ad_unit_id: Optional ad unit ID to filter by include_date_breakdown: If True, includes daily breakdown (default: True) timeout_seconds: Maximum time to wait for report (default: 120)

Returns report data with ad requests, impressions, and fill rate statistics.

Inputs: date_range_type, start_year, start_month, start_day, +6 more. Returns: result

update_creativeA

Update an existing creative's properties.

Args: creative_id: The creative ID to update destination_url: New destination/click-through URL for the creative name: New name for the creative

At least one of destination_url or name must be provided. Returns the updated creative details.

Inputs: creative_id (required), destination_url, name. Returns: result

update_line_item_nameC

Update a line item's name.

Args: line_item_id: The line item ID new_name: New name for the line item

Returns the updated line item details.

Inputs: line_item_id (required), new_name (required). Returns: result

upload_and_associate_creativeA

Upload a creative and associate it with a line item in one step.

Args: file_path: Path to the image file advertiser_id: ID of the advertiser line_item_id: ID of the line item click_through_url: Destination URL when clicked creative_name: Optional name for the creative

Returns the creative and association details.

Inputs: file_path (required), advertiser_id (required), line_item_id (required), click_through_url (required), +1 more. Returns: result

upload_creativeA

Upload an image creative to Ad Manager.

Args: file_path: Path to the image file advertiser_id: ID of the advertiser click_through_url: Destination URL when clicked creative_name: Optional name for the creative override_size_width: Optional width to override the creative size (for serving into a different sized slot) override_size_height: Optional height to override the creative size (for serving into a different sized slot)

The creative size is extracted from the filename (e.g., '300x250' in 'banner_300x250.png'). Use override_size_width and override_size_height together to serve a creative into a different sized placement (e.g., serve a 970x250 image into a 1000x250 slot).

Returns the created creative details.

Inputs: file_path (required), advertiser_id (required), click_through_url (required), creative_name, +2 more. Returns: result

verify_line_item_setupB

Verify line item setup including creative placeholders and associations.

Args: line_item_id: The line item ID to verify

Checks:

  • Creative placeholders (expected sizes)

  • Creative associations

  • Size mismatches between creatives and placeholders

Returns verification results with any issues found.

Inputs: line_item_id (required). Returns: result

verify_order_setupB

Verify complete order setup including all line items.

Args: order_id: The order ID to verify

Returns comprehensive verification of the order and all its line items.

Inputs: order_id (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 35 tools

    Disambiguation4/5

    Most tools have distinct purposes targeting specific resources (advertisers, orders, line items, creatives, reports) with clear action verbs, but some overlap exists between bulk_upload_creatives and upload_and_associate_creative, and between create_campaign and the individual create tools, which could cause minor confusion.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with snake_case throughout (e.g., create_advertiser, list_line_items_by_order, run_delivery_report). The naming is predictable and well-structured, making it easy to understand each tool's function at a glance.

    Tool Count3/5

    With 35 tools, the count feels heavy for a single server, bordering on overwhelming. While Google Ad Manager is a complex platform, the tool set could benefit from consolidation or better scoping to reduce cognitive load, though it does cover many aspects comprehensively.

    Completeness5/5

    The tool set provides complete CRUD/lifecycle coverage for advertisers, orders, line items, and creatives, along with advanced operations like approval workflows, delivery management, reporting, and verification. No obvious gaps exist; agents can perform end-to-end campaign management workflows effectively.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      F
      maintenance
      Enables managing Google Ads campaigns through an AI assistant with read-only reporting, recommendations, and gated write operations for bids, budgets, and statuses, all backed by preview and audit logging.
      31
      1
      MIT
    • A
      license
      Not graded
      quality
      F
      maintenance
      Connects Google Ads, Meta Ads, and LinkedIn Ads to AI assistants, enabling natural language ad campaign management, reporting, and optimization across platforms.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables managing and analyzing ad accounts in plain language from AI assistants, including cross-account performance reports, keyword research, GAQL queries, and safe previewed changes.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables full Google Ads management through natural language, including reading campaigns, performance, ROAS, keywords, and search terms, as well as pausing, enabling, removing, and creating campaigns, ad groups, ads, keywords, budgets, and responsive search ads.
      MIT