Enum google_api_proto::google::ads::googleads::v14::enums::ad_type_enum::AdType
source · #[repr(i32)]pub enum AdType {
Show 33 variants
Unspecified = 0,
Unknown = 1,
TextAd = 2,
ExpandedTextAd = 3,
ExpandedDynamicSearchAd = 7,
HotelAd = 8,
ShoppingSmartAd = 9,
ShoppingProductAd = 10,
VideoAd = 12,
ImageAd = 14,
ResponsiveSearchAd = 15,
LegacyResponsiveDisplayAd = 16,
AppAd = 17,
LegacyAppInstallAd = 18,
ResponsiveDisplayAd = 19,
LocalAd = 20,
Html5UploadAd = 21,
DynamicHtml5Ad = 22,
AppEngagementAd = 23,
ShoppingComparisonListingAd = 24,
VideoBumperAd = 25,
VideoNonSkippableInStreamAd = 26,
VideoOutstreamAd = 27,
VideoTrueviewInStreamAd = 29,
VideoResponsiveAd = 30,
SmartCampaignAd = 31,
CallAd = 32,
AppPreRegistrationAd = 33,
InFeedVideoAd = 34,
DiscoveryMultiAssetAd = 35,
DiscoveryCarouselAd = 36,
TravelAd = 37,
DiscoveryVideoResponsiveAd = 38,
}
Expand description
The possible types of an ad.
Variants§
Unspecified = 0
No value has been specified.
Unknown = 1
The received value is not known in this version.
This is a response-only value.
TextAd = 2
The ad is a text ad.
ExpandedTextAd = 3
The ad is an expanded text ad.
ExpandedDynamicSearchAd = 7
The ad is an expanded dynamic search ad.
HotelAd = 8
The ad is a hotel ad.
ShoppingSmartAd = 9
The ad is a Smart Shopping ad.
ShoppingProductAd = 10
The ad is a standard Shopping ad.
VideoAd = 12
The ad is a video ad.
ImageAd = 14
This ad is an Image ad.
ResponsiveSearchAd = 15
The ad is a responsive search ad.
LegacyResponsiveDisplayAd = 16
The ad is a legacy responsive display ad.
AppAd = 17
The ad is an app ad.
LegacyAppInstallAd = 18
The ad is a legacy app install ad.
ResponsiveDisplayAd = 19
The ad is a responsive display ad.
LocalAd = 20
The ad is a local ad.
Html5UploadAd = 21
The ad is a display upload ad with the HTML5_UPLOAD_AD product type.
DynamicHtml5Ad = 22
The ad is a display upload ad with one of the DYNAMIC_HTML5_* product types.
AppEngagementAd = 23
The ad is an app engagement ad.
ShoppingComparisonListingAd = 24
The ad is a Shopping Comparison Listing ad.
VideoBumperAd = 25
Video bumper ad.
VideoNonSkippableInStreamAd = 26
Video non-skippable in-stream ad.
VideoOutstreamAd = 27
Video outstream ad.
VideoTrueviewInStreamAd = 29
Video TrueView in-stream ad.
VideoResponsiveAd = 30
Video responsive ad.
SmartCampaignAd = 31
Smart campaign ad.
CallAd = 32
Call ad.
AppPreRegistrationAd = 33
Universal app pre-registration ad.
InFeedVideoAd = 34
In-feed video ad.
DiscoveryMultiAssetAd = 35
Discovery multi asset ad.
DiscoveryCarouselAd = 36
Discovery carousel ad.
TravelAd = 37
Travel ad.
DiscoveryVideoResponsiveAd = 38
Discovery video responsive ad.
Implementations§
source§impl AdType
impl AdType
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Ord for AdType
impl Ord for AdType
source§impl PartialEq for AdType
impl PartialEq for AdType
source§impl PartialOrd for AdType
impl PartialOrd for AdType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for AdType
impl TryFrom<i32> for AdType
§type Error = DecodeError
type Error = DecodeError
impl Copy for AdType
impl Eq for AdType
impl StructuralPartialEq for AdType
Auto Trait Implementations§
impl Freeze for AdType
impl RefUnwindSafe for AdType
impl Send for AdType
impl Sync for AdType
impl Unpin for AdType
impl UnwindSafe for AdType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request