AudienceError

  • The document lists various errors that can occur when dealing with audiences.

  • Errors include issues with audience names, dimensions, segments, and usage status.

  • There are specific errors related to asset group scoped audiences and changing audience scope.

Enum describing possible audience errors.

Enums

UNSPECIFIED

Enum unspecified.

UNKNOWN

The received error code is not known in this version.

NAME_ALREADY_IN_USE

An audience with this name already exists.

DIMENSION_INVALID

A dimension within the audience definition is not valid.

AUDIENCE_SEGMENT_NOT_FOUND

One of the audience segment added is not found.

AUDIENCE_SEGMENT_TYPE_NOT_SUPPORTED

One of the audience segment type is not supported.

DUPLICATE_AUDIENCE_SEGMENT

The same segment already exists in this audience.

TOO_MANY_SEGMENTS

Audience can't have more than allowed number segments.

TOO_MANY_DIMENSIONS_OF_SAME_TYPE

Audience can't have multiple dimensions of same type.

IN_USE

The audience cannot be removed, because it is currently used in an ad group criterion or asset group signal in an (enabled or paused) ad group or campaign.

MISSING_ASSET_GROUP_ID

Asset Group scoped audience requires an asset group ID.

CANNOT_CHANGE_FROM_CUSTOMER_TO_ASSET_GROUP_SCOPE

Audience scope may not be changed from Customer to AssetGroup.