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.
A single operation (create, update, remove) on a campaign criterion.
JSON representation
{"updateMask": string,// Union field operation can be only one of the following:"create": {object (CampaignCriterion)},"update": {object (CampaignCriterion)},"remove": string// End of list of possible types for union field operation.}
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:
[[["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 2025-03-06 UTC."],[[["This page documents a single operation (create, update, or remove) on a campaign criterion."],["Operations are defined using JSON, specifying the desired action and the relevant campaign criterion data."],["The `updateMask` field indicates which fields are being modified in an update operation."],["The `operation` field specifies the type of operation (create, update, or remove) along with the required criterion data or resource name."]]],[]]