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.



370
371
372
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 370

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

Instance Attribute Details

#active_creative_countFixnum

Output only. The number of creatives that this buyer submitted via 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)


330
331
332
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 330

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)


338
339
340
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 338

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>)


348
349
350
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 348

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)


354
355
356
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 354

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)


359
360
361
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 359

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)


368
369
370
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 368

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



375
376
377
378
379
380
381
382
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 375

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