class Google::Apis::DisplayvideoV1::PartnerCost
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.
Attributes
Required. The type of the partner cost. Corresponds to the JSON property `costType` @return [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. Corresponds to the JSON property `feeAmount` @return [Fixnum]
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%. Corresponds to the JSON property `feePercentageMillis` @return [Fixnum]
Required. The fee type for this partner cost. Corresponds to the JSON property `feeType` @return [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. Corresponds to the JSON property `invoiceType` @return [String]
Public Class Methods
# File lib/google/apis/displayvideo_v1/classes.rb, line 7943 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/displayvideo_v1/classes.rb, line 7948 def update!(**args) @cost_type = args[:cost_type] if args.key?(:cost_type) @fee_amount = args[:fee_amount] if args.key?(:fee_amount) @fee_percentage_millis = args[:fee_percentage_millis] if args.key?(:fee_percentage_millis) @fee_type = args[:fee_type] if args.key?(:fee_type) @invoice_type = args[:invoice_type] if args.key?(:invoice_type) end