CustomAudienceOperation

  • This content describes operations on a custom audience, including create, update, and remove.

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

  • The operation field is a union field that specifies the type of mutate operation: create, update, or remove.

  • A create operation expects no resource name, an update operation expects a valid resource name, and a remove operation expects a resource name in a specific format.

A single operation (create, update) on a custom audience.

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

CustomAudience

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

update

CustomAudience

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

remove

string

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

customers/{customer_id}/customAudiences/{custom_audience_id}