CampaignCriterionOperation
Stay organized with collections
Save and categorize content based on your preferences.
A single operation (create, update, remove) on a campaign criterion.
Fields |
update_mask
|
FieldMask
FieldMask that determines which resource fields are modified in an update.
|
Union field operation
operation . The mutate operation. operation can be only one of the following: |
create
|
CampaignCriterion
Create operation: No resource name is expected for the new criterion.
|
update
|
CampaignCriterion
Update operation: The criterion is expected to have a valid resource name. Note that for smart campaigns, you cannot use the update method to edit the geolocation target.
|
remove
|
string
Remove operation: A resource name for the removed criterion is expected, in this format: customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}
|
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 2024-11-25 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 2024-11-25 UTC."],[[["This page documents a single operation to create, update, or remove a campaign criterion."],["Operations are specified using the `operation` field with choices of `create`, `update`, or `remove`."],["`create` operations require a `CampaignCriterion` object without a resource name, while `update` operations require a `CampaignCriterion` object with a valid resource name."],["To remove a criterion, provide the resource name using the format: `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}`."],["Smart campaigns cannot use the update method to edit the geolocation target."]]],[]]