Struct google_api_proto::google::ads::admanager::v1::CreativePlaceholder
source · pub struct CreativePlaceholder {
pub size: Option<Size>,
pub companion_sizes: Vec<Size>,
pub expected_creative_count: i32,
pub applied_labels: Vec<AppliedLabel>,
pub amp_only: bool,
pub creative_targeting_display_name: String,
}
Expand description
Describes a slot that a creative is expected to fill. This is used in forecasting and to validate that the correct creatives are associated with the line item.
Fields§
§size: Option<Size>
Required. The size that the creative is expected to have.
companion_sizes: Vec<Size>
The companions that the creative is expected to have. This attribute can only be set if the line item it belongs to has an [EnvironmentType][google.ads.admanager.v1.EnvironmentTypeEnum.EnvironmentType] of VIDEO_PLAYER or [roadblocking_type][LineItem.roadblocking_type] of CREATIVE_SET.
expected_creative_count: i32
Expected number of creatives that will be uploaded corresponding to this creative placeholder. This estimate is used to improve the accuracy of forecasting; for example, if label frequency capping limits the number of times a creative may be served.
applied_labels: Vec<AppliedLabel>
Set of labels applied directly to this CreativePlaceholder.
amp_only: bool
Indicates if the expected creative of this placeholder has an AMP only variant. This is used to improve the accuracy of forecasting and has no effect on serving.
creative_targeting_display_name: String
The display name of the creative targeting that this CreativePlaceholder represents.
Trait Implementations§
source§impl Clone for CreativePlaceholder
impl Clone for CreativePlaceholder
source§fn clone(&self) -> CreativePlaceholder
fn clone(&self) -> CreativePlaceholder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreativePlaceholder
impl Debug for CreativePlaceholder
source§impl Default for CreativePlaceholder
impl Default for CreativePlaceholder
source§impl Message for CreativePlaceholder
impl Message for CreativePlaceholder
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for CreativePlaceholder
impl PartialEq for CreativePlaceholder
source§fn eq(&self, other: &CreativePlaceholder) -> bool
fn eq(&self, other: &CreativePlaceholder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreativePlaceholder
Auto Trait Implementations§
impl Freeze for CreativePlaceholder
impl RefUnwindSafe for CreativePlaceholder
impl Send for CreativePlaceholder
impl Sync for CreativePlaceholder
impl Unpin for CreativePlaceholder
impl UnwindSafe for CreativePlaceholder
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<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