[][src]Struct google_adexchangebuyer2_v2_beta1::CreativeSize

pub struct CreativeSize {
    pub companion_sizes: Option<Vec<Size>>,
    pub size: Option<Size>,
    pub creative_size_type: Option<String>,
    pub native_template: Option<String>,
    pub allowed_formats: Option<Vec<String>>,
    pub skippable_ad_type: Option<String>,
}

Specifies the size of the creative.

This type is not used in any activity, and only used as part of another schema.

Fields

companion_sizes: Option<Vec<Size>>

For video creatives specifies the sizes of companion ads (if present). Companion sizes may be filled in only when creative_size_type = VIDEO

size: Option<Size>

For regular or video creative size type, specifies the size of the creative

creative_size_type: Option<String>

The creative size type.

native_template: Option<String>

Output only. The native template for this creative. It will have a value only if creative_size_type = CreativeSizeType.NATIVE.

allowed_formats: Option<Vec<String>>

What formats are allowed by the publisher. If this repeated field is empty then all formats are allowed. For example, if this field contains AllowedFormatType.AUDIO then the publisher only allows an audio ad (without any video).

skippable_ad_type: Option<String>

The type of skippable ad for this creative. It will have a value only if creative_size_type = CreativeSizeType.VIDEO.

Trait Implementations

impl Part for CreativeSize[src]

impl Default for CreativeSize[src]

impl Clone for CreativeSize[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for CreativeSize[src]

impl Serialize for CreativeSize[src]

impl<'de> Deserialize<'de> for CreativeSize[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]