Interested in sharing your feedback about the Google Ads API?
Sign up to be invited to participate in user research!
CustomInterestError
Enum describing possible custom interest errors.
Enums |
UNSPECIFIED
|
Enum unspecified. |
UNKNOWN
|
The received error code is not known in this version. |
NAME_ALREADY_USED
|
Duplicate custom interest name ignoring case. |
CUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE
|
In the remove custom interest member operation, both member ID and pair [type, parameter] are not present. |
TYPE_AND_PARAMETER_NOT_FOUND
|
The pair of [type, parameter] does not exist. |
TYPE_AND_PARAMETER_ALREADY_EXISTED
|
The pair of [type, parameter] already exists. |
INVALID_CUSTOM_INTEREST_MEMBER_TYPE
|
Unsupported custom interest member type. |
CANNOT_REMOVE_WHILE_IN_USE
|
Cannot remove a custom interest while it's still being targeted. |
CANNOT_CHANGE_TYPE
|
Cannot mutate custom interest type. |
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-05-29 UTC.
[null,null,["Last updated 2024-05-29 UTC."],[[["This enum describes potential errors that can occur when working with custom interests."],["Errors include duplicates, invalid operations like removing in-use interests or changing types, and issues with member IDs or type parameters."],["It covers a range of scenarios including unspecified errors, unknown error codes, and issues with name duplication or member parameters."],["Some specific errors relate to the presence or absence of member IDs and parameters, along with validation of custom interest member types."]]],["The provided content outlines error codes related to custom interests. Errors include `UNSPECIFIED` and `UNKNOWN` for undefined or unrecognized issues. Specific problems involve duplicate names (`NAME_ALREADY_USED`), missing member information during removal (`CUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE`), and non-existent or already existing type/parameter pairs. Other errors are caused by an unsupported member type (`INVALID_CUSTOM_INTEREST_MEMBER_TYPE`), attempting to remove a custom interest in use (`CANNOT_REMOVE_WHILE_IN_USE`), and the inability to modify the type (`CANNOT_CHANGE_TYPE`).\n"]]