pub struct VideoResponsiveAdInfo {
pub headlines: Vec<AdTextAsset>,
pub long_headlines: Vec<AdTextAsset>,
pub descriptions: Vec<AdTextAsset>,
pub call_to_actions: Vec<AdTextAsset>,
pub videos: Vec<AdVideoAsset>,
pub companion_banners: Vec<AdImageAsset>,
pub breadcrumb1: String,
pub breadcrumb2: String,
}
Expand description
A video responsive ad.
Fields§
§headlines: Vec<AdTextAsset>
List of text assets used for the short headline. Currently, only a single value for the short headline is supported.
long_headlines: Vec<AdTextAsset>
List of text assets used for the long headline. Currently, only a single value for the long headline is supported.
descriptions: Vec<AdTextAsset>
List of text assets used for the description. Currently, only a single value for the description is supported.
call_to_actions: Vec<AdTextAsset>
List of text assets used for the button, for example, the “Call To Action” button. Currently, only a single value for the button is supported.
videos: Vec<AdVideoAsset>
List of YouTube video assets used for the ad. Currently, only a single value for the YouTube video asset is supported.
List of image assets used for the companion banner. Currently, only a single value for the companion banner asset is supported.
First part of text that appears in the ad with the displayed URL.
Second part of text that appears in the ad with the displayed URL.
Trait Implementations§
Source§impl Clone for VideoResponsiveAdInfo
impl Clone for VideoResponsiveAdInfo
Source§fn clone(&self) -> VideoResponsiveAdInfo
fn clone(&self) -> VideoResponsiveAdInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for VideoResponsiveAdInfo
impl Debug for VideoResponsiveAdInfo
Source§impl Default for VideoResponsiveAdInfo
impl Default for VideoResponsiveAdInfo
Source§impl Message for VideoResponsiveAdInfo
impl Message for VideoResponsiveAdInfo
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.Source§impl PartialEq for VideoResponsiveAdInfo
impl PartialEq for VideoResponsiveAdInfo
impl StructuralPartialEq for VideoResponsiveAdInfo
Auto Trait Implementations§
impl Freeze for VideoResponsiveAdInfo
impl RefUnwindSafe for VideoResponsiveAdInfo
impl Send for VideoResponsiveAdInfo
impl Sync for VideoResponsiveAdInfo
impl Unpin for VideoResponsiveAdInfo
impl UnwindSafe for VideoResponsiveAdInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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