Enum google_api_proto::google::ads::admanager::v1::line_item_type_enum::LineItemType
source · #[repr(i32)]pub enum LineItemType {
Show 14 variants
Unspecified = 0,
Sponsorship = 12,
Standard = 13,
Network = 9,
Bulk = 4,
PricePriority = 11,
House = 7,
LegacyDfp = 8,
ClickTracking = 6,
Adsense = 2,
AdExchange = 3,
Bumper = 5,
Admob = 1,
PreferredDeal = 10,
}
Expand description
Indicates the priority of a LineItem, determined by the way in which impressions are reserved to be served for it.
Variants§
Unspecified = 0
Not specified value.
Sponsorship = 12
The type of LineItem for which a percentage of all the impressions that are being sold are reserved.
Standard = 13
The type of LineItem for which a fixed quantity of impressions or clicks are reserved.
Network = 9
The type of LineItem most commonly used to fill a site’s unsold inventory if not contractually obligated to deliver a requested number of impressions. Uses daily percentage of unsold impressions or clicks.
Bulk = 4
The type of LineItem for which a fixed quantity of impressions or clicks will be delivered at a priority lower than the STANDARD type.
PricePriority = 11
The type of LineItem most commonly used to fill a site’s unsold inventory if not contractually obligated to deliver a requested number of impressions. Uses fixed quantity percentage of unsold impressions or clicks.
House = 7
The type of LineItem typically used for ads that promote products and services chosen by the publisher.
LegacyDfp = 8
Represents a legacy LineItem that has been migrated from the DFP system.
ClickTracking = 6
The type of LineItem used for ads that track ads being served externally of Ad Manager.
Adsense = 2
A LineItem using dynamic allocation backed by AdSense.
AdExchange = 3
A LineItem using dynamic allocation backed by the Google Ad Exchange.
Bumper = 5
Represents a non-monetizable video LineItem that targets one or more bumper positions, which are short house video messages used by publishers to separate content from ad breaks.
Admob = 1
A LineItem using dynamic allocation backed by AdMob.
PreferredDeal = 10
The type of LineItem for which there are no impressions reserved, and will serve for a second price bid.
Implementations§
source§impl LineItemType
impl LineItemType
source§impl LineItemType
impl LineItemType
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 LineItemType
impl Clone for LineItemType
source§fn clone(&self) -> LineItemType
fn clone(&self) -> LineItemType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LineItemType
impl Debug for LineItemType
source§impl Default for LineItemType
impl Default for LineItemType
source§fn default() -> LineItemType
fn default() -> LineItemType
source§impl From<LineItemType> for i32
impl From<LineItemType> for i32
source§fn from(value: LineItemType) -> i32
fn from(value: LineItemType) -> i32
source§impl Hash for LineItemType
impl Hash for LineItemType
source§impl Ord for LineItemType
impl Ord for LineItemType
source§fn cmp(&self, other: &LineItemType) -> Ordering
fn cmp(&self, other: &LineItemType) -> 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 LineItemType
impl PartialEq for LineItemType
source§fn eq(&self, other: &LineItemType) -> bool
fn eq(&self, other: &LineItemType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for LineItemType
impl PartialOrd for LineItemType
source§fn partial_cmp(&self, other: &LineItemType) -> Option<Ordering>
fn partial_cmp(&self, other: &LineItemType) -> 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 LineItemType
impl TryFrom<i32> for LineItemType
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<LineItemType, DecodeError>
fn try_from(value: i32) -> Result<LineItemType, DecodeError>
impl Copy for LineItemType
impl Eq for LineItemType
impl StructuralPartialEq for LineItemType
Auto Trait Implementations§
impl Freeze for LineItemType
impl RefUnwindSafe for LineItemType
impl Send for LineItemType
impl Sync for LineItemType
impl Unpin for LineItemType
impl UnwindSafe for LineItemType
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