Google Ads: Create Conversion Action
gads_create_conversion_actionCreate a conversion action in a Google Ads account: UPLOAD_CLICKS to import offline sales or leads tied to ad clicks, UPLOAD_CALLS to import calls from ads that later converted (send both with gads_upload_conversions), or WEBPAGE for a website tag, whose code snippets are returned to put on the site. Sets category, counting type, default value and currency, lookback windows and whether it is primary. Google makes a new action primary by default, which means Smart Bidding starts optimizing toward it; pass primary_for_goal false to only report it. An action with the same name is reused, not duplicated. To change an existing action use gads_update_conversion_action.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"type": "<type>"
},
"name": "gads_create_conversion_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Action name, unique in the account, at most 100 characters. | |
| type | Yes | What the action counts. | |
| category | No | Conversion category, e.g. PURCHASE, SUBMIT_LEAD_FORM, QUALIFIED_LEAD, PHONE_CALL_LEAD, SIGNUP. Defaults to DEFAULT. | |
| customer_id | No | Google Ads account to change: customer id or exact account name. Required when you have several accounts — the stored default is never used for a change then. | |
| counting_type | No | ONE_PER_CLICK for leads (one per click), MANY_PER_CLICK for purchases (every one). | |
| default_value | No | Value used when a conversion arrives without one. | |
| primary_for_goal | No | True (Google's default) feeds Smart Bidding and the Conversions column; false only reports it under All conversions. | |
| default_currency_code | No | ISO currency of default_value, e.g. USD. | |
| always_use_default_value | No | True ignores the values sent with conversions and always uses default_value. | |
| view_through_lookback_days | No | Days after a view a conversion counts, 1-30. WEBPAGE only. | |
| click_through_lookback_days | No | Days after a click a conversion counts, 1-90. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Action name. | |
| type | Yes | Action type. | |
| created | Yes | False when an action with that name was reused. | |
| customerId | Yes | Account the action belongs to. | |
| tagSnippets | Yes | Website tag code, for a WEBPAGE action. Empty otherwise. | |
| primaryForGoal | No | Whether it feeds bidding, as requested or by default. | |
| conversionActionId | Yes | Id of the action. |