Caution: You are viewing documentation for the API's REST interface. Most of our official client libraries use gRPC. See the
REST Introduction for details.
AdGroupCriterionOperation
A single operation (create, remove, update) on an ad group criterion.
JSON representation |
{
"updateMask": string,
"exemptPolicyViolationKeys": [
{
object (PolicyViolationKey )
}
],
// Union field operation can be only one of the following:
"create": {
object (AdGroupCriterion )
},
"update": {
object (AdGroupCriterion )
},
"remove": string
// End of list of possible types for union field operation .
} |
Fields |
updateMask |
string (FieldMask format)
FieldMask that determines which resource fields are modified in an update. This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo" .
|
exemptPolicyViolationKeys[] |
object (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 isExemptible 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.
|
Union field operation . The mutate operation. operation can be only one of the following: |
create |
object (AdGroupCriterion )
Create operation: No resource name is expected for the new criterion.
|
update |
object (AdGroupCriterion )
Update operation: The criterion is expected to have a valid resource name.
|
remove |
string
Remove operation: A resource name for the removed criterion is expected, in this format: customers/{customerId}/adGroupCriteria/{adGroupId}~{criterionId}
|
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 2025-03-06 UTC.
[null,null,["Last updated 2025-03-06 UTC."],[[["Represents a single operation (create, remove, or update) on an ad group criterion."],["Defines which resource fields are modified in an update using `updateMask`."],["Allows exempting specific policy violations using `exemptPolicyViolationKeys`."],["Specifies the operation type using the `operation` field, which can be `create`, `update`, or `remove`, each with its own data requirements."]]],["This JSON schema outlines operations on ad group criteria, allowing for `create`, `update`, or `remove` actions. The `updateMask` specifies which fields to modify during an update. `exemptPolicyViolationKeys` lists policy violations that won't trigger errors, though affected resources may not serve. The `operation` field dictates the action, using an `AdGroupCriterion` object for `create` or `update`, and a resource name string for `remove`.\n"]]