[][src]Struct google_adexchangebuyer2_v2_beta1::Product

pub struct Product {
    pub creator_contacts: Option<Vec<ContactInformation>>,
    pub update_time: Option<String>,
    pub display_name: Option<String>,
    pub syndication_product: Option<String>,
    pub targeting_criterion: Option<Vec<TargetingCriteria>>,
    pub seller: Option<Seller>,
    pub web_property_code: Option<String>,
    pub available_start_time: Option<String>,
    pub has_creator_signed_off: Option<bool>,
    pub product_revision: Option<String>,
    pub terms: Option<DealTerms>,
    pub publisher_profile_id: Option<String>,
    pub available_end_time: Option<String>,
    pub create_time: Option<String>,
    pub product_id: Option<String>,
}

Note: this resource requires whitelisting for access. Please contact your account manager for access to Marketplace resources.

A product is a segment of inventory that a seller wishes to sell. It is associated with certain terms and targeting information which helps the buyer know more about the inventory.

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

creator_contacts: Option<Vec<ContactInformation>>

Optional contact information for the creator of this product.

update_time: Option<String>

Time of last update.

display_name: Option<String>

The display name for this product as set by the seller.

syndication_product: Option<String>

The syndication product associated with the deal.

targeting_criterion: Option<Vec<TargetingCriteria>>

Targeting that is shared between the buyer and the seller. Each targeting criterion has a specified key and for each key there is a list of inclusion value or exclusion values.

seller: Option<Seller>

Information about the seller that created this product.

web_property_code: Option<String>

The web-property code for the seller. This needs to be copied as is when adding a new deal to a proposal.

available_start_time: Option<String>

Inventory availability dates. The start time will be truncated to seconds during serving. Thus, a field specified as 3:23:34.456 (HH:mm:ss.SSS) will be truncated to 3:23:34 when serving.

has_creator_signed_off: Option<bool>

If the creator has already signed off on the product, then the buyer can finalize the deal by accepting the product as is. When copying to a proposal, if any of the terms are changed, then auto_finalize is automatically set to false.

product_revision: Option<String>

The revision number of the product (auto-assigned by Marketplace).

terms: Option<DealTerms>

The negotiable terms of the deal.

publisher_profile_id: Option<String>

An ID which can be used by the Publisher Profile API to get more information about the seller that created this product.

available_end_time: Option<String>

The proposed end time for the deal. The field will be truncated to the order of seconds during serving.

create_time: Option<String>

Creation time.

product_id: Option<String>

The unique ID for the product.

Trait Implementations

impl ResponseResult for Product[src]

impl Default for Product[src]

impl Clone for Product[src]

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

Performs copy-assignment from source. Read more

impl Debug for Product[src]

impl Serialize for Product[src]

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

Auto Trait Implementations

impl Send for Product

impl Unpin for Product

impl Sync for Product

impl UnwindSafe for Product

impl RefUnwindSafe for Product

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]