[][src]Struct google_displayvideo1::PartnerCost

pub struct PartnerCost {
    pub fee_percentage_millis: Option<String>,
    pub invoice_type: Option<String>,
    pub cost_type: Option<String>,
    pub fee_amount: Option<String>,
    pub fee_type: Option<String>,
}

Settings that control a partner cost.

A partner cost is any type of expense involved in running a campaign, other than the costs of purchasing impressions (which is called the media cost) and using third-party audience segment data (data fee). Some examples of partner costs include the fees for using DV360, a third-party ad server, or a third-party ad serving verification service.

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

Fields

fee_percentage_millis: Option<String>

The media fee percentage in millis (1/1000 of a percent).

Applicable when the fee_type is PARTNER_FEE_TYPE_MEDIA_FEE. Must be greater than or equal to 0.

For example: 100 represents 0.1%.

invoice_type: Option<String>

The invoice type for this partner cost.

  • Required when cost_type is one of:
    • PARTNER_COST_TYPE_ADLOOX
    • PARTNER_COST_TYPE_DOUBLE_VERIFY
    • PARTNER_COST_TYPE_INTEGRAL_AD_SCIENCE.
  • Output only for other types.
cost_type: Option<String>

Required. The type of the partner cost.

fee_amount: Option<String>

The CPM fee amount in micros of advertiser's currency.

Applicable when the fee_type is PARTNER_FEE_TYPE_CPM_FEE. Must be greater than or equal to 0.

For example, for 1.5 standard unit of the advertiser's currency, set this field to 1500000.

fee_type: Option<String>

Required. The fee type for this partner cost.

Trait Implementations

impl Clone for PartnerCost[src]

impl Debug for PartnerCost[src]

impl Default for PartnerCost[src]

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

impl Part for PartnerCost[src]

impl Serialize for PartnerCost[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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> Typeable for T where
    T: Any