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
Enum unspecified.
The received error code is not known in this version.
No link found between the AdGroupCriterion and the label.
The label has already been attached to the AdGroupCriterion.
Negative AdGroupCriterion cannot have labels.
Too many operations for a single call.
Negative ad group criteria are not updateable.
Concrete type of criterion (keyword v.s. placement) is required for ADD and SET operations.
Bid is incompatible with ad group’s bidding settings.
Cannot target and exclude the same criterion at once.
The URL of a placement is invalid.
Keyword text was invalid.
Destination URL was invalid.
The destination url must contain at least one tag (e.g. {lpurl})
Keyword-level cpm bid is not supported
For example, cannot add a biddable ad group criterion that had been removed.
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.
Criteria type cannot be excluded for the ad group. Refer to the documentation for a specific criterion to check if it is excludable.
Partial failure is not supported for shopping campaign mutate operations.
Operations in the mutate request changes too many shopping ad groups. Please split requests for multiple shopping ad groups across multiple requests.
Not allowed to modify url fields of an ad group criterion if there are duplicate elements for that ad group criterion in the request.
Cannot set url fields without also setting final urls.
Cannot clear final urls if final mobile urls exist.
Cannot clear final urls if final app urls exist.
Cannot clear final urls if tracking url template exists.
Cannot clear final urls if url custom parameters exist.
Cannot set both destination url and final urls.
Cannot set both destination url and tracking url template.
Final urls are not supported for this criterion type.
Final mobile urls are not supported for this criterion type.
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 AdGroupCriterionError
impl Send for AdGroupCriterionError
impl Sync for AdGroupCriterionError
impl Unpin for AdGroupCriterionError
impl UnwindSafe for AdGroupCriterionError
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