Struct google_dfareporting3d2::api::CreativeAssignment [−][src]
Creative Assignment.
This type is not used in any activity, and only used as part of another schema.
Fields
active: Option<bool>
Whether this creative assignment is active. When true, the creative will be included in the ad’s rotation.
Whether applicable event tags should fire when this creative assignment is rendered. If this value is unset when the ad is inserted or updated, it will default to true for all creative types EXCEPT for INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO.
click_through_url: Option<ClickThroughUrl>
Click-through URL of the creative assignment.
companion_creative_overrides: Option<Vec<CompanionClickThroughOverride>>
Companion creative overrides for this creative assignment. Applicable to video ads.
creative_group_assignments: Option<Vec<CreativeGroupAssignment>>
Creative group assignments for this creative assignment. Only one assignment per creative group number is allowed for a maximum of two assignments.
creative_id: Option<String>
ID of the creative to be assigned. This is a required field.
creative_id_dimension_value: Option<DimensionValue>
Dimension value for the ID of the creative. This is a read-only, auto-generated field.
end_time: Option<String>
Date and time that the assigned creative should stop serving. Must be later than the start time.
rich_media_exit_overrides: Option<Vec<RichMediaExitOverride>>
Rich media exit overrides for this creative assignment. Applicable when the creative type is any of the following:
- DISPLAY
- RICH_MEDIA_INPAGE
- RICH_MEDIA_INPAGE_FLOATING
- RICH_MEDIA_IM_EXPAND
- RICH_MEDIA_EXPANDING
- RICH_MEDIA_INTERSTITIAL_FLOAT
- RICH_MEDIA_MOBILE_IN_APP
- RICH_MEDIA_MULTI_FLOATING
- RICH_MEDIA_PEEL_DOWN
- VPAID_LINEAR
- VPAID_NON_LINEAR
sequence: Option<i32>
Sequence number of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_SEQUENTIAL. Acceptable values are 1 to 65535, inclusive.
ssl_compliant: Option<bool>
Whether the creative to be assigned is SSL-compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.
start_time: Option<String>
Date and time that the assigned creative should start serving.
weight: Option<i32>
Weight of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_RANDOM. Value must be greater than or equal to 1.
Trait Implementations
impl Clone for CreativeAssignment
[src]
fn clone(&self) -> CreativeAssignment
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CreativeAssignment
[src]
impl Default for CreativeAssignment
[src]
fn default() -> CreativeAssignment
[src]
impl<'de> Deserialize<'de> for CreativeAssignment
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for CreativeAssignment
[src]
impl Serialize for CreativeAssignment
[src]
Auto Trait Implementations
impl RefUnwindSafe for CreativeAssignment
impl Send for CreativeAssignment
impl Sync for CreativeAssignment
impl Unpin for CreativeAssignment
impl UnwindSafe for CreativeAssignment
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,