public enum TargetingIdeaErrorReason extends Enum<TargetingIdeaErrorReason>
Java class for TargetingIdeaError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TargetingIdeaError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="DUPLICATE_SEARCH_FILTER_TYPES_PRESENT"/>
<enumeration value="INSUFFICIENT_SEARCH_PARAMETERS"/>
<enumeration value="INVALID_ATTRIBUTE_TYPE"/>
<enumeration value="INVALID_SEARCH_PARAMETERS"/>
<enumeration value="INVALID_DOMAIN_SUFFIX"/>
<enumeration value="MUTUALLY_EXCLUSIVE_SEARCH_PARAMETERS_IN_QUERY"/>
<enumeration value="SERVICE_UNAVAILABLE"/>
<enumeration value="INVALID_URL_IN_SEARCH_PARAMETER"/>
<enumeration value="TOO_MANY_RESULTS_REQUESTED"/>
<enumeration value="NO_PAGING_IN_SELECTOR"/>
<enumeration value="INVALID_INCLUDED_EXCLUDED_KEYWORDS"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DUPLICATE_SEARCH_FILTER_TYPES_PRESENT
Error returned when there are multiple instance of same type of
SearchParameters. |
INSUFFICIENT_SEARCH_PARAMETERS
Error returned when the
TargetingIdeaSelector doesn't have enough
SearchParameters to execute request. |
INVALID_ATTRIBUTE_TYPE
Error returned when an
AttributeType doesn't match the IdeaType specified in
the TargetingIdeaSelector. |
INVALID_DOMAIN_SUFFIX
Error returned when the
TargetingIdeaSelector contains a
DomainSuffixSearchParameters that contains an invalid domain suffix. |
INVALID_INCLUDED_EXCLUDED_KEYWORDS
Error returned when included keywords and excluded keywords in
IdeaTextFilterSearchParameter, IdeaTextMatchesSearchParameter
or ExcludedKeywordSearchParameter are overlapped. |
INVALID_SEARCH_PARAMETERS
Error returned when a
SearchParameter doesn't match the IdeaType specified in
the TargetingIdeaSelector or is otherwise invalid. |
INVALID_URL_IN_SEARCH_PARAMETER
Error returned when the URL value specified in the
TargetingIdeaSelector, such as
RelatedToUrlSearchParameter, is not a valid URL. |
MUTUALLY_EXCLUSIVE_SEARCH_PARAMETERS_IN_QUERY
Error returned when a selector contains mutually exclusive parameters.
|
NO_PAGING_IN_SELECTOR
Error returned when the requested
Paging is missing from the
TargetingIdeaSelector when required. |
SERVICE_UNAVAILABLE
Error returned when the
TargetingIdeaService is not available. |
TOO_MANY_RESULTS_REQUESTED
Error returned when the requested number of entries in
TargetingIdeaSelector's
Paging is greater than the maximum allowed. |
| Modifier and Type | Method and Description |
|---|---|
static TargetingIdeaErrorReason |
fromValue(String v) |
String |
value() |
static TargetingIdeaErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TargetingIdeaErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TargetingIdeaErrorReason DUPLICATE_SEARCH_FILTER_TYPES_PRESENT
SearchParameters.public static final TargetingIdeaErrorReason INSUFFICIENT_SEARCH_PARAMETERS
TargetingIdeaSelector doesn't have enough
SearchParameters to execute request.public static final TargetingIdeaErrorReason INVALID_ATTRIBUTE_TYPE
AttributeType doesn't match the IdeaType specified in
the TargetingIdeaSelector. For example, if the KEYWORD IDEAS selector
contains an STATS only AttributeType, this error will be returned.public static final TargetingIdeaErrorReason INVALID_SEARCH_PARAMETERS
SearchParameter doesn't match the IdeaType specified in
the TargetingIdeaSelector or is otherwise invalid. Error trigger usually contains
the parameter name, and error details contain a more detailed explanation.public static final TargetingIdeaErrorReason INVALID_DOMAIN_SUFFIX
TargetingIdeaSelector contains a
DomainSuffixSearchParameters that contains an invalid domain suffix.public static final TargetingIdeaErrorReason MUTUALLY_EXCLUSIVE_SEARCH_PARAMETERS_IN_QUERY
public static final TargetingIdeaErrorReason SERVICE_UNAVAILABLE
TargetingIdeaService is not available.public static final TargetingIdeaErrorReason INVALID_URL_IN_SEARCH_PARAMETER
TargetingIdeaSelector, such as
RelatedToUrlSearchParameter, is not a valid URL.public static final TargetingIdeaErrorReason TOO_MANY_RESULTS_REQUESTED
TargetingIdeaSelector's
Paging is greater than the maximum allowed.public static final TargetingIdeaErrorReason NO_PAGING_IN_SELECTOR
Paging is missing from the
TargetingIdeaSelector when required.public static final TargetingIdeaErrorReason INVALID_INCLUDED_EXCLUDED_KEYWORDS
IdeaTextFilterSearchParameter, IdeaTextMatchesSearchParameter
or ExcludedKeywordSearchParameter are overlapped.public static TargetingIdeaErrorReason[] values()
for (TargetingIdeaErrorReason c : TargetingIdeaErrorReason.values()) System.out.println(c);
public static TargetingIdeaErrorReason valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static TargetingIdeaErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.