Enum googapis::google::ads::googleads::v8::errors::ad_group_criterion_error_enum::AdGroupCriterionError[][src]

#[repr(i32)]
pub enum AdGroupCriterionError {
Show 30 variants Unspecified, Unknown, AdGroupCriterionLabelDoesNotExist, AdGroupCriterionLabelAlreadyExists, CannotAddLabelToNegativeCriterion, TooManyOperations, CantUpdateNegative, ConcreteTypeRequired, BidIncompatibleWithAdgroup, CannotTargetAndExclude, IllegalUrl, InvalidKeywordText, InvalidDestinationUrl, MissingDestinationUrlTag, KeywordLevelBidNotSupportedForManualcpm, InvalidUserStatus, CannotAddCriteriaType, CannotExcludeCriteriaType, CampaignTypeNotCompatibleWithPartialFailure, OperationsForTooManyShoppingAdgroups, CannotModifyUrlFieldsWithDuplicateElements, CannotSetWithoutFinalUrls, CannotClearFinalUrlsIfFinalMobileUrlsExist, CannotClearFinalUrlsIfFinalAppUrlsExist, CannotClearFinalUrlsIfTrackingUrlTemplateExists, CannotClearFinalUrlsIfUrlCustomParametersExist, CannotSetBothDestinationUrlAndFinalUrls, CannotSetBothDestinationUrlAndTrackingUrlTemplate, FinalUrlsNotSupportedForCriterionType, FinalMobileUrlsNotSupportedForCriterionType,
}
Expand description

Enum describing possible ad group criterion errors.

Variants

Unspecified

Enum unspecified.

Unknown

The received error code is not known in this version.

AdGroupCriterionLabelDoesNotExist

No link found between the AdGroupCriterion and the label.

AdGroupCriterionLabelAlreadyExists

The label has already been attached to the AdGroupCriterion.

CannotAddLabelToNegativeCriterion

Negative AdGroupCriterion cannot have labels.

TooManyOperations

Too many operations for a single call.

CantUpdateNegative

Negative ad group criteria are not updateable.

ConcreteTypeRequired

Concrete type of criterion (keyword v.s. placement) is required for ADD and SET operations.

BidIncompatibleWithAdgroup

Bid is incompatible with ad group’s bidding settings.

CannotTargetAndExclude

Cannot target and exclude the same criterion at once.

IllegalUrl

The URL of a placement is invalid.

InvalidKeywordText

Keyword text was invalid.

InvalidDestinationUrl

Destination URL was invalid.

MissingDestinationUrlTag

The destination url must contain at least one tag (e.g. {lpurl})

KeywordLevelBidNotSupportedForManualcpm

Keyword-level cpm bid is not supported

InvalidUserStatus

For example, cannot add a biddable ad group criterion that had been removed.

CannotAddCriteriaType

Criteria type cannot be targeted for the ad group. Either the account is restricted to keywords only, the criteria type is incompatible with the campaign’s bidding strategy, or the criteria type can only be applied to campaigns.

CannotExcludeCriteriaType

Criteria type cannot be excluded for the ad group. Refer to the documentation for a specific criterion to check if it is excludable.

CampaignTypeNotCompatibleWithPartialFailure

Partial failure is not supported for shopping campaign mutate operations.

OperationsForTooManyShoppingAdgroups

Operations in the mutate request changes too many shopping ad groups. Please split requests for multiple shopping ad groups across multiple requests.

CannotModifyUrlFieldsWithDuplicateElements

Not allowed to modify url fields of an ad group criterion if there are duplicate elements for that ad group criterion in the request.

CannotSetWithoutFinalUrls

Cannot set url fields without also setting final urls.

CannotClearFinalUrlsIfFinalMobileUrlsExist

Cannot clear final urls if final mobile urls exist.

CannotClearFinalUrlsIfFinalAppUrlsExist

Cannot clear final urls if final app urls exist.

CannotClearFinalUrlsIfTrackingUrlTemplateExists

Cannot clear final urls if tracking url template exists.

CannotClearFinalUrlsIfUrlCustomParametersExist

Cannot clear final urls if url custom parameters exist.

CannotSetBothDestinationUrlAndFinalUrls

Cannot set both destination url and final urls.

CannotSetBothDestinationUrlAndTrackingUrlTemplate

Cannot set both destination url and tracking url template.

FinalUrlsNotSupportedForCriterionType

Final urls are not supported for this criterion type.

FinalMobileUrlsNotSupportedForCriterionType

Final mobile urls are not supported for this criterion type.

Implementations

Returns true if value is a variant of AdGroupCriterionError.

Converts an i32 to a AdGroupCriterionError, or None if value is not a valid variant.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Performs the conversion.

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Wrap the input message T in a tonic::Request

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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