Class: Google::Apis::RealtimebiddingV1::Buyer

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

Overview

RTB Buyer account information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Buyer

Returns a new instance of Buyer.



452
453
454
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 452

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

Instance Attribute Details

#active_creative_countFixnum

Output only. The number of creatives that this buyer submitted through the API or bid with in the last 30 days. This is counted against the maximum number of active creatives. Corresponds to the JSON property activeCreativeCount

Returns:

  • (Fixnum)


412
413
414
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 412

def active_creative_count
  @active_creative_count
end

#bidderString

Output only. The name of the bidder resource that is responsible for receiving bidding traffic for this account. The bidder name must follow the pattern bidders/bidderAccountId, wherebidderAccountId`is the account ID of the bidder receiving traffic for this buyer. Corresponds to the JSON propertybidder`

Returns:

  • (String)


420
421
422
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 420

def bidder
  @bidder
end

#billing_idsArray<String>

Output only. A list of billing IDs associated with this account. These IDs appear on: 1. A bid request, to signal which buyers are eligible to bid on a given opportunity, and which pretargeting configurations were matched for each eligible buyer. 2. The bid response, to attribute a winning impression to a specific account for billing, reporting, policy and publisher block enforcement. Corresponds to the JSON property billingIds

Returns:

  • (Array<String>)


430
431
432
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 430

def billing_ids
  @billing_ids
end

#display_nameString

Output only. The diplay name associated with this buyer account, as visible to sellers. Corresponds to the JSON property displayName

Returns:

  • (String)


436
437
438
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 436

def display_name
  @display_name
end

#maximum_active_creative_countFixnum

Output only. The maximum number of active creatives that this buyer can have. Corresponds to the JSON property maximumActiveCreativeCount

Returns:

  • (Fixnum)


441
442
443
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 441

def maximum_active_creative_count
  @maximum_active_creative_count
end

#nameString

Output only. Name of the buyer resource that must follow the pattern buyers/ buyerAccountId, wherebuyerAccountId`is the account ID of the buyer account whose information is to be received. One can get their account ID on the Authorized Buyers or Open Bidding UI, or by contacting their Google account manager. Corresponds to the JSON propertyname`

Returns:

  • (String)


450
451
452
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 450

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



457
458
459
460
461
462
463
464
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 457

def update!(**args)
  @active_creative_count = args[:active_creative_count] if args.key?(:active_creative_count)
  @bidder = args[:bidder] if args.key?(:bidder)
  @billing_ids = args[:billing_ids] if args.key?(:billing_ids)
  @display_name = args[:display_name] if args.key?(:display_name)
  @maximum_active_creative_count = args[:maximum_active_creative_count] if args.key?(:maximum_active_creative_count)
  @name = args[:name] if args.key?(:name)
end