Enum google_api_proto::google::ads::searchads360::v0::enums::targeting_dimension_enum::TargetingDimension
source · #[repr(i32)]pub enum TargetingDimension {
Unspecified = 0,
Unknown = 1,
Keyword = 2,
Audience = 3,
Topic = 4,
Gender = 5,
AgeRange = 6,
Placement = 7,
ParentalStatus = 8,
IncomeRange = 9,
}
Expand description
Enum describing possible targeting dimensions.
Variants§
Unspecified = 0
Not specified.
Unknown = 1
Used for return value only. Represents value unknown in this version.
Keyword = 2
Keyword criteria, for example, ‘mars cruise’. KEYWORD may be used as a custom bid dimension. Keywords are always a targeting dimension, so may not be set as a target “ALL” dimension with TargetRestriction.
Audience = 3
Audience criteria, which include user list, user interest, custom affinity, and custom in market.
Topic = 4
Topic criteria for targeting categories of content, for example, ‘category::Animals>Pets’ Used for Display and Video targeting.
Gender = 5
Criteria for targeting gender.
AgeRange = 6
Criteria for targeting age ranges.
Placement = 7
Placement criteria, which include websites like ‘www.flowers4sale.com’, as well as mobile applications, mobile app categories, YouTube videos, and YouTube channels.
ParentalStatus = 8
Criteria for parental status targeting.
IncomeRange = 9
Criteria for income range targeting.
Implementations§
source§impl TargetingDimension
impl TargetingDimension
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 TargetingDimension
impl Clone for TargetingDimension
source§fn clone(&self) -> TargetingDimension
fn clone(&self) -> TargetingDimension
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TargetingDimension
impl Debug for TargetingDimension
source§impl Default for TargetingDimension
impl Default for TargetingDimension
source§fn default() -> TargetingDimension
fn default() -> TargetingDimension
source§impl From<TargetingDimension> for i32
impl From<TargetingDimension> for i32
source§fn from(value: TargetingDimension) -> i32
fn from(value: TargetingDimension) -> i32
source§impl Hash for TargetingDimension
impl Hash for TargetingDimension
source§impl Ord for TargetingDimension
impl Ord for TargetingDimension
source§fn cmp(&self, other: &TargetingDimension) -> Ordering
fn cmp(&self, other: &TargetingDimension) -> 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 TargetingDimension
impl PartialEq for TargetingDimension
source§fn eq(&self, other: &TargetingDimension) -> bool
fn eq(&self, other: &TargetingDimension) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TargetingDimension
impl PartialOrd for TargetingDimension
source§fn partial_cmp(&self, other: &TargetingDimension) -> Option<Ordering>
fn partial_cmp(&self, other: &TargetingDimension) -> 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 TargetingDimension
impl TryFrom<i32> for TargetingDimension
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<TargetingDimension, UnknownEnumValue>
fn try_from(value: i32) -> Result<TargetingDimension, UnknownEnumValue>
impl Copy for TargetingDimension
impl Eq for TargetingDimension
impl StructuralPartialEq for TargetingDimension
Auto Trait Implementations§
impl Freeze for TargetingDimension
impl RefUnwindSafe for TargetingDimension
impl Send for TargetingDimension
impl Sync for TargetingDimension
impl Unpin for TargetingDimension
impl UnwindSafe for TargetingDimension
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