pub struct Creative {
pub name: String,
pub creative_id: i64,
pub display_name: String,
pub advertiser: String,
pub update_time: Option<Timestamp>,
pub preview_url: String,
pub size_label: String,
pub ad_partner_declaration: Option<AdPartnerDeclaration>,
}
Expand description
The Creative resource.
Fields§
§name: String
Identifier. The resource name of the Creative.
Format: networks/{network_code}/creatives/{creative_id}
creative_id: i64
Output only. Creative
ID.
display_name: String
Optional. Display name of the Creative
. This attribute has a maximum
length of 255 characters.
advertiser: String
Required. The resource name of the Company, which is of type Company.Type.ADVERTISER, to which this Creative belongs. Format: “networks/{network_code}/companies/{company_id}”
update_time: Option<Timestamp>
Output only. The instant this Creative was last modified.
preview_url: String
Output only. The URL of the creative for previewing the media.
size_label: String
Output only. String representations of creative size.
This field is temporarily available and will be deprecated when
Creative.size
becomes available.
ad_partner_declaration: Option<AdPartnerDeclaration>
Optional. The Ad Partners associated with this creative. This is distinct from any associated companies that Google may detect programmatically.
Trait Implementations§
source§impl Message for Creative
impl Message for Creative
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 Creative
impl PartialEq for Creative
impl StructuralPartialEq for Creative
Auto Trait Implementations§
impl Freeze for Creative
impl RefUnwindSafe for Creative
impl Send for Creative
impl Sync for Creative
impl Unpin for Creative
impl UnwindSafe for Creative
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