CustomAudienceError
Enum describing possible custom audience errors.
Enums |
UNSPECIFIED
|
Enum unspecified. |
UNKNOWN
|
The received error code is not known in this version. |
NAME_ALREADY_USED
|
New name in the custom audience is duplicated ignoring cases. |
CANNOT_REMOVE_WHILE_IN_USE
|
Cannot remove a custom audience while it's still being used as targeting. |
RESOURCE_ALREADY_REMOVED
|
Cannot update or remove a custom audience that is already removed. |
MEMBER_TYPE_AND_PARAMETER_ALREADY_EXISTED
|
The pair of [type, value] already exists in members. |
INVALID_MEMBER_TYPE
|
Member type is invalid. |
MEMBER_TYPE_AND_VALUE_DOES_NOT_MATCH
|
Member type does not have associated value. |
POLICY_VIOLATION
|
Custom audience contains a member that violates policy. |
INVALID_TYPE_CHANGE
|
Change in custom audience type is not allowed. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-20 UTC.
[null,null,["Last updated 2024-02-20 UTC."],[[["This enum outlines potential errors encountered when working with custom audiences in advertising."],["Errors encompass issues like duplicate naming, removal restrictions, member conflicts, and policy violations."],["Specific error codes help identify the cause of the issue, including unspecified errors or those unknown in the current version."],["Problems with member types and values are also indicated by specific error codes."],["Policy violations related to custom audience content will trigger a corresponding error."]]],[]]