CampaignAssetOperation

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

  • The update_mask field uses a FieldMask to specify which fields are modified in an update operation.

  • The operation field is a union that determines the type of mutate operation.

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

  • Update operations expect a valid resource name for the campaign asset being modified, while remove operations require a specific resource name format.

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}