class Google::Apis::AdexchangebuyerV1_3::Budget
The configuration data for Ad Exchange RTB - Budget
API.
Attributes
The id of the account. This is required for get and update requests. Corresponds to the JSON property `accountId` @return [Fixnum]
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]
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]
The currency code for the buyer. This cannot be altered here. Corresponds to the JSON property `currencyCode` @return [String]
The unique id that describes this item. Corresponds to the JSON property `id` @return [String]
The kind of the resource, i.e. “adexchangebuyer#budget”. Corresponds to the JSON property `kind` @return [String]
Public Class Methods
# File lib/google/apis/adexchangebuyer_v1_3/classes.rb, line 255 def initialize(**args) update!(**args) end
Public Instance Methods
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