Join us live on
Discord on the Google Advertising and Measurement Community server and on
YouTube on January 29th at 10:00 AM EST! We will discuss the new features added in v23 of the Google Ads API.
AdGroupCriterionOperation
Stay organized with collections
Save and categorize content based on your preferences.
A single operation (create, remove, update) on an ad group criterion.
codeProto definition
| Fields |
exempt_policy_violation_keys[]
|
PolicyViolationKey
The list of policy violation keys that should not cause a PolicyViolationError to be reported. Not all policy violations are exemptable, refer to the is_exemptible field in the returned PolicyViolationError. Resources violating these polices will be saved, but will not be eligible to serve. They may begin serving at a later time due to a change in policies, re-review of the resource, or a change in advertiser certificates.
|
create
|
AdGroupCriterion
Create operation: No resource name is expected for the new criterion.
|
remove
|
string
Remove operation: A resource name for the removed criterion is expected, in this format: customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}
|
update
|
AdGroupCriterion
Update operation: The criterion is expected to have a valid resource name.
|
update_mask
|
FieldMask
FieldMask that determines which resource fields are modified in an update.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-22 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-01-22 UTC."],[],[]]