Struct google_dfareporting2d4::Placement [] [src]

pub struct Placement {
    pub comment: Option<String>,
    pub campaign_id: Option<String>,
    pub payment_source: Option<String>,
    pub directory_site_id_dimension_value: Option<DimensionValue>,
    pub advertiser_id: Option<String>,
    pub key_name: Option<String>,
    pub directory_site_id: Option<String>,
    pub advertiser_id_dimension_value: Option<DimensionValue>,
    pub content_category_id: Option<String>,
    pub size: Option<Size>,
    pub archived: Option<bool>,
    pub publisher_update_info: Option<LastModifiedInfo>,
    pub tag_formats: Option<Vec<String>>,
    pub payment_approved: Option<bool>,
    pub tag_setting: Option<TagSetting>,
    pub id: Option<String>,
    pub external_id: Option<String>,
    pub id_dimension_value: Option<DimensionValue>,
    pub account_id: Option<String>,
    pub ssl_required: Option<bool>,
    pub status: Option<String>,
    pub campaign_id_dimension_value: Option<DimensionValue>,
    pub primary: Option<bool>,
    pub placement_group_id: Option<String>,
    pub create_info: Option<LastModifiedInfo>,
    pub site_id: Option<String>,
    pub site_id_dimension_value: Option<DimensionValue>,
    pub compatibility: Option<String>,
    pub placement_strategy_id: Option<String>,
    pub placement_group_id_dimension_value: Option<DimensionValue>,
    pub kind: Option<String>,
    pub subaccount_id: Option<String>,
    pub name: Option<String>,
    pub lookback_configuration: Option<LookbackConfiguration>,
    pub last_modified_info: Option<LastModifiedInfo>,
    pub pricing_schedule: Option<PricingSchedule>,
}

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).

Fields

Comments for this placement.

Campaign ID of this placement. This field is a required field on insertion.

Payment source for this placement. This is a required field that is read-only after insertion.

Dimension value for the ID of the directory site. This is a read-only, auto-generated field.

Advertiser ID of this placement. This field can be left blank.

Key name of this placement. This is a read-only, auto-generated field.

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.

Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.

ID of the content category assigned to this placement.

Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.

Whether this placement is archived.

Information about the last publisher update. This is a read-only field.

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_TRACKING" - "PLACEMENT_TAG_TRACKING_IFRAME" - "PLACEMENT_TAG_TRACKING_JAVASCRIPT"

Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.

Tag settings for this placement.

ID of this placement. This is a read-only, auto-generated field.

External ID for this placement.

Dimension value for the ID of this placement. This is a read-only, auto-generated field.

Account ID of this placement. This field can be left blank.

Whether creatives assigned to this placement must be SSL-compliant.

Third-party placement status.

Dimension value for the ID of the campaign. This is a read-only, auto-generated field.

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.

ID of this placement's group, if applicable.

Information about the creation of this placement. This is a read-only field.

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.

Dimension value for the ID of the site. This is a read-only, auto-generated field.

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.

ID of the placement strategy assigned to this placement.

Dimension value for the ID of the placement group. This is a read-only, auto-generated field.

Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".

Subaccount ID of this placement. This field can be left blank.

Name of this placement.This is a required field and must be less than 256 characters long.

Lookback window settings for this placement.

Information about the most recent modification of this placement. This is a read-only field.

Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.

Trait Implementations

impl Default for Placement
[src]

[src]

Returns the "default value" for a type. Read more

impl Clone for Placement
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Placement
[src]

[src]

Formats the value using the given formatter.

impl RequestValue for Placement
[src]

impl Resource for Placement
[src]

impl ResponseResult for Placement
[src]