google_ads_ad_group_asset
An ad group asset links an asset to one ad group, so the extension is only eligible with that ad group’s ads. Use it when you want a sitelink, callout, or structured snippet to be more specific than the whole campaign — for example, a sitelink whose copy matches one tightly-themed ad group.
Most extensions are attached at campaign scope with
google_ads_campaign_asset; reach for
ad-group scope only when the extra targeting is worth the extra links.
Example
resource "google_ads_callout_asset" "same_day_setup" { text = "Same-Day Setup"}
resource "google_ads_ad_group_asset" "pro_plan_callout" { ad_group = google_ads_ad_group.pro_plan.id asset = google_ads_callout_asset.same_day_setup.id field_type = "CALLOUT" status = "ENABLED"}Schema
Required
-
ad_group( reference_or_resource_name )
Optional
-
asset( Reference togoogle_ads_call_assetorgoogle_ads_sitelink_assetorgoogle_ads_callout_assetorgoogle_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
google_ads_campaign_asset— attach at campaign scope (the common case).google_ads_sitelink_asset,google_ads_callout_asset,google_ads_structured_snippet_asset— the assets you attach.