Skip to content

google_ads_customer_asset

A customer asset links an asset to the entire account. Once linked, the asset can appear with any ad in the account that’s eligible to show it. It’s the account-wide counterpart to google_ads_campaign_asset (one campaign) and google_ads_ad_group_asset (one ad group).

Example

Link the main_phone call asset to every ad in the account:

resource "google_ads_customer_asset" "main_phone_link" {
asset = google_ads_call_asset.main_phone.id
field_type = "CALL"
status = "ENABLED"
}

Removing ones you didn’t declare

Because these links reach every campaign, bidsmith will not remove a live one just because your files stop mentioning it. Ask for that in the provider block:

provider "google_ads" {
owns = ["sitelinks", "callouts"]
}

Each kind you list becomes exhaustive: the account-level sitelinks are exactly the google_ads_customer_asset blocks declaring one, and a live sitelink nothing declares shows up as - destroy in bidsmith plan. See Serve only the extensions you declared.

Schema

Optional

  • asset ( Reference to google_ads_call_asset or google_ads_sitelink_asset or google_ads_callout_asset or google_ads_structured_snippet_asset )
  • assets ( List of Reference )
  • field_type ( String ) One of: HEADLINE, DESCRIPTION, MANDATORY_AD_TEXT, MARKETING_IMAGE, MEDIA_BUNDLE, YOUTUBE_VIDEO, BOOK_ON_GOOGLE, LEAD_FORM, PROMOTION, CALLOUT, STRUCTURED_SNIPPET, SITELINK, MOBILE_APP, HOTEL_CALLOUT, CALL, PRICE, LONG_HEADLINE, BUSINESS_NAME, SQUARE_MARKETING_IMAGE, PORTRAIT_MARKETING_IMAGE, LOGO, LANDSCAPE_LOGO, VIDEO, CALL_TO_ACTION_SELECTOR, AD_IMAGE, BUSINESS_LOGO, HOTEL_PROPERTY, DISCOVERY_CAROUSEL_CARD .
  • status ( String ) One of: ENABLED, PAUSED, REMOVED . Default "ENABLED"; omit to manage at the default.

See also