Google Ads: link asset to campaign
link_asset_to_campaignLinks an existing asset to a campaign.
After creating an asset (sitelink, callout, etc.), use this tool to
attach it to a campaign so it appears with that campaign's ads.
Args:
customer_id: The Google Ads customer ID (numbers only, no hyphens).
campaign_id: The ID of the campaign 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,
BUSINESS_NAME, BUSINESS_LOGO, AD_IMAGE. For an image on a Search
campaign use AD_IMAGE (Google requires an eligible account) or
BUSINESS_LOGO; Performance Max images go through
add_assets_to_asset_group instead.
Returns:
Dictionary with the created campaign asset link resource name.Tools revision: 5c9bea8f.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field_type | Yes | ||
| campaign_id | Yes | ||
| customer_id | Yes | ||
| asset_resource_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |