[−][src]Struct google_dfareporting3::Placement
Contains properties of a placement.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- generatetags placements (none)
- insert placements (request|response)
- update placements (request|response)
- list placements (none)
- get placements (response)
- patch placements (request|response)
Fields
comment: Option<String>
Comments for this placement.
video_active_view_opt_out: Option<bool>
Whether Verification and ActiveView are disabled for in-stream video creatives for this placement. The same setting videoActiveViewOptOut exists on the site level -- the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or Sites.siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display ads, from Verification and ActiveView.
campaign_id: Option<String>
Campaign ID of this placement. This field is a required field on insertion.
payment_source: Option<String>
Payment source for this placement. This is a required field that is read-only after insertion.
directory_site_id_dimension_value: Option<DimensionValue>
Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
advertiser_id: Option<String>
Advertiser ID of this placement. This field can be left blank.
key_name: Option<String>
Key name of this placement. This is a read-only, auto-generated field.
directory_site_id: Option<String>
Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
advertiser_id_dimension_value: Option<DimensionValue>
Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
content_category_id: Option<String>
ID of the content category assigned to this placement.
size: Option<Size>
Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.
archived: Option<bool>
Whether this placement is archived.
video_settings: Option<VideoSettings>
A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
publisher_update_info: Option<LastModifiedInfo>
Information about the last publisher update. This is a read-only field.
tag_formats: Option<Vec<String>>
Tag formats to generate for this placement. This field is required on insertion. Acceptable values are:
- "PLACEMENT_TAG_STANDARD"
- "PLACEMENT_TAG_IFRAME_JAVASCRIPT"
- "PLACEMENT_TAG_IFRAME_ILAYER"
- "PLACEMENT_TAG_INTERNAL_REDIRECT"
- "PLACEMENT_TAG_JAVASCRIPT"
- "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT"
- "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT"
- "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT"
- "PLACEMENT_TAG_CLICK_COMMANDS"
- "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH"
- "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3"
- "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4"
- "PLACEMENT_TAG_TRACKING"
- "PLACEMENT_TAG_TRACKING_IFRAME"
- "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
payment_approved: Option<bool>
Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
tag_setting: Option<TagSetting>
Tag settings for this placement.
id: Option<String>
ID of this placement. This is a read-only, auto-generated field.
ad_blocking_opt_out: Option<bool>
Whether this placement opts out of ad blocking. When true, ad blocking is disabled for this placement. When false, the campaign and site settings take effect.
external_id: Option<String>
External ID for this placement.
id_dimension_value: Option<DimensionValue>
Dimension value for the ID of this placement. This is a read-only, auto-generated field.
account_id: Option<String>
Account ID of this placement. This field can be left blank.
ssl_required: Option<bool>
Whether creatives assigned to this placement must be SSL-compliant.
status: Option<String>
Third-party placement status.
campaign_id_dimension_value: Option<DimensionValue>
Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
primary: Option<bool>
Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock's primaryPlacementId field to the ID of this placement.
placement_group_id: Option<String>
ID of this placement's group, if applicable.
create_info: Option<LastModifiedInfo>
Information about the creation of this placement. This is a read-only field.
site_id: Option<String>
Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
site_id_dimension_value: Option<DimensionValue>
Dimension value for the ID of the site. This is a read-only, auto-generated field.
compatibility: Option<String>
Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering on desktop, on mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are no longer allowed for new placement insertions. Instead, use DISPLAY or DISPLAY_INTERSTITIAL. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.
placement_strategy_id: Option<String>
ID of the placement strategy assigned to this placement.
placement_group_id_dimension_value: Option<DimensionValue>
Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".
subaccount_id: Option<String>
Subaccount ID of this placement. This field can be left blank.
name: Option<String>
Name of this placement.This is a required field and must be less than 256 characters long.
lookback_configuration: Option<LookbackConfiguration>
Lookback window settings for this placement.
last_modified_info: Option<LastModifiedInfo>
Information about the most recent modification of this placement. This is a read-only field.
pricing_schedule: Option<PricingSchedule>
Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
vpaid_adapter_choice: Option<String>
VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement.
Note: Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.
Trait Implementations
impl Resource for Placement
[src]
impl ResponseResult for Placement
[src]
impl RequestValue for Placement
[src]
impl Default for Placement
[src]
impl Clone for Placement
[src]
fn clone(&self) -> Placement
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Placement
[src]
impl Serialize for Placement
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Placement
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Placement
impl Unpin for Placement
impl Sync for Placement
impl UnwindSafe for Placement
impl RefUnwindSafe for Placement
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,