CampaignAssetOperation

  • Describes a single operation on a campaign asset, including create, update, or remove.

  • The update_mask field is a FieldMask used to specify which resource fields are modified during an update operation.

  • The operation field is a union field that indicates the type of mutate operation being performed (create, update, or remove).

  • Create operations do not require a resource name for the new campaign asset.

  • Update and remove operations require a resource name for the campaign asset.

A single operation (create, update, remove) on a campaign asset.

Fields

update_mask

FieldMask

FieldMask that determines which resource fields are modified in an update.

Union field

operation

operation. The mutate operation. operation can be only one of the following:

create

CampaignAsset

Create operation: No resource name is expected for the new campaign asset.

update

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/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}