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.
ConversionValueRuleOperation
A single operation (create, update, remove) on a conversion value rule.
JSON representation |
{
"updateMask": string,
// Union field operation can be only one of the following:
"create": {
object (ConversionValueRule )
},
"update": {
object (ConversionValueRule )
},
"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" .
|
Union field operation . The mutate operation. operation can be only one of the following: |
create |
object (ConversionValueRule )
Create operation: No resource name is expected for the new conversion value rule.
|
update |
object (ConversionValueRule )
Update operation: The conversion value rule is expected to have a valid resource name.
|
remove |
string
Remove operation: A resource name for the removed conversion value rule is expected, in this format: customers/{customerId}/conversionValueRules/{conversion_value_rule_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 2025-03-06 UTC.
[null,null,["Last updated 2025-03-06 UTC."],[[["This document describes the JSON representation of a single operation (create, update, or remove) on a conversion value rule in Google Ads API."],["The `operation` field defines the type of operation and can be one of `create`, `update`, or `remove`."],["`create` operations require a `ConversionValueRule` object without a resource name, while `update` operations need a `ConversionValueRule` object with a valid resource name."],["`remove` operations require the resource name of the conversion value rule to be deleted."],["An `updateMask` using FieldMask format is used to specify which fields of the ConversionValueRule are being modified in an update operation."]]],["This JSON structure represents a single operation on a conversion value rule, which can be a create, update, or remove action. The `updateMask` field specifies which resource fields are modified during an update. The `operation` union field defines the action, using either `create` or `update` which contains a ConversionValueRule object, or `remove` which uses a resource name string in the specified format to identify the target for removal.\n"]]