[][src]Struct google_adexchangebuyer2_v2_beta1::Deal

pub struct Deal {
    pub delivery_control: Option<DeliveryControl>,
    pub update_time: Option<String>,
    pub description: Option<String>,
    pub display_name: Option<String>,
    pub targeting_criterion: Option<Vec<TargetingCriteria>>,
    pub create_product_revision: Option<String>,
    pub deal_id: Option<String>,
    pub programmatic_creative_source: Option<String>,
    pub available_start_time: Option<String>,
    pub creative_safe_frame_compatibility: Option<String>,
    pub creative_pre_approval_policy: Option<String>,
    pub creative_restrictions: Option<CreativeRestrictions>,
    pub available_end_time: Option<String>,
    pub create_product_id: Option<String>,
    pub deal_terms: Option<DealTerms>,
    pub seller_contacts: Option<Vec<ContactInformation>>,
    pub targeting: Option<MarketplaceTargeting>,
    pub buyer_private_data: Option<PrivateData>,
    pub syndication_product: Option<String>,
    pub external_deal_id: Option<String>,
    pub create_time: Option<String>,
    pub web_property_code: Option<String>,
    pub proposal_id: Option<String>,
    pub deal_serving_metadata: Option<DealServingMetadata>,
    pub is_setup_complete: Option<bool>,
}

A deal represents a segment of inventory for displaying ads on. A proposal can contain multiple deals. A deal contains the terms and targeting information that is used for serving.

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

Fields

delivery_control: Option<DeliveryControl>

The set of fields around delivery control that are interesting for a buyer to see but are non-negotiable. These are set by the publisher.

update_time: Option<String>

Output only. The time when the deal was last updated.

description: Option<String>

Description for the deal terms.

display_name: Option<String>

The name of the deal.

targeting_criterion: Option<Vec<TargetingCriteria>>

The shared targeting visible to buyers and sellers. Each shared targeting entity is AND'd together.

create_product_revision: Option<String>

Optional revision number of the product that the deal was created from. If present on create, and the server product_revision has advanced sinced the passed-in create_product_revision, an ABORTED error will be returned.

Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.

deal_id: Option<String>

Output only. A unique deal ID for the deal (server-assigned).

programmatic_creative_source: Option<String>

Output only. Specifies the creative source for programmatic deals. PUBLISHER means creative is provided by seller and ADVERTISER means creative is provided by buyer.

available_start_time: Option<String>

Optional proposed flight start time of the deal. This will generally be stored in the granularity of one second since deal serving starts at seconds boundary. Any time specified with more granularity (e.g., in milliseconds) will be truncated towards the start of time in seconds.

creative_safe_frame_compatibility: Option<String>

Output only. Specifies whether the creative is safeFrame compatible.

creative_pre_approval_policy: Option<String>

Output only. Specifies the creative pre-approval policy.

creative_restrictions: Option<CreativeRestrictions>

Output only. Restricitions about the creatives associated with the deal (i.e., size) This is available for Programmatic Guaranteed/Preferred Deals in Ad Manager.

available_end_time: Option<String>

Proposed flight end time of the deal. This will generally be stored in a granularity of a second. A value is not required for Private Auction deals or Preferred Deals.

create_product_id: Option<String>

The product ID from which this deal was created.

Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.

deal_terms: Option<DealTerms>

The negotiable terms of the deal.

seller_contacts: Option<Vec<ContactInformation>>

Output only. Seller contact information for the deal.

targeting: Option<MarketplaceTargeting>

Output only. Specifies the subset of inventory targeted by the deal.

buyer_private_data: Option<PrivateData>

Buyer private data (hidden from seller).

syndication_product: Option<String>

The syndication product associated with the deal.

Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.

external_deal_id: Option<String>

Output only. The external deal ID assigned to this deal once the deal is finalized. This is the deal ID that shows up in serving/reporting etc.

create_time: Option<String>

Output only. The time of the deal creation.

web_property_code: Option<String>

The web property code for the seller copied over from the product.

proposal_id: Option<String>

Output only. ID of the proposal that this deal is part of.

deal_serving_metadata: Option<DealServingMetadata>

Output only. Metadata about the serving status of this deal.

is_setup_complete: Option<bool>

Output only. True, if the buyside inventory setup is complete for this deal.

Trait Implementations

impl Part for Deal[src]

impl Default for Deal[src]

impl Clone for Deal[src]

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

Performs copy-assignment from source. Read more

impl Debug for Deal[src]

impl Serialize for Deal[src]

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

Auto Trait Implementations

impl Send for Deal

impl Unpin for Deal

impl Sync for Deal

impl UnwindSafe for Deal

impl RefUnwindSafe for Deal

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]