AdGroupCriterionOperation

  • A single operation can be performed on an ad group criterion, including create, remove, or update.

  • An update_mask uses a FieldMask to specify which resource fields are modified during an update operation.

  • exempt_policy_violation_keys allows specifying policy violation keys that should not trigger an error, though violating resources may not serve.

  • The operation union field determines the type of mutate operation being performed on the ad group criterion.

  • Each operation type (create, update, remove) requires specific information, such as a resource name for update and remove, but not for create.

A single operation (create, remove, update) on an ad group criterion.

Fields

update_mask

FieldMask

FieldMask that determines which resource fields are modified in an update.

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.

Union field

operation

operation. The mutate operation. operation can be only one of the following:

create

AdGroupCriterion

Create operation: No resource name is expected for the new criterion.

update

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/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}