Skip to main content
Glama
johnoconnor0

Google Ads MCP Server

by johnoconnor0

google_ads_set_attribution_model

Assign conversion credit across customer touchpoints by setting an attribution model. Choose from last click, first click, linear, time decay, position based, or data driven.

Instructions

Set attribution model for a conversion action.

Attribution models determine how credit for conversions is assigned to touchpoints in the customer journey.

Args: customer_id: Customer ID (without hyphens) conversion_action_id: Conversion action ID attribution_model: Attribution model to use

Returns: Success message

Example: google_ads_set_attribution_model( customer_id="1234567890", conversion_action_id="12345", attribution_model="DATA_DRIVEN" )

Attribution Models:

  • LAST_CLICK: 100% credit to last click (default)

  • FIRST_CLICK: 100% credit to first click

  • LINEAR: Equal credit across all clicks

  • TIME_DECAY: More credit to recent clicks

  • POSITION_BASED: 40% first, 40% last, 20% middle

  • DATA_DRIVEN: Google's ML model (recommended, requires sufficient data)

Recommendation: Use DATA_DRIVEN for accounts with 300+ conversions/month.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
customer_idYes
conversion_action_idYes
attribution_modelYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description discloses the main action but lacks details on side effects (e.g., immediate application, overwriting behavior), permissions required, or idempotency. Since no annotations are provided, the description should cover these traits more thoroughly.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with Args, Returns, Example, and models sections. It is slightly verbose but front-loads the main purpose and uses bullet points for readability. Every sentence adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the output schema exists, the description adequately covers parameters and usage. It provides an example and model details. However, it could include error handling or prerequisite steps (e.g., conversion action must exist) for full completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds significant meaning beyond the input schema by explaining each parameter (customer_id, conversion_action_id, attribution_model) and listing possible values for attribution_model with descriptions. This compensates for the 0% schema description coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it sets the attribution model for a conversion action with a specific verb and resource. It provides a concise purpose and explains what attribution models do, distinguishing it from sibling tools that perform other actions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description includes a recommendation to use DATA_DRIVEN with sufficient data and lists model options. However, it does not explicitly state when to use this tool versus alternatives, such as when to modify vs. create conversion actions. The example and model list provide good context but lack exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/johnoconnor0/google-ads-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server