Basic information
About Google Ad Manager MCP Server
MCP server for Google Ad Manager. Manage ad campaigns, orders, line items, and creatives through AI assistants like Claude, ChatGPT, and Cursor. Automate GAM operations with natural language.
Google Ad Manager MCP is a MCP server in the AI & Agents category listed in the AddMCP.net directory, published by MatiousCorp. It exposes 24 tools, including list_delivering_orders, get_order, create_order, find_or_create_order and more. Supported transport: stdio. License: MIT. Source code is hosted on github.com. Related topics: ad-tech, advertising, automation, gam, google-ad-manager.
Setup
{
"mcpServers": {
"google-ad-manager": {
"command": "uvx",
"args": [
"google-ad-manager-mcp"
],
"env": {
"GAM_CREDENTIALS_PATH": "/path/to/credentials.json",
"GAM_NETWORK_CODE": "YOUR_NETWORK_CODE"
}
}
}
}
{
"mcpServers": {
"google-ad-manager": {
"command": "uvx",
"args": [
"google-ad-manager-mcp"
],
"env": {
"GAM_CREDENTIALS_PATH": "/path/to/credentials.json",
"GAM_NETWORK_CODE": "YOUR_NETWORK_CODE"
}
}
}
}
{
"servers": {
"google-ad-manager": {
"command": "uvx",
"args": [
"google-ad-manager-mcp"
],
"env": {
"GAM_CREDENTIALS_PATH": "/path/to/credentials.json",
"GAM_NETWORK_CODE": "YOUR_NETWORK_CODE"
}
}
}
}
Google Ad Manager MCP config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"google-ad-manager": {
"command": "uvx",
"args": [
"google-ad-manager-mcp"
],
"env": {
"GAM_CREDENTIALS_PATH": "/path/to/credentials.json",
"GAM_NETWORK_CODE": "YOUR_NETWORK_CODE"
}
}
}
}
Google Ad Manager MCP tools
-
list_delivering_orders
— List all orders with line items currently delivering ads.
Returns a list of orders with their delivering line items,
including impression and click statistics.
(no parameters) -
get_order
— 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.
order_id, order_name -
create_order
— 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.
advertiser_id:integer*, order_name:string* -
find_or_create_order
— 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.
advertiser_id:integer*, order_name:string* -
get_line_item
— Get line item details by ID.
Args:
line_item_id: The line item ID
Returns line item details including status, dates, and statistics.
line_item_id:integer* -
create_line_item
— 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 (STANDARD, SPONSORSHIP, etc.)
goal_impressions: Impression goal (default: 100000)
Returns the created line item details.
end_day:integer*, end_month:integer*, end_year:integer*, goal_impressions:integer, line_item_type:string, name:string*, order_id:integer*, target_ad_unit_id:string* -
duplicate_line_item
— 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.
new_name:string*, rename_source, source_line_item_id:integer* -
update_line_item_name
— 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.
line_item_id:integer*, new_name:string* -
list_line_items_by_order
— List all line items for an order.
Args:
order_id: The order ID
Returns list of line items with their status and statistics.
order_id:integer* -
upload_creative
— 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.
advertiser_id:integer*, click_through_url:string*, creative_name, file_path:string*, override_size_height, override_size_width -
associate_creative_with_line_item
— 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.
creative_id:integer*, line_item_id:integer*, size_override_height, size_override_width -
upload_and_associate_creative
— 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.
advertiser_id:integer*, click_through_url:string*, creative_name, file_path:string*, line_item_id:integer* -
bulk_upload_creatives
— 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.
advertiser_id:integer*, click_through_url:string*, folder_path:string*, line_item_id:integer*, name_prefix -
get_creative
— Get creative details by ID.
Args:
creative_id: The creative ID
Returns creative details including size and destination URL.
creative_id:integer* -
list_creatives_by_advertiser
— List creatives for an advertiser.
Args:
advertiser_id: The advertiser ID
limit: Maximum number of creatives to return (default: 100)
Returns list of creatives.
advertiser_id:integer*, limit:integer -
find_advertiser
— Find an advertiser by name (partial match).
Args:
name: Advertiser name to search for
Returns list of matching advertisers.
name:string* -
get_advertiser
— Get advertiser details by ID.
Args:
advertiser_id: The advertiser/company ID
Returns advertiser details.
advertiser_id:integer* -
list_advertisers
— List all advertisers.
Args:
limit: Maximum number of advertisers to return (default: 100)
Returns list of advertisers.
limit:integer -
create_advertiser
— Create a new advertiser.
Args:
name: Advertiser name
email: Optional email address
address: Optional address
Returns the created advertiser details.
address, email, name:string* -
find_or_create_advertiser
— 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.
email, name:string* -
verify_line_item_setup
— 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.
line_item_id:integer* -
check_line_item_delivery_status
— 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.
line_item_id:integer* -
verify_order_setup
— 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.
order_id:integer* -
create_campaign
— 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)
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.
advertiser_name:string*, click_through_url:string*, creatives_folder:string*, end_day:integer*, end_month:integer*, end_year:integer*, goal_impressions:integer, line_item_name:string*, order_name:string*, target_ad_unit_id:string*
Overview
What is Google Ad Manager MCP?
Google Ad Manager MCP is an MCP server that integrates with Google Ad Manager's API to provide programmatic management of orders, line items, creatives, advertisers, and campaign workflows. It is built for developers and operators who need to automate Ad Manager tasks.
How to use Google Ad Manager MCP?
Build the Docker image with docker build -t google-ad-manager-mcp ., then add it to your MCP client configuration (Claude Desktop, Cursor, etc.). A service account JSON credential file and API access are required.
Key features of Google Ad Manager MCP
- Order management – list, create, and manage orders
- Line item management – create, duplicate, configure line items
- Creative management – upload images, bulk upload, associate with line items
- Advertiser management – find, create, list advertisers
- Verification tools – verify setup, check delivery status
- Campaign workflow – complete campaign creation in one operation
Use cases of Google Ad Manager MCP
- Automate order and line item creation for ad campaigns
- Bulk upload creatives and associate them with line items
- Verify campaign setup and monitor delivery status
- Manage advertisers and their relationships programmatically
Frequently asked questions
1 What are the runtime requirements for this server?
Google Ad Manager account with API access, service account JSON credentials, and Docker installed.
2 How many tools does the server provide?
The server provides 24 tools covering orders, line items, creatives, advertisers, verification, and workflows.
3 Who built this server?
The server was built by Matious, a company that builds custom AI tools and MCP servers.
4 How do I set up and run the server?
Build the Docker image using docker build -t google-ad-manager-mcp ., then add it to your MCP client config.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In