Class: Google::Apis::AdexchangebuyerV1_4::BillingInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/adexchangebuyer_v1_4/classes.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb

Overview

The configuration data for an Ad Exchange billing info.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BillingInfo

Returns a new instance of BillingInfo



300
301
302
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 300

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#account_idFixnum

Account id. Corresponds to the JSON property accountId

Returns:

  • (Fixnum)


281
282
283
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 281

def 
  @account_id
end

#account_nameString

Account name. Corresponds to the JSON property accountName

Returns:

  • (String)


286
287
288
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 286

def 
  @account_name
end

#billing_idArray<String>

A list of adgroup IDs associated with this particular account. These IDs may show up as part of a realtime bidding BidRequest, which indicates a bid request for this account. Corresponds to the JSON property billingId

Returns:

  • (Array<String>)


293
294
295
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 293

def billing_id
  @billing_id
end

#kindString

Resource type. Corresponds to the JSON property kind

Returns:

  • (String)


298
299
300
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 298

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



305
306
307
308
309
310
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 305

def update!(**args)
  @account_id = args[:account_id] if args.key?(:account_id)
  @account_name = args[:account_name] if args.key?(:account_name)
  @billing_id = args[:billing_id] if args.key?(:billing_id)
  @kind = args[:kind] if args.key?(:kind)
end