google_ads_shared_criterion
A shared criterion is a single negative keyword that belongs to a
google_ads_shared_set. It exists as a
separate resource so each keyword can be added, removed, or paused
independently — handy when a list grows past a handful of entries.
Example
A shared list of value-seeker negatives, declared as separate criteria:
resource "google_ads_shared_set" "value_seekers" { name = "Value-seeker negatives" type = "NEGATIVE_KEYWORDS"}
resource "google_ads_shared_criterion" "neg_free" { shared_set = google_ads_shared_set.value_seekers.id keyword { text = "free" match_type = "BROAD" }}
resource "google_ads_shared_criterion" "neg_diy" { shared_set = google_ads_shared_set.value_seekers.id keyword { text = "diy" match_type = "BROAD" }}Schema
Required
-
shared_set( reference_or_resource_name )
Nested blocks documented below: keyword.
Nested blocks
keyword
The keyword text and match type. Exactly one keyword block per
shared criterion.
Required
-
text( String ) -
match_type( String ) One of:EXACT,PHRASE,BROAD.
See also
google_ads_shared_set— the parent list.google_ads_campaign_shared_set— link a shared set to a campaign.