About MatiousCorp/google-ad-manager-mcp
MatiousCorp/google-ad-manager-mcp is an MCP server published by MatiousCorp in the Maps category: mCP server for Google Ad Manager. Manage ad campaigns, orders, line items, and creatives through AI assistants like Claude, ChatGPT, Gemini, Cursor, and VS Code. Automate your ad operations with natural language instead of clicking through the GAM UI. Built by Matious. Conduid read 35 tools from its source: approve_line_item, archive_line_item, associate_creative_with_line_item, bulk_upload_creatives, check_line_item_delivery_status, create_advertiser and 29 more. It is published to PyPI as google-ad-manager-mcp and runs with uvx.
The repository has 21 stars and 11 forks, is licensed MIT, and its last commit was on 29 May 2026. Conduid has no tagged release on record for it. It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. Its topics include maps.
Install
uvx google-ad-manager-mcppip install google-ad-manager-mcpgit clone https://github.com/MatiousCorp/google-ad-manager-mcpTools (35)
approve_line_itemApprove a line item (for approval workflows)| Parameter | Type | Description |
|---|---|---|
| line_item_id * | integer | The line item ID to approve |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
archive_line_itemArchive a line item| Parameter | Type | Description |
|---|---|---|
| line_item_id * | integer | The line item ID to archive |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
associate_creative_with_line_itemAssociate creative with line item| Parameter | Type | Description |
|---|---|---|
| creative_id * | integer | The creative ID |
| line_item_id * | integer | The line item ID |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
| size_override_height | integer | Optional height for size override |
| size_override_width | integer | Optional width for size override |
bulk_upload_creativesUpload all creatives from a folder| Parameter | Type | Description |
|---|---|---|
| advertiser_id * | integer | ID of the advertiser |
| click_through_url * | string | Destination URL when clicked |
| folder_path * | string | Path to folder containing image files |
| line_item_id * | integer | ID of the line item |
| name_prefix | string | Optional prefix for creative names |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
check_line_item_delivery_statusCheck delivery progress| Parameter | Type | Description |
|---|---|---|
| line_item_id * | integer | The line item ID to check |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
create_advertiserCreate a new advertiser| Parameter | Type | Description |
|---|---|---|
| address | string | Optional address |
| string | Optional email address | |
| name * | string | Advertiser name |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
create_campaignComplete campaign creation workflow| Parameter | Type | Description |
|---|---|---|
| advertiser_name * | string | Name of the advertiser |
| click_through_url * | string | Destination URL for all creatives |
| creative_sizes | string | JSON string of sizes, e.g. '[{"width": 300, "height": 250}, {"width": 728, "height": 90}]' |
| creatives_folder * | string | Path to folder containing creative images |
| end_day * | integer | End date day (1-31) |
| end_month * | integer | End date month (1-12) |
| end_year * | integer | End date year |
| goal_impressions | integer | Impression goal (default: 100000) |
| line_item_name * | string | Name for the line item |
| line_item_type | string | Type of line item (STANDARD, SPONSORSHIP, NETWORK, BULK, PRICE_PRIORITY, HOUSE, etc.) |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
| order_name * | string | Name for the order |
| target_ad_unit_id * | string | Ad unit ID to target (find via GAM UI or ad unit tools) |
create_line_itemCreate a new line item| Parameter | Type | Description |
|---|---|---|
| cost_per_unit_micro | integer | Cost per unit in micro amounts (e.g., 1000000 = 1 MAD) |
| creative_sizes | string | JSON string of sizes, e.g. '[{"width": 300, "height": 250}, {"width": 728, "height": 90}]' If not provided, uses defaults: 300x250, 300x600, 728x90, 1000x250 |
| currency_code | string | Currency code (default: MAD) |
| end_day * | integer | End date day (1-31) |
| end_month * | integer | End date month (1-12) |
| end_year * | integer | End date year (e.g., 2025) |
| goal_impressions | integer | Impression goal (default: 100000) |
| line_item_type | string | 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 |
| name * | string | Line item name |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
| order_id * | integer | The order ID to add line item to |
| target_ad_unit_id * | string | Ad unit ID to target (find via GAM UI or ad unit tools) |
create_orderCreate a new order| Parameter | Type | Description |
|---|---|---|
| advertiser_id * | integer | ID of the advertiser company |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
| order_name * | string | Name for the new order |
create_third_party_creativeCreate HTML/JavaScript ad tag (DCM, custom HTML)| Parameter | Type | Description |
|---|---|---|
| advertiser_id * | integer | ID of the advertiser |
| expanded_snippet | string | Optional expanded snippet for expandable creatives |
| height * | integer | Creative height in pixels |
| is_safe_frame_compatible | boolean | Whether the creative works in SafeFrame (default: True) |
| name * | string | Name for the creative |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
| snippet * | string | The HTML/JavaScript code snippet (the ad tag) |
| width * | integer | Creative width in pixels |
duplicate_line_itemDuplicate an existing line item| Parameter | Type | Description |
|---|---|---|
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
| new_name * | string | Name for the new line item |
| rename_source | string | Optional new name for the source line item |
| source_line_item_id * | integer | ID of the line item to duplicate |
find_advertiserFind advertiser by name| Parameter | Type | Description |
|---|---|---|
| name * | string | Advertiser name to search for |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
find_or_create_advertiserFind or create advertiser| Parameter | Type | Description |
|---|---|---|
| string | Optional email (used if creating) | |
| name * | string | Exact advertiser name |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
find_or_create_orderFind existing or create new order| Parameter | Type | Description |
|---|---|---|
| advertiser_id * | integer | ID of the advertiser company |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
| order_name * | string | Name of the order |
get_advertiserGet advertiser details| Parameter | Type | Description |
|---|---|---|
| advertiser_id * | integer | The advertiser/company ID |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
get_creativeGet creative details| Parameter | Type | Description |
|---|---|---|
| creative_id * | integer | The creative ID |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
get_creative_preview_urlGenerate preview URL to see creative on your site| Parameter | Type | Description |
|---|---|---|
| creative_id * | integer | The creative ID |
| line_item_id * | integer | The line item ID |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
| site_url * | string | The URL of the site where you want to preview the creative (e.g., "https://abc.com") |
get_line_itemGet line item details| Parameter | Type | Description |
|---|---|---|
| line_item_id * | integer | The line item ID |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
get_orderGet order details by ID or name| Parameter | Type | Description |
|---|---|---|
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
| order_id | integer | The order ID (optional if order_name provided) |
| order_name | string | The order name to search for (optional if order_id provided) |
list_advertisersList all advertisers| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of advertisers to return (default: 100) |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
list_creatives_by_advertiserList creatives for an advertiser| Parameter | Type | Description |
|---|---|---|
| advertiser_id * | integer | The advertiser ID |
| limit | integer | Maximum number of creatives to return (default: 100) |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
list_creatives_by_line_itemList creatives associated with a line item| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of creatives to return (default: 100) |
| line_item_id * | integer | The line item ID |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
list_delivering_ordersList all orders with delivering line items| Parameter | Type | Description |
|---|---|---|
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
list_line_items_by_orderList all line items for an order| Parameter | Type | Description |
|---|---|---|
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
| order_id * | integer | The order ID |
pause_line_itemPause a delivering line item| Parameter | Type | Description |
|---|---|---|
| line_item_id * | integer | The line item ID to pause |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
resume_line_itemResume a paused line item| Parameter | Type | Description |
|---|---|---|
| line_item_id * | integer | The line item ID to resume |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
run_custom_reportGenerate custom report with specified dimensions and metrics| Parameter | Type | Description |
|---|---|---|
| columns * | string | 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 | string | Date range (TODAY, YESTERDAY, LAST_WEEK, LAST_MONTH, LAST_3_MONTHS, REACH_LIFETIME, CUSTOM_DATE) |
| dimensions * | string | 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 |
| end_day | integer | End day (1-31) for CUSTOM_DATE range |
| end_month | integer | End month (1-12) for CUSTOM_DATE range |
| end_year | integer | End year for CUSTOM_DATE range |
| filter_statement | string | Optional filter (e.g., "ORDER_ID = 12345") |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
| start_day | integer | Start day (1-31) for CUSTOM_DATE range |
| start_month | integer | Start month (1-12) for CUSTOM_DATE range |
| start_year | integer | Start year for CUSTOM_DATE range |
| timeout_seconds | integer | Maximum seconds to wait for report completion |
run_delivery_reportGenerate delivery report (impressions, clicks, CTR, revenue)| Parameter | Type | Description |
|---|---|---|
| date_range_type | string | 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) |
| end_day | integer | End date day 1-31 (required if date_range_type is CUSTOM_DATE) |
| end_month | integer | End date month 1-12 (required if date_range_type is CUSTOM_DATE) |
| end_year | integer | End date year (required if date_range_type is CUSTOM_DATE) |
| include_date_breakdown | boolean | If True, includes daily breakdown (default: True) |
| line_item_id | integer | Optional line item ID to filter by |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
| order_id | integer | Optional order ID to filter by |
| start_day | integer | Start date day 1-31 (required if date_range_type is CUSTOM_DATE) |
| start_month | integer | Start date month 1-12 (required if date_range_type is CUSTOM_DATE) |
| start_year | integer | Start date year (required if date_range_type is CUSTOM_DATE) |
| timeout_seconds | integer | Maximum time to wait for report (default: 120) |
run_inventory_reportGenerate inventory report (ad requests, fill rate)| Parameter | Type | Description |
|---|---|---|
| ad_unit_id | string | Optional ad unit ID to filter by |
| date_range_type | string | Date range for the report (TODAY, YESTERDAY, LAST_WEEK, etc.) |
| end_day | integer | End date day 1-31 (for CUSTOM_DATE) |
| end_month | integer | End date month 1-12 (for CUSTOM_DATE) |
| end_year | integer | End date year (for CUSTOM_DATE) |
| include_date_breakdown | boolean | If True, includes daily breakdown (default: True) |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
| start_day | integer | Start date day 1-31 (for CUSTOM_DATE) |
| start_month | integer | Start date month 1-12 (for CUSTOM_DATE) |
| start_year | integer | Start date year (for CUSTOM_DATE) |
| timeout_seconds | integer | Maximum time to wait for report (default: 120) |
update_creativeUpdate creative destination URL or name| Parameter | Type | Description |
|---|---|---|
| creative_id * | integer | The creative ID to update |
| destination_url | string | New destination/click-through URL for the creative |
| name | string | New name for the creative |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
update_line_itemUpdate line item properties (name, type, delivery rate, priority, cost, goal, end date)| Parameter | Type | Description |
|---|---|---|
| cost_per_unit_micro | integer | Cost per unit in micro amounts (e.g., 1000000 = 1 currency unit) |
| currency_code | string | Currency code (e.g., MAD, USD, EUR) |
| delivery_rate_type | string | How the line item delivers: - EVENLY: Spread delivery evenly over the flight - FRONTLOADED: Deliver more at the beginning - AS_FAST_AS_POSSIBLE: Deliver as quickly as possible |
| end_day | integer | End date day (1-31) |
| end_month | integer | End date month (1-12) |
| end_year | integer | End date year |
| goal_impressions | integer | Impression goal (updates primaryGoal.units) |
| line_item_id * | integer | The line item ID to update |
| line_item_type | string | 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) |
| name | string | New name for the line item |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
| priority | integer | Priority value (1-16, depends on line item type). Lower numbers = higher priority. SPONSORSHIP: 4, STANDARD: 6-10, NETWORK: 12, BULK: 12, PRICE_PRIORITY: 12, HOUSE: 16 |
upload_and_associate_creativeUpload and associate in one step| Parameter | Type | Description |
|---|---|---|
| advertiser_id * | integer | ID of the advertiser |
| click_through_url * | string | Destination URL when clicked |
| creative_name | string | Optional name for the creative |
| file_path * | string | Path to the image file |
| line_item_id * | integer | ID of the line item |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
upload_creativeUpload an image creative| Parameter | Type | Description |
|---|---|---|
| advertiser_id * | integer | ID of the advertiser |
| click_through_url * | string | Destination URL when clicked |
| creative_name | string | Optional name for the creative |
| file_path * | string | Path to the image file |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
| override_size_height | integer | Optional height to override the creative size (for serving into a different sized slot) |
| override_size_width | integer | Optional width to override the creative size (for serving into a different sized slot) |
verify_line_item_setupVerify line item configuration| Parameter | Type | Description |
|---|---|---|
| line_item_id * | integer | The line item ID to verify |
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
verify_order_setupVerify entire order setup| Parameter | Type | Description |
|---|---|---|
| network_code | string | Optional GAM network code to target a specific network. If not provided, uses the default network. |
| order_id * | integer | The order ID to verify |
Security checks
Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.0K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
- ✓No dynamic code executionScanned 11 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio and Streamable HTTPsrc/gam_mcp/server.py:1307, src/gam_mcp/server.py:1326
- Starts other programs
- No calls that start other programs
- Outbound network calls
- No outbound network calls
- Writes or deletes files
- No file writes or deletes
- Lockfile
- None in the repository
Pattern matches on the source text of 11 files: places to read, not proof of what the code does at run time.
README
The repository's README runs to about 2.0K words, fetched a month ago. The original in the repository is authoritative.
Read full README