class Google::Apis::DisplayvideoV1::BudgetSummary

Summarized information of an individual campaign budget.

Attributes

external_budget_id[RW]

Corresponds to the external_budget_id of a campaign budget. If the value is not set in the campaign budget, this field will be empty. Corresponds to the JSON property `externalBudgetId` @return [String]

pre_tax_amount_micros[RW]

The sum of charges made under this budget before taxes, in micros of the invoice's currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar. Corresponds to the JSON property `preTaxAmountMicros` @return [Fixnum]

prisma_cpe_code[RW]

Google Payments Center supports searching and filtering on the component fields of this code. Corresponds to the JSON property `prismaCpeCode` @return [Google::Apis::DisplayvideoV1::PrismaCpeCode]

tax_amount_micros[RW]

The amount of tax applied to charges under this budget, in micros of the invoice's currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar. Corresponds to the JSON property `taxAmountMicros` @return [Fixnum]

total_amount_micros[RW]

The total sum of charges made under this budget, including tax, in micros of the invoice's currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar. Corresponds to the JSON property `totalAmountMicros` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 1439
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/displayvideo_v1/classes.rb, line 1444
def update!(**args)
  @external_budget_id = args[:external_budget_id] if args.key?(:external_budget_id)
  @pre_tax_amount_micros = args[:pre_tax_amount_micros] if args.key?(:pre_tax_amount_micros)
  @prisma_cpe_code = args[:prisma_cpe_code] if args.key?(:prisma_cpe_code)
  @tax_amount_micros = args[:tax_amount_micros] if args.key?(:tax_amount_micros)
  @total_amount_micros = args[:total_amount_micros] if args.key?(:total_amount_micros)
end