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.
CampaignAssetOperation
A single operation (create, update, remove) on a campaign asset.
JSON representation |
{
"updateMask": string,
// Union field operation can be only one of the following:
"create": {
object (CampaignAsset )
},
"update": {
object (CampaignAsset )
},
"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 (CampaignAsset )
Create operation: No resource name is expected for the new campaign asset.
|
update |
object (CampaignAsset )
Update operation: The campaign asset is expected to have a valid resource name.
|
remove |
string
Remove operation: A resource name for the removed campaign asset is expected, in this format: customers/{customerId}/campaignAssets/{campaignId}~{asset_id}~{fieldType}
|
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 a campaign asset, providing the JSON representation and field details."],["The `operation` field determines the type of operation being performed, accepting `create`, `update`, or `remove` as values."],["For `create` operations, a new campaign asset object is provided without a resource name; for `update`, an existing campaign asset object with a valid resource name is required; and for `remove`, the resource name of the campaign asset to be removed is specified."],["`updateMask` is used to specify which fields of the campaign asset should be updated, utilizing FieldMask format."]]],[]]