class Google::Apis::AdexchangebuyerV1_3::Budget

The configuration data for Ad Exchange RTB - Budget API.

Attributes

account_id[RW]

The id of the account. This is required for get and update requests. Corresponds to the JSON property `accountId` @return [Fixnum]

billing_id[RW]

The billing id to determine which adgroup to provide budget information for. This is required for get and update requests. Corresponds to the JSON property `billingId` @return [Fixnum]

budget_amount[RW]

The daily budget amount in unit amount of the account currency to apply for the billingId provided. This is required for update requests. Corresponds to the JSON property `budgetAmount` @return [Fixnum]

currency_code[RW]

The currency code for the buyer. This cannot be altered here. Corresponds to the JSON property `currencyCode` @return [String]

id[RW]

The unique id that describes this item. Corresponds to the JSON property `id` @return [String]

kind[RW]

The kind of the resource, i.e. “adexchangebuyer#budget”. Corresponds to the JSON property `kind` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/adexchangebuyer_v1_3/classes.rb, line 260
def update!(**args)
  @account_id = args[:account_id] if args.key?(:account_id)
  @billing_id = args[:billing_id] if args.key?(:billing_id)
  @budget_amount = args[:budget_amount] if args.key?(:budget_amount)
  @currency_code = args[:currency_code] if args.key?(:currency_code)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
end