CampaignDraftOperation

  • This document describes a single operation (create, update, or remove) on a campaign draft.

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

  • The operation field is a union that can be either create, update, or remove, defining the type of operation to perform.

  • Create operations do not require a resource name, while update and remove operations expect a valid resource name.

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

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

CampaignDraft

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

update

CampaignDraft

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

remove

string

Remove operation: The campaign draft is expected to have a valid resource name, in this format:

customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}