CampaignDraftOperation

  • This operation allows you to create, update, or remove a single campaign draft.

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

  • The operation field, which can be create, update, or remove, determines the type of action performed on the campaign draft.

  • Creating a campaign draft does not require a resource name, while updating or removing one requires 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}