Class: Google::Apis::AuthorizedbuyersmarketplaceV1::AuctionPackage
- Inherits:
-
Object
- Object
- Google::Apis::AuthorizedbuyersmarketplaceV1::AuctionPackage
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/representations.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/representations.rb
Overview
Defines a segment of inventory that buyer wants to buy. It's created by buyer and could be shared with multiple buyers.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#creator ⇒ String
Output only.
-
#description ⇒ String
Output only.
-
#display_name ⇒ String
The display_name assigned to the auction package.
-
#eligible_seat_ids ⇒ Array<String>
Output only.
-
#name ⇒ String
Immutable.
-
#subscribed_buyers ⇒ Array<String>
Output only.
-
#subscribed_clients ⇒ Array<String>
Output only.
-
#subscribed_media_planners ⇒ Array<Google::Apis::AuthorizedbuyersmarketplaceV1::MediaPlanner>
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuctionPackage
constructor
A new instance of AuctionPackage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AuctionPackage
Returns a new instance of AuctionPackage.
214 215 216 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 214 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Time the auction package was created.
Corresponds to the JSON property createTime
153 154 155 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 153 def create_time @create_time end |
#creator ⇒ String
Output only. The buyer that created this auction package. Format: buyers/
buyerAccountId`
Corresponds to the JSON property
creator`
159 160 161 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 159 def creator @creator end |
#description ⇒ String
Output only. A description of the auction package.
Corresponds to the JSON property description
164 165 166 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 164 def description @description end |
#display_name ⇒ String
The display_name assigned to the auction package.
Corresponds to the JSON property displayName
169 170 171 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 169 def display_name @display_name end |
#eligible_seat_ids ⇒ Array<String>
Output only. If set, this field contains the list of DSP specific seat ids set
by media planners that are eligible to transact on this deal. The seat ID is
in the calling DSP's namespace.
Corresponds to the JSON property eligibleSeatIds
176 177 178 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 176 def eligible_seat_ids @eligible_seat_ids end |
#name ⇒ String
Immutable. The unique identifier for the auction package. Format: buyers/
accountId/auctionPackages/
auctionPackageId`The auction_package_id part of
name is sent in the BidRequest to all RTB bidders and is returned as deal_id
by the bidder in the BidResponse.
Corresponds to the JSON property
name`
184 185 186 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 184 def name @name end |
#subscribed_buyers ⇒ Array<String>
Output only. The list of buyers that are subscribed to the AuctionPackage.
This field is only populated when calling as a bidder. Format: buyers/
buyerAccountId`
Corresponds to the JSON property
subscribedBuyers`
191 192 193 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 191 def subscribed_buyers @subscribed_buyers end |
#subscribed_clients ⇒ Array<String>
Output only. When calling as a buyer, the list of clients of the current buyer
that are subscribed to the AuctionPackage. When calling as a bidder, the list
of clients that are subscribed to the AuctionPackage owned by the bidder or
its buyers. Format: buyers/
buyerAccountId/clients/
clientAccountId`
Corresponds to the JSON property
subscribedClients`
199 200 201 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 199 def subscribed_clients @subscribed_clients end |
#subscribed_media_planners ⇒ Array<Google::Apis::AuthorizedbuyersmarketplaceV1::MediaPlanner>
Output only. The list of media planners that are subscribed to the
AuctionPackage. This field is only populated when calling as a bidder.
Corresponds to the JSON property subscribedMediaPlanners
205 206 207 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 205 def subscribed_media_planners @subscribed_media_planners end |
#update_time ⇒ String
Output only. Time the auction package was last updated. This value is only
increased when this auction package is updated but never when a buyer
subscribed.
Corresponds to the JSON property updateTime
212 213 214 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 212 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 219 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @creator = args[:creator] if args.key?(:creator) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @eligible_seat_ids = args[:eligible_seat_ids] if args.key?(:eligible_seat_ids) @name = args[:name] if args.key?(:name) @subscribed_buyers = args[:subscribed_buyers] if args.key?(:subscribed_buyers) @subscribed_clients = args[:subscribed_clients] if args.key?(:subscribed_clients) @subscribed_media_planners = args[:subscribed_media_planners] if args.key?(:subscribed_media_planners) @update_time = args[:update_time] if args.key?(:update_time) end |