Enum googapis::google::ads::googleads::v8::errors::criterion_error_enum::CriterionError [−][src]
#[repr(i32)]
pub enum CriterionError {
Show 128 variants
Unspecified,
Unknown,
ConcreteTypeRequired,
InvalidExcludedCategory,
InvalidKeywordText,
KeywordTextTooLong,
KeywordHasTooManyWords,
KeywordHasInvalidChars,
InvalidPlacementUrl,
InvalidUserList,
InvalidUserInterest,
InvalidFormatForPlacementUrl,
PlacementUrlIsTooLong,
PlacementUrlHasIllegalChar,
PlacementUrlHasMultipleSitesInLine,
PlacementIsNotAvailableForTargetingOrExclusion,
InvalidTopicPath,
InvalidYoutubeChannelId,
InvalidYoutubeVideoId,
YoutubeVerticalChannelDeprecated,
YoutubeDemographicChannelDeprecated,
YoutubeUrlUnsupported,
CannotExcludeCriteriaType,
CannotAddCriteriaType,
CannotExcludeSimilarUserList,
CannotAddClosedUserList,
CannotAddDisplayOnlyListsToSearchOnlyCampaigns,
CannotAddDisplayOnlyListsToSearchCampaigns,
CannotAddDisplayOnlyListsToShoppingCampaigns,
CannotAddUserInterestsToSearchCampaigns,
CannotSetBidsOnCriterionTypeInSearchCampaigns,
CannotAddUrlsToCriterionTypeForCampaignType,
InvalidCombinedAudience,
InvalidCustomAffinity,
InvalidCustomIntent,
InvalidCustomAudience,
InvalidIpAddress,
InvalidIpFormat,
InvalidMobileApp,
InvalidMobileAppCategory,
InvalidCriterionId,
CannotTargetCriterion,
CannotTargetObsoleteCriterion,
CriterionIdAndTypeMismatch,
InvalidProximityRadius,
InvalidProximityRadiusUnits,
InvalidStreetaddressLength,
InvalidCitynameLength,
InvalidRegioncodeLength,
InvalidRegionnameLength,
InvalidPostalcodeLength,
InvalidCountryCode,
InvalidLatitude,
InvalidLongitude,
ProximityGeopointAndAddressBothCannotBeNull,
InvalidProximityAddress,
InvalidUserDomainName,
CriterionParameterTooLong,
AdScheduleTimeIntervalsOverlap,
AdScheduleIntervalCannotSpanMultipleDays,
AdScheduleInvalidTimeInterval,
AdScheduleExceededIntervalsPerDayLimit,
AdScheduleCriterionIdMismatchingFields,
CannotBidModifyCriterionType,
CannotBidModifyCriterionCampaignOptedOut,
CannotBidModifyNegativeCriterion,
BidModifierAlreadyExists,
FeedIdNotAllowed,
AccountIneligibleForCriteriaType,
CriteriaTypeInvalidForBiddingStrategy,
CannotExcludeCriterion,
CannotRemoveCriterion,
InvalidProductBiddingCategory,
MissingShoppingSetting,
InvalidMatchingFunction,
LocationFilterNotAllowed,
InvalidFeedForLocationFilter,
LocationFilterInvalid,
CannotSetGeoTargetConstantsWithFeedItemSets,
InvalidLocationGroupRadius,
InvalidLocationGroupRadiusUnit,
CannotAttachCriteriaAtCampaignAndAdgroup,
HotelLengthOfStayOverlapsWithExistingCriterion,
HotelAdvanceBookingWindowOverlapsWithExistingCriterion,
FieldIncompatibleWithNegativeTargeting,
InvalidWebpageCondition,
InvalidWebpageConditionUrl,
WebpageConditionUrlCannotBeEmpty,
WebpageConditionUrlUnsupportedProtocol,
WebpageConditionUrlCannotBeIpAddress,
WebpageConditionUrlDomainNotConsistentWithCampaignSetting,
WebpageConditionUrlCannotBePublicSuffix,
WebpageConditionUrlInvalidPublicSuffix,
WebpageConditionUrlValueTrackValueNotSupported,
WebpageCriterionUrlEqualsCanHaveOnlyOneCondition,
WebpageCriterionNotSupportedOnNonDsaAdGroup,
CannotTargetUserListForSmartDisplayCampaigns,
CannotTargetPlacementsForSearchCampaigns,
ListingScopeTooManyDimensionTypes,
ListingScopeTooManyInOperators,
ListingScopeInOperatorNotSupported,
DuplicateListingDimensionType,
DuplicateListingDimensionValue,
CannotSetBidsOnListingGroupSubdivision,
InvalidListingGroupHierarchy,
ListingGroupUnitCannotHaveChildren,
ListingGroupSubdivisionRequiresOthersCase,
ListingGroupRequiresSameDimensionTypeAsSiblings,
ListingGroupAlreadyExists,
ListingGroupDoesNotExist,
ListingGroupCannotBeRemoved,
InvalidListingGroupType,
ListingGroupAddMayOnlyUseTempId,
ListingScopeTooLong,
ListingScopeTooManyDimensions,
ListingGroupTooLong,
ListingGroupTreeTooDeep,
InvalidListingDimension,
InvalidListingDimensionType,
AdvertiserNotOnAllowlistForCombinedAudienceOnDisplay,
CannotTargetRemovedCombinedAudience,
InvalidCombinedAudienceId,
CannotTargetRemovedCustomAudience,
HotelCheckInDateRangeOverlapsWithExistingCriterion,
HotelCheckInDateRangeStartDateTooEarly,
HotelCheckInDateRangeEndDateTooLate,
HotelCheckInDateRangeReversed,
BroadMatchModifierKeywordNotAllowed,
}
Expand description
Enum describing possible criterion errors.
Variants
Enum unspecified.
The received error code is not known in this version.
Concrete type of criterion is required for CREATE and UPDATE operations.
The category requested for exclusion is invalid.
Invalid keyword criteria text.
Keyword text should be less than 80 chars.
Keyword text has too many words.
Keyword text has invalid characters or symbols.
Invalid placement URL.
Invalid user list criterion.
Invalid user interest criterion.
Placement URL has wrong format.
Placement URL is too long.
Indicates the URL contains an illegal character.
Indicates the URL contains multiple comma separated URLs.
Indicates the domain is blocked.
Invalid topic path.
The YouTube Channel Id is invalid.
The YouTube Video Id is invalid.
Indicates the placement is a YouTube vertical channel, which is no longer supported.
Indicates the placement is a YouTube demographic channel, which is no longer supported.
YouTube urls are not supported in Placement criterion. Use YouTubeChannel and YouTubeVideo criterion instead.
Criteria type can not be excluded by the customer, like AOL account type cannot target site type criteria.
Criteria type can not be targeted.
Not allowed to exclude similar user list.
Not allowed to target a closed user list.
Not allowed to add display only UserLists to search only campaigns.
Not allowed to add display only UserLists to search plus campaigns.
Not allowed to add display only UserLists to shopping campaigns.
Not allowed to add User interests to search only campaigns.
Not allowed to set bids for this criterion type in search campaigns
Final URLs, URL Templates and CustomParameters cannot be set for the criterion types of Gender, AgeRange, UserList, Placement, MobileApp, and MobileAppCategory in search campaigns and shopping campaigns.
Invalid combined audience criterion.
Invalid custom affinity criterion.
Invalid custom intent criterion.
Invalid custom audience criterion.
IP address is not valid.
IP format is not valid.
Mobile application is not valid.
Mobile application category is not valid.
The CriterionId does not exist or is of the incorrect type.
The Criterion is not allowed to be targeted.
The criterion is not allowed to be targeted as it is deprecated.
The CriterionId is not valid for the type.
Distance for the radius for the proximity criterion is invalid.
Units for the distance for the radius for the proximity criterion is invalid.
Street address in the address is not valid.
City name in the address is not valid.
Region code in the address is not valid.
Region name in the address is not valid.
Postal code in the address is not valid.
Country code in the address is not valid.
Latitude for the GeoPoint is not valid.
Longitude for the GeoPoint is not valid.
The Proximity input is not valid. Both address and geoPoint cannot be null.
The Proximity address cannot be geocoded to a valid lat/long.
User domain name is not valid.
Length of serialized criterion parameter exceeded size limit.
Time interval in the AdSchedule overlaps with another AdSchedule.
AdSchedule time interval cannot span multiple days.
AdSchedule time interval specified is invalid, endTime cannot be earlier than startTime.
The number of AdSchedule entries in a day exceeds the limit.
CriteriaId does not match the interval of the AdSchedule specified.
Cannot set bid modifier for this criterion type.
Cannot bid modify criterion, since it is opted out of the campaign.
Cannot set bid modifier for a negative criterion.
Bid Modifier already exists. Use SET operation to update.
Feed Id is not allowed in these Location Groups.
The account may not use the requested criteria type. For example, some accounts are restricted to keywords only.
The requested criteria type cannot be used with campaign or ad group bidding strategy.
The Criterion is not allowed to be excluded.
The criterion is not allowed to be removed. For example, we cannot remove any of the device criterion.
Bidding categories do not form a valid path in the Shopping bidding category taxonomy.
ShoppingSetting must be added to the campaign before ProductScope criteria can be added.
Matching function is invalid.
Filter parameters not allowed for location groups targeting.
Feed not found, or the feed is not an enabled location feed.
Given location filter parameter is invalid for location groups targeting.
Cannot set geo target constants and feed item sets at the same time.
The location group radius is in the range but not at the valid increment.
The location group radius unit is invalid.
Criteria type cannot be associated with a campaign and its ad group(s) simultaneously.
Range represented by hotel length of stay’s min nights and max nights overlaps with an existing criterion.
Range represented by hotel advance booking window’s min days and max days overlaps with an existing criterion.
The field is not allowed to be set when the negative field is set to true, e.g. we don’t allow bids in negative ad group or campaign criteria.
The combination of operand and operator in webpage condition is invalid.
The URL of webpage condition is invalid.
The URL of webpage condition cannot be empty or contain white space.
The URL of webpage condition contains an unsupported protocol.
The URL of webpage condition cannot be an IP address.
The domain of the URL is not consistent with the domain in campaign setting.
The URL of webpage condition cannot be a public suffix itself.
The URL of webpage condition has an invalid public suffix.
Value track parameter is not supported in webpage condition URL.
Only one URL-EQUALS webpage condition is allowed in a webpage criterion and it cannot be combined with other conditions.
A webpage criterion cannot be added to a non-DSA ad group.
Cannot add positive user list criteria in Smart Display campaigns.
Cannot add positive placement criterion types in search campaigns.
Listing scope contains too many dimension types.
Listing scope has too many IN operators.
Listing scope contains IN operator on an unsupported dimension type.
There are dimensions with duplicate dimension type.
There are dimensions with duplicate dimension value.
Listing group SUBDIVISION nodes cannot have bids.
Ad group is invalid due to the listing groups it contains.
Listing group unit cannot have children.
Subdivided listing groups must have an “others” case.
Dimension type of listing group must be the same as that of its siblings.
Listing group cannot be added to the ad group because it already exists.
Listing group referenced in the operation was not found in the ad group.
Recursive removal failed because listing group subdivision is being created or modified in this request.
Listing group type is not allowed for specified ad group criterion type.
Listing group in an ADD operation specifies a non temporary criterion id.
The combined length of dimension values of the Listing scope criterion is too long.
Listing scope contains too many dimensions.
The combined length of dimension values of the Listing group criterion is too long.
Listing group tree is too deep.
Listing dimension is invalid (e.g. dimension contains illegal value, dimension type is represented with wrong class, etc). Listing dimension value can not contain “==” or “&+”.
Listing dimension type is either invalid for campaigns of this type or cannot be used in the current context. BIDDING_CATEGORY_Lx and PRODUCT_TYPE_Lx dimensions must be used in ascending order of their levels: L1, L2, L3, L4, L5… The levels must be specified sequentially and start from L1. Furthermore, an “others” Listing group cannot be subdivided with a dimension of the same type but of a higher level (“others” BIDDING_CATEGORY_L3 can be subdivided with BRAND but not with BIDDING_CATEGORY_L4).
Customer is not on allowlist for composite audience in display campaigns.
Cannot target on a removed combined audience.
Combined audience ID is invalid.
Can not target removed combined audience.
Range represented by hotel check-in date’s start date and end date overlaps with an existing criterion.
Start date is earlier than earliest allowed value of yesterday UTC.
End date later is than latest allowed day of 330 days in the future UTC.
Start date is after end date.
Broad match modifier (BMM) keywords can no longer be created. Please see https://ads-developers.googleblog.com/2021/06/broad-match-modifier-upcoming-changes.html.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for CriterionError
impl Send for CriterionError
impl Sync for CriterionError
impl Unpin for CriterionError
impl UnwindSafe for CriterionError
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more