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.
AdParameterOperation
A single operation (create, update, remove) on ad parameter.
JSON representation |
{
"updateMask": string,
// Union field operation can be only one of the following:
"create": {
object (AdParameter )
},
"update": {
object (AdParameter )
},
"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 (AdParameter )
Create operation: No resource name is expected for the new ad parameter.
|
update |
object (AdParameter )
Update operation: The ad parameter is expected to have a valid resource name.
|
remove |
string
Remove operation: A resource name for the ad parameter to remove is expected in this format: customers/{customerId}/adParameters/{adGroupId}~{criterionId}~{parameterIndex}
|
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 page documents a single operation (create, update, or remove) on an ad parameter within Google Ads."],["The operation is represented using a JSON payload containing an `updateMask` and an `operation` field specifying the action and data."],["The `operation` field can be one of `create`, `update`, or `remove`, each with specific data requirements detailed in the table."],["A `create` operation requires an `AdParameter` object without a resource name, while `update` needs a valid resource name within the `AdParameter` object."],["To `remove` an ad parameter, provide its resource name using the format `customers/{customerId}/adParameters/{adGroupId}~{criterionId}~{parameterIndex}`."]]],[]]