Google Ads: link asset to ad group
link_asset_to_ad_groupLinks an existing asset to an ad group.
In an ad group that is already serving, the asset can show to the public
as soon as Google approves it, in place of any campaign- or
account-level assets of the same type.
After creating an asset (sitelink, callout, etc.), use this tool to
attach it to an ad group so it appears with that ad group's ads.
Args:
customer_id: The Google Ads customer ID (numbers only, no hyphens).
ad_group_id: The ID of the ad group to link the asset to.
asset_resource_name: The resource name of the asset (from create_*_asset tools).
field_type: The asset field type. One of: SITELINK, CALLOUT, STRUCTURED_SNIPPET,
CALL, PROMOTION, PRICE, LEAD_FORM, MOBILE_APP, HOTEL_CALLOUT,
AD_IMAGE. An image on a Search ad group is AD_IMAGE (Google
requires an eligible account).
Returns:
Dictionary with the created ad group asset link resource name.Tools revision: d80f65c0.
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": {
"customer_id": "<customer_id>",
"ad_group_id": "<ad_group_id>",
"asset_resource_name": "<asset_resource_name>",
"field_type": "<field_type>"
},
"name": "link_asset_to_ad_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field_type | Yes | ||
| ad_group_id | Yes | ||
| customer_id | Yes | ||
| asset_resource_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |