CampaignOperation

  • Describes a single operation for creating, updating, or removing a campaign.

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

  • The operation union field indicates the type of mutate operation, which can be create, update, or remove.

  • The create operation expects no resource name, while the update operation requires a valid resource name, and the remove operation requires a resource name in a specific format.

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

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

Campaign

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

update

Campaign

Update operation: The campaign is expected to have a valid resource name.

remove

string

Remove operation: A resource name for the removed campaign is expected, in this format:

customers/{customer_id}/campaigns/{campaign_id}