google-ads-mcp
v0.0.6MCP Server for Google Ads, depends on Google Ads API.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
customers_list_accessible_customers Customers List Accessible Customers
Returns ids of customers directly accessible by the user authenticating the call. Use this tool first to discover available customer IDs if the user hasn't provided one. Most other tools require a valid customer ID as input.
assets_create_asset Assets Create Asset
Creates a new Google Ads asset under the specified customer account. Required & Optional parameters per `asset_type`: - **TEXT**: Requires `text_asset_text`. - **IMAGE**: Requires either `image_asset_path` (absolute local path, local stdio mode only) OR `image_asset_data` (base64 encoded string). If `image_asset_data` is provided, `image_asset_mime_type` is also required (e.g. 'IMAGE_PNG', 'IMAGE_JPEG', 'IMAGE_GIF'). - **YOUTUBE_VIDEO**: Requires `youtube_video_id`. - **SITELINK**: Requires `sitelink_link_text` and root-level `final_urls`. Accepts optional `sitelink_description1` and `s…
| Parameter | Type | Description |
|---|---|---|
asset_type * | string | Type of the asset (e.g., 'TEXT', 'IMAGE', 'YOUTUBE_VIDEO', 'SITELINK', 'CALLOUT', 'STRUCTURED_SNIPPET'). |
customer_id * | Google Ads Customer ID (digits or hyphenated, e.g. '1234567890'). | |
callout_text | Optional callout text (required for CALLOUT type). | |
checksum | Checksum of the validated operation returned by a prior `validate_only=True` call. Required when `validate_only=False`. | |
extra_params | Optional dict representing nested parameters for less common asset types. | |
final_mobile_urls | Optional list of final mobile URLs. | |
final_url_suffix | Optional final URL suffix. | |
final_urls | Optional list of final URLs (required for SITELINK). | |
image_asset_data | Optional base64 encoded image data (supported for IMAGE type). | |
image_asset_mime_type | Optional MIME type (e.g., 'IMAGE_PNG', 'IMAGE_JPEG', 'IMAGE_GIF'; required if image_asset_data is used). | |
image_asset_path | Optional absolute file path to a local image (supported for IMAGE type in local stdio mode). | |
login_customer_id | Optional manager customer ID to use as the login-customer-id header. | |
name | Optional name of the asset. | |
sitelink_description1 | Optional sitelink line 1 description. | |
sitelink_description2 | Optional sitelink line 2 description. | |
sitelink_link_text | Optional link text (required for SITELINK type). | |
structured_snippet_header | Optional structured snippet header category (required for STRUCTURED_SNIPPET type). | |
structured_snippet_values | Optional structured snippet list of values (required for STRUCTURED_SNIPPET type). | |
text_asset_text | Optional text content (required for TEXT type). | |
tracking_url_template | Optional tracking URL template. | |
url_custom_parameters | Optional custom parameters for tracking (list of {'key': ..., 'value': ...} dicts). | |
validate_only | boolean | If True (default), validates the request and returns proposed `change_items` and a `checksum` without creating the asset. If False, requires `checksum` from a prior `validate_only=True` call to commit… |
youtube_video_id | Optional YouTube 11-character video ID (required for YOUTUBE_VIDEO type). |
assets_upload_video_asset Assets Upload Video Asset
Uploads a video to YouTube natively via the Google Ads API. Once a video has been uploaded, it can be used to create a video asset. This operation executes via a FastMCP background task to gracefully handle large file uploads (supported in local stdio mode only). Once the upload finishes successfully, using the search tool and querying the `you_tube_video_upload` resource matching the returned ID allows you to retrieve the YouTube Video ID and processing status. Propose & Confirm Workflow (`validate_only` and `checksum`): 1. Call `upload_video_asset` with `validate_only=True` (the default).…
| Parameter | Type | Description |
|---|---|---|
customer_id * | Google Ads Customer ID (digits or hyphenated, e.g. '1234567890'). | |
video_description * | string | The description text attached to your YouTube video. |
video_path * | string | The absolute path on the local filesystem to the video file to be uploaded (local stdio mode only). |
video_title * | string | The title you wish your video to have on YouTube. |
checksum | Checksum of the validated operation returned by a prior `validate_only=True` call. Required when `validate_only=False`. | |
login_customer_id | Optional manager customer ID to use as the login-customer-id header. | |
validate_only | boolean | If True (default), validates the request and returns proposed `change_items` and a `checksum` without uploading the video. If False, requires `checksum` from a prior `validate_only=True` call to execu… |
video_privacy | string | The privacy setting of the video on YouTube. Default is UNLISTED. Valid values are: PUBLIC, UNLISTED, PRIVATE. Note: PUBLIC is only allowed for brand channels. |
youtube_channel_id | Optional. The ID of the YouTube channel the video will be uploaded to. If not provided, it will be uploaded to a Google-managed YouTube channel linked to your ads account. |
metadata_get_resource_metadata Metadata Get Resource Metadata
Retrieves the selectable, filterable, and sortable fields for a specific Google Ads resource, including compatible metrics and segments. Use this tool to find out which fields you can select, filter by, or sort by when querying a specific resource (e.g., 'campaign', 'ad_group'). This tool also returns metrics and segments that can be selected with the resource. Their names start with 'metrics.' and 'segments.' respectively. Do not guess fields, you MUST use this tool to discover them before constructing a query for the `search` tool. The responses of this tool should be cached, as they don'…
| Parameter | Type | Description |
|---|---|---|
resource_name * | string | The name of the Google Ads resource (e.g., 'campaign', 'ad_group'). |
login_customer_id | Optional manager customer ID to use as the login-customer-id header. |
labels_manage_labels Labels Manage Labels
Manages Label resources. Supports CREATE, UPDATE, and REMOVE operations. Propose & Confirm Workflow (`validate_only` and `checksum`): 1. Call `manage_labels` with `validate_only=True` (the default). After validation passes, the tool returns structured `change_items` and a `checksum` without committing changes. 2. Present the `change_items` to the user and wait for explicit user approval. 3. Only after user confirmation, call `manage_labels` with `validate_only=False` along with the exact same parameters and the `checksum` returned by the previous `validate_only=True` call.
| Parameter | Type | Description |
|---|---|---|
customer_id * | Google Ads Customer ID (digits or hyphenated, e.g. '1234567890'). | |
operation * | string | The operation to perform. Must be 'CREATE', 'UPDATE', or 'REMOVE'. |
background_color | Background color in HTML hex format (e.g., '#FF0000'). Optional. | |
checksum | Checksum of the validated operation returned by a prior `validate_only=True` call. Required when `validate_only=False`. | |
description | Description of the label. Optional. | |
label_id | The ID of the label (e.g., '456'). Required for UPDATE and REMOVE. | |
login_customer_id | Optional manager customer ID to use as the login-customer-id header. | |
name | The name of the label. Required for CREATE, optional for UPDATE. | |
validate_only | boolean | If True (default), validates the request and returns proposed `change_items` and a `checksum` without mutating the label. If False, requires `checksum` from a prior `validate_only=True` call to commit… |
labels_manage_label_associations Labels Manage Label Associations
Manages associations between labels and Campaign, Customer, Ad Group, or Ad Group Criterion. Supports CREATE and REMOVE operations. Propose & Confirm Workflow (`validate_only` and `checksum`): 1. Call `manage_label_associations` with `validate_only=True` (the default). After validation passes, the tool returns structured `change_items` and a `checksum` without committing changes. 2. Present the `change_items` to the user and wait for explicit user approval. 3. Only after user confirmation, call `manage_label_associations` with `validate_only=False` along with the exact same parameters and th…
| Parameter | Type | Description |
|---|---|---|
association_type * | string | The type of resource being associated. Must be 'CAMPAIGN', 'CUSTOMER', 'AD_GROUP', or 'AD_GROUP_CRITERION'. |
customer_id * | Google Ads Customer ID (digits or hyphenated, e.g. '1234567890'). | |
operation * | string | The operation to perform. Must be 'CREATE' or 'REMOVE'. |
association_resource_name | The full resource name of the association itself (e.g., 'customers/123/campaignLabels/456~789'). Optional alternative for REMOVE when `resource_id` and `label_id` are not provided. | |
checksum | Checksum of the validated operation returned by a prior `validate_only=True` call. Required when `validate_only=False`. | |
label_id | The ID of the Label (e.g., '789'). Required for CREATE. | |
login_customer_id | Optional manager customer ID to use as the login-customer-id header. | |
resource_id | The ID of the entity to associate (e.g., '456' for CAMPAIGN or AD_GROUP, or composite '{ad_group_id}~{criterion_id}' such as '456~789' for AD_GROUP_CRITERION). Optional for CUSTOMER (defaults to `cust… | |
validate_only | boolean | If True (default), validates the request and returns proposed `change_items` and a `checksum` without mutating the association. If False, requires `checksum` from a prior `validate_only=True` call to… |
search_search Search Search
Fetches data from the Google Ads API using the search method Args: customer_id: The id of the customer fields: The fields to fetch resource: The resource to return fields from conditions: List of conditions to filter the data, combined using AND clauses orderings: How the data is ordered limit: The maximum number of rows to return login_customer_id: Optional manager customer ID to use as the login-customer-id header. ### Hints Language Grammar can be found at https://developers.google.com/google-ads/api/docs/query/grammar…
| Parameter | Type | Description |
|---|---|---|
customer_id * | ||
fields * | array | |
resource * | string | |
conditions | array | |
limit | ||
login_customer_id | ||
orderings | array |