Class: Google::Apis::RealtimebiddingV1::Buyer
- Inherits:
-
Object
- Object
- Google::Apis::RealtimebiddingV1::Buyer
- 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
-
#active_creative_count ⇒ Fixnum
Output only.
-
#bidder ⇒ String
Output only.
-
#billing_ids ⇒ Array<String>
Output only.
-
#display_name ⇒ String
Output only.
-
#maximum_active_creative_count ⇒ Fixnum
Output only.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Buyer
constructor
A new instance of Buyer.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_count ⇒ Fixnum
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
412 413 414 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 412 def active_creative_count @active_creative_count end |
#bidder ⇒ String
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, where
bidderAccountId`is the account ID of the
bidder receiving traffic for this buyer.
Corresponds to the JSON property
bidder`
420 421 422 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 420 def bidder @bidder end |
#billing_ids ⇒ Array<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
430 431 432 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 430 def billing_ids @billing_ids end |
#display_name ⇒ String
Output only. The diplay name associated with this buyer account, as visible to
sellers.
Corresponds to the JSON property displayName
436 437 438 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 436 def display_name @display_name end |
#maximum_active_creative_count ⇒ Fixnum
Output only. The maximum number of active creatives that this buyer can have.
Corresponds to the JSON property maximumActiveCreativeCount
441 442 443 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 441 def maximum_active_creative_count @maximum_active_creative_count end |
#name ⇒ String
Output only. Name of the buyer resource that must follow the pattern buyers/
buyerAccountId, where
buyerAccountId`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 property
name`
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 |