CustomAudienceError

  • This content describes an enum detailing possible errors that can occur with custom audiences.

  • The enums cover errors related to naming, usage, existence, member details, policy violations, and type changes.

  • Errors include issues like duplicated names, trying to remove an audience in use, or adding duplicate members.

  • Policy violations and invalid type changes are also included in the list of possible errors.

Enum describing possible custom audience errors.

Proto definition

Enums

CANNOT_REMOVE_WHILE_IN_USE

Cannot remove a custom audience while it's still being used as targeting.

INVALID_MEMBER_TYPE

Member type is invalid.

INVALID_TYPE_CHANGE

Change in custom audience type is not allowed.

MEMBER_TYPE_AND_PARAMETER_ALREADY_EXISTED

The pair of [type, value] already exists in members.

MEMBER_TYPE_AND_VALUE_DOES_NOT_MATCH

Member type does not have associated value.

NAME_ALREADY_USED

New name in the custom audience is duplicated ignoring cases.

POLICY_VIOLATION

Custom audience contains a member that violates policy.

RESOURCE_ALREADY_REMOVED

Cannot update or remove a custom audience that is already removed.

UNKNOWN

The received error code is not known in this version.

UNSPECIFIED

Enum unspecified.