Enum gapi_grpc::google::ads::googleads::v7::errors::ad_error_enum::AdError [−][src]
Enum describing possible ad errors.
Variants
Enum unspecified.
The received error code is not known in this version.
Ad customizers are not supported for ad type.
Estimating character sizes the string is too long.
Estimating character sizes the string is too short.
There is a problem with the snippet.
Cannot modify an ad.
business name and url cannot be set at the same time
The specified field is incompatible with this ad’s type or settings.
Cannot set field when originAdId is set.
Cannot set field when an existing ad id is set for sharing.
Cannot set allowFlexibleColor false if no color is provided by user.
When user select native, no color control is allowed because we will always respect publisher color for native format serving.
Cannot specify a url for the ad type
Cannot specify a tracking or mobile url without also setting final urls
Cannot specify a legacy url and a final url simultaneously
Cannot specify a urls in UrlData and in template fields simultaneously.
This operator cannot be used with a subclass of Ad.
Customer is not approved for mobile ads.
Customer is not approved for 3PAS richmedia ads.
Customer is not approved for 3PAS redirect richmedia (Ad Exchange) ads.
Not an eligible customer
Customer is not eligible for updating beacon url
There already exists an ad with the same dimensions in the union.
Ad’s dimension must be set before setting union dimension.
Ad’s dimension must be included in the union dimensions.
Display Url cannot be specified (applies to Ad Exchange Ads)
Telephone number contains invalid characters or invalid format. Please re-enter your number using digits (0-9), dashes (-), and parentheses only.
Emergency telephone numbers are not allowed. Please enter a valid domestic phone number to connect customers to your business.
A required field was not specified or is an empty string.
A feed attribute referenced in an ad customizer tag is not in the ad customizer mapping for the feed.
The ad customizer field mapping for the feed attribute does not match the expected field type.
The use of ad customizer tags in the ad text is disallowed. Details in trigger.
Tags of the form {PH_x}, where x is a number, are disallowed in ad text.
The dimensions of the ad are specified or derived in multiple ways and are not consistent.
The status cannot differ among template ads of the same union.
The length of the string is not valid.
The ad is ineligible for upgrade.
User cannot create mobile ad for countries targeted in specified campaign.
Invalid Ad type. A specific type of Ad is required.
Headline, description or phone cannot be present when creating mobile image ad.
Image cannot be present when creating mobile text ad.
Invalid call to action text.
Invalid character in URL.
Creative’s country code is not valid.
Invalid use of Expanded Dynamic Search Ads tags ({lpurl} etc.)
An input error whose real reason was not properly mapped (should not happen).
An invalid markup language was entered.
An invalid mobile carrier was entered.
Specified mobile carriers target a country not targeted by the campaign.
Wrong number of elements for given element type
The format of the telephone number is incorrect. Please re-enter the number using the correct format.
The certified vendor format id is incorrect.
The template ad data contains validation errors.
The template field doesn’t have have the correct type.
Invalid template id.
After substituting replacement strings, the line is too wide.
The feed referenced must have ad customizer mapping to be used in a customizer tag.
Missing address component in template element address field.
An ad name must be entered.
Business name must be entered.
Description (line 2) must be entered.
Description (line 3) must be entered.
The destination url must contain at least one tag (e.g. {lpurl})
The tracking url template of ExpandedDynamicSearchAd must contain at least one tag. (e.g. {lpurl})
A valid dimension must be specified for this ad.
A display URL must be entered.
Headline must be entered.
A height must be entered.
An image must be entered.
Marketing image or product videos are required.
The markup language in which your site is written must be entered.
A mobile carrier must be entered.
Phone number must be entered.
Missing required template fields
Missing a required field value
The ad must have text.
A visible URL must be entered.
A width must be entered.
Only 1 feed can be used as the source of ad customizer substitutions in a single ad.
TempAdUnionId must be use when adding template ads.
The string has too many characters.
The string has too few characters.
Ad union dimensions cannot change for saved ads.
Address component is not {country, lat, lng}.
Unknown unique field name
Unknown unique name (template element type specifier)
Unsupported ad dimension
URL starts with an invalid scheme.
URL ends with an invalid top-level domain name.
URL contains illegal characters.
URL must contain a host name.
URL not equivalent during upgrade.
URL host name too long to be stored as visible URL (applies to Ad Exchange ads)
URL must start with a scheme.
URL should end in a valid domain extension, such as .com or .net.
URL must not end with a path.
URL must not specify a port.
URL must not contain a query.
A url scheme is not allowed in front of tag in tracking url template (e.g. http://{lpurl})
The user does not have permissions to create a template ad for the given template.
Expandable setting is inconsistent/wrong. For example, an AdX ad is invalid if it has a expandable vendor format but no expanding directions specified, or expanding directions is specified, but the vendor format is not expandable.
Format is invalid
The text of this field did not match a pattern of allowed values.
Template element is mising
Error occurred during image processing
The value is not within the valid range
Template element field is not present
Address is incomplete
Invalid address
Error retrieving specified video
Error processing audio
Display URL is incorrect for YouTube PYV ads
Too many product Images in GmailAd
Too many product Videos in GmailAd
The device preference is not compatible with the ad type
Call tracking is not supported for specified country.
Carrier specific short number is not allowed.
Specified phone number type is disallowed.
Phone number not supported for country.
Phone number not supported with call tracking enabled for country.
Premium rate phone number is not allowed.
Vanity phone number is not allowed.
Invalid call conversion type id.
Cannot disable call conversion and set conversion type id.
Cannot set path2 without path1.
Missing domain name in campaign setting when adding expanded dynamic search ad.
The associated ad is not compatible with restriction type.
Consent for call recording is required for creating/updating call only ads. Please see https://support.google.com/google-ads/answer/7412639.
Either an image or a media bundle is required in a display upload ad.
The display upload product type is not supported in this campaign.
The default value of an ad placeholder can not be the empty string.
Ad placeholders with countdown functions must not have a default value.
A previous ad placeholder that had a default value was found which means that all (non-countdown) placeholders must have a default value. This ad placeholder does not have a default value.
A previous ad placeholder that did not have a default value was found which means that no placeholders may have a default value. This ad placeholder does have a default value.
Two ad customizers may not be directly adjacent in an ad text. They must be separated by at least one character.
The ad is not associated with any enabled AdGroupAd, and cannot be updated.
Too many ad customizers in one asset.
The ad customizer tag is recognized, but the format is invalid.
Customizer tags cannot be nested.
The ad customizer syntax used in the ad is not supported.
There exists unpaired brace in the ad customizer tag.
More than one type of countdown tag exists among all text lines.
Date time in the countdown tag is invalid.
Date time in the countdown tag is in the past.
Cannot recognize the ad customizer tag.
Missing required image aspect ratio.
Implementations
impl AdError
[src]
pub fn is_valid(value: i32) -> bool
[src]
Returns true
if value
is a variant of AdError
.
pub fn from_i32(value: i32) -> Option<AdError>
[src]
Converts an i32
to a AdError
, or None
if value
is not a valid variant.
Trait Implementations
impl Clone for AdError
[src]
impl Copy for AdError
[src]
impl Debug for AdError
[src]
impl Default for AdError
[src]
impl Eq for AdError
[src]
impl From<AdError> for i32
[src]
impl Hash for AdError
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for AdError
[src]
fn cmp(&self, other: &AdError) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<AdError> for AdError
[src]
fn eq(&self, other: &AdError) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<AdError> for AdError
[src]
fn partial_cmp(&self, other: &AdError) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for AdError
[src]
impl StructuralPartialEq for AdError
[src]
Auto Trait Implementations
impl RefUnwindSafe for AdError
impl Send for AdError
impl Sync for AdError
impl Unpin for AdError
impl UnwindSafe for AdError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoRequest<T> for T
[src]
pub fn into_request(self) -> Request<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,