Enum google_api_proto::google::ads::searchads360::v0::enums::ad_group_type_enum::AdGroupType
source · #[repr(i32)]pub enum AdGroupType {
Show 20 variants
Unspecified = 0,
Unknown = 1,
SearchStandard = 2,
DisplayStandard = 3,
ShoppingProductAds = 4,
ShoppingShowcaseAds = 5,
HotelAds = 6,
ShoppingSmartAds = 7,
VideoBumper = 8,
VideoTrueViewInStream = 9,
VideoTrueViewInDisplay = 10,
VideoNonSkippableInStream = 11,
VideoOutstream = 12,
SearchDynamicAds = 13,
ShoppingComparisonListingAds = 14,
PromotedHotelAds = 15,
VideoResponsive = 16,
VideoEfficientReach = 17,
SmartCampaignAds = 18,
TravelAds = 19,
}
Expand description
Enum listing the possible types of an ad group.
Variants§
Unspecified = 0
The type has not been specified.
Unknown = 1
The received value is not known in this version.
This is a response-only value.
SearchStandard = 2
The default ad group type for Search campaigns.
DisplayStandard = 3
The default ad group type for Display campaigns.
ShoppingProductAds = 4
The ad group type for Shopping campaigns serving standard product ads.
ShoppingShowcaseAds = 5
The type for ad groups that are limited to serving Showcase or Merchant ads in Shopping results.
HotelAds = 6
The default ad group type for Hotel campaigns.
ShoppingSmartAds = 7
The type for ad groups in Smart Shopping campaigns.
VideoBumper = 8
Short unskippable in-stream video ads.
VideoTrueViewInStream = 9
TrueView (skippable) in-stream video ads.
VideoTrueViewInDisplay = 10
TrueView in-display video ads.
VideoNonSkippableInStream = 11
Unskippable in-stream video ads.
VideoOutstream = 12
Outstream video ads.
SearchDynamicAds = 13
Ad group type for Dynamic Search Ads ad groups.
ShoppingComparisonListingAds = 14
The type for ad groups in Shopping Comparison Listing campaigns.
PromotedHotelAds = 15
The ad group type for Promoted Hotel ad groups.
VideoResponsive = 16
Video responsive ad groups.
VideoEfficientReach = 17
Video efficient reach ad groups.
SmartCampaignAds = 18
Ad group type for Smart campaigns.
TravelAds = 19
Ad group type for Travel campaigns.
Implementations§
source§impl AdGroupType
impl AdGroupType
source§impl AdGroupType
impl AdGroupType
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 Clone for AdGroupType
impl Clone for AdGroupType
source§fn clone(&self) -> AdGroupType
fn clone(&self) -> AdGroupType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AdGroupType
impl Debug for AdGroupType
source§impl Default for AdGroupType
impl Default for AdGroupType
source§fn default() -> AdGroupType
fn default() -> AdGroupType
source§impl From<AdGroupType> for i32
impl From<AdGroupType> for i32
source§fn from(value: AdGroupType) -> i32
fn from(value: AdGroupType) -> i32
source§impl Hash for AdGroupType
impl Hash for AdGroupType
source§impl Ord for AdGroupType
impl Ord for AdGroupType
source§fn cmp(&self, other: &AdGroupType) -> Ordering
fn cmp(&self, other: &AdGroupType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for AdGroupType
impl PartialEq for AdGroupType
source§fn eq(&self, other: &AdGroupType) -> bool
fn eq(&self, other: &AdGroupType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AdGroupType
impl PartialOrd for AdGroupType
source§fn partial_cmp(&self, other: &AdGroupType) -> Option<Ordering>
fn partial_cmp(&self, other: &AdGroupType) -> Option<Ordering>
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 AdGroupType
impl TryFrom<i32> for AdGroupType
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<AdGroupType, DecodeError>
fn try_from(value: i32) -> Result<AdGroupType, DecodeError>
impl Copy for AdGroupType
impl Eq for AdGroupType
impl StructuralPartialEq for AdGroupType
Auto Trait Implementations§
impl Freeze for AdGroupType
impl RefUnwindSafe for AdGroupType
impl Send for AdGroupType
impl Sync for AdGroupType
impl Unpin for AdGroupType
impl UnwindSafe for AdGroupType
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