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.
ConversionActionOperation
A single operation (create, update, remove) on a conversion action.
JSON representation |
{
"updateMask": string,
// Union field operation can be only one of the following:
"create": {
object (ConversionAction )
},
"update": {
object (ConversionAction )
},
"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 (ConversionAction )
Create operation: No resource name is expected for the new conversion action.
|
update |
object (ConversionAction )
Update operation: The conversion action is expected to have a valid resource name.
|
remove |
string
Remove operation: A resource name for the removed conversion action is expected, in this format: customers/{customerId}/conversionActions/{conversionActionId}
|
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-10-11 UTC.
[null,null,["Last updated 2024-10-11 UTC."],[[["This documentation describes how to perform a single operation (create, update, or remove) on a Google Ads conversion action using JSON."],["Operations are defined using a JSON object that includes an `updateMask` and an `operation` field specifying the action type and details."],["The `operation` field can be one of `create`, `update`, or `remove`, each with specific requirements for providing resource names and data."],["For `create`, a new conversion action object is provided without a resource name; for `update`, an existing conversion action with a resource name is updated; and for `remove`, only the resource name of the conversion action to be removed is needed."]]],[]]