Close httplib2 connections.
Gets an auction package given its name.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
List the auction packages subscribed by a buyer and its clients.
list_next(previous_request, previous_response)
Retrieves the next page of results.
subscribe(name, body=None, x__xgafv=None)
Subscribe to the auction package for the specified buyer. Once subscribed, the bidder will receive a call out for inventory matching the auction package targeting criteria with the auction package deal ID and the specified buyer.
subscribeClients(auctionPackage, body=None, x__xgafv=None)
Subscribe the specified clients of the buyer to the auction package. If a client in the list does not belong to the buyer, an error response will be returned, and all of the following clients in the list will not be subscribed. Subscribing an already subscribed client will have no effect.
unsubscribe(name, body=None, x__xgafv=None)
Unsubscribe from the auction package for the specified buyer. Once unsubscribed, the bidder will no longer receive a call out for the auction package deal ID and the specified buyer.
unsubscribeClients(auctionPackage, body=None, x__xgafv=None)
Unsubscribe from the auction package for the specified clients of the buyer. Unsubscribing a client that is not subscribed will have no effect.
close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets an auction package given its name. Args: name: string, Required. Name of auction package to get. Format: `buyers/{accountId}/auctionPackages/{auctionPackageId}` (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Defines a segment of inventory that buyer wants to buy. It's created by buyer and could be shared with multiple buyers. "createTime": "A String", # Output only. Time the auction package was created. "creator": "A String", # Output only. The buyer that created this auction package. Format: `buyers/{buyerAccountId}` "description": "A String", # Output only. A description of the auction package. "displayName": "A String", # The display_name assigned to the auction package. "name": "A 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. "subscribedClients": [ # Output only. The list of clients of the current buyer that are subscribed to the AuctionPackage. Format: `buyers/{buyerAccountId}/clients/{clientAccountId}` "A String", ], "updateTime": "A 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. }
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
List the auction packages subscribed by a buyer and its clients. Args: parent: string, Required. Name of the parent buyer that can access the auction package. Format: `buyers/{accountId}` (required) pageSize: integer, Requested page size. The server may return fewer results than requested. Max allowed page size is 500. pageToken: string, The page token as returned. ListAuctionPackagesResponse.nextPageToken x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Response message for listing auction packages. "auctionPackages": [ # The list of auction packages. { # Defines a segment of inventory that buyer wants to buy. It's created by buyer and could be shared with multiple buyers. "createTime": "A String", # Output only. Time the auction package was created. "creator": "A String", # Output only. The buyer that created this auction package. Format: `buyers/{buyerAccountId}` "description": "A String", # Output only. A description of the auction package. "displayName": "A String", # The display_name assigned to the auction package. "name": "A 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. "subscribedClients": [ # Output only. The list of clients of the current buyer that are subscribed to the AuctionPackage. Format: `buyers/{buyerAccountId}/clients/{clientAccountId}` "A String", ], "updateTime": "A 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. }, ], "nextPageToken": "A String", # Continuation token for fetching the next page of results. Pass this value in the ListAuctionPackagesRequest.pageToken field in the subsequent call to the `ListAuctionPackages` method to retrieve the next page of results. }
list_next(previous_request, previous_response)
Retrieves the next page of results. Args: previous_request: The request for the previous page. (required) previous_response: The response from the request for the previous page. (required) Returns: A request object that you can call 'execute()' on to request the next page. Returns None if there are no more items in the collection.
subscribe(name, body=None, x__xgafv=None)
Subscribe to the auction package for the specified buyer. Once subscribed, the bidder will receive a call out for inventory matching the auction package targeting criteria with the auction package deal ID and the specified buyer. Args: name: string, Required. Name of the auction package. Format: `buyers/{accountId}/auctionPackages/{auctionPackageId}` (required) body: object, The request body. The object takes the form of: { # Request message for SubscribeAuctionPackage. } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Defines a segment of inventory that buyer wants to buy. It's created by buyer and could be shared with multiple buyers. "createTime": "A String", # Output only. Time the auction package was created. "creator": "A String", # Output only. The buyer that created this auction package. Format: `buyers/{buyerAccountId}` "description": "A String", # Output only. A description of the auction package. "displayName": "A String", # The display_name assigned to the auction package. "name": "A 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. "subscribedClients": [ # Output only. The list of clients of the current buyer that are subscribed to the AuctionPackage. Format: `buyers/{buyerAccountId}/clients/{clientAccountId}` "A String", ], "updateTime": "A 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. }
subscribeClients(auctionPackage, body=None, x__xgafv=None)
Subscribe the specified clients of the buyer to the auction package. If a client in the list does not belong to the buyer, an error response will be returned, and all of the following clients in the list will not be subscribed. Subscribing an already subscribed client will have no effect. Args: auctionPackage: string, Required. Name of the auction package. Format: `buyers/{accountId}/auctionPackages/{auctionPackageId}` (required) body: object, The request body. The object takes the form of: { # Request message for SubscribeAuctionPackageClients. "clients": [ # Optional. A list of client buyers to subscribe to the auction package, with client buyer in the format `buyers/{accountId}/clients/{clientAccountId}`. The current buyer will be subscribed to the auction package regardless of the list contents if not already. "A String", ], } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Defines a segment of inventory that buyer wants to buy. It's created by buyer and could be shared with multiple buyers. "createTime": "A String", # Output only. Time the auction package was created. "creator": "A String", # Output only. The buyer that created this auction package. Format: `buyers/{buyerAccountId}` "description": "A String", # Output only. A description of the auction package. "displayName": "A String", # The display_name assigned to the auction package. "name": "A 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. "subscribedClients": [ # Output only. The list of clients of the current buyer that are subscribed to the AuctionPackage. Format: `buyers/{buyerAccountId}/clients/{clientAccountId}` "A String", ], "updateTime": "A 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. }
unsubscribe(name, body=None, x__xgafv=None)
Unsubscribe from the auction package for the specified buyer. Once unsubscribed, the bidder will no longer receive a call out for the auction package deal ID and the specified buyer. Args: name: string, Required. Name of the auction package. Format: `buyers/{accountId}/auctionPackages/{auctionPackageId}` (required) body: object, The request body. The object takes the form of: { # Request message for UnsubscribeAuctionPackage. } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Defines a segment of inventory that buyer wants to buy. It's created by buyer and could be shared with multiple buyers. "createTime": "A String", # Output only. Time the auction package was created. "creator": "A String", # Output only. The buyer that created this auction package. Format: `buyers/{buyerAccountId}` "description": "A String", # Output only. A description of the auction package. "displayName": "A String", # The display_name assigned to the auction package. "name": "A 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. "subscribedClients": [ # Output only. The list of clients of the current buyer that are subscribed to the AuctionPackage. Format: `buyers/{buyerAccountId}/clients/{clientAccountId}` "A String", ], "updateTime": "A 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. }
unsubscribeClients(auctionPackage, body=None, x__xgafv=None)
Unsubscribe from the auction package for the specified clients of the buyer. Unsubscribing a client that is not subscribed will have no effect. Args: auctionPackage: string, Required. Name of the auction package. Format: `buyers/{accountId}/auctionPackages/{auctionPackageId}` (required) body: object, The request body. The object takes the form of: { # Request message for UnsubscribeAuctionPackage. "clients": [ # Optional. A list of client buyers to unsubscribe from the auction package, with client buyer in the format `buyers/{accountId}/clients/{clientAccountId}`. "A String", ], } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Defines a segment of inventory that buyer wants to buy. It's created by buyer and could be shared with multiple buyers. "createTime": "A String", # Output only. Time the auction package was created. "creator": "A String", # Output only. The buyer that created this auction package. Format: `buyers/{buyerAccountId}` "description": "A String", # Output only. A description of the auction package. "displayName": "A String", # The display_name assigned to the auction package. "name": "A 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. "subscribedClients": [ # Output only. The list of clients of the current buyer that are subscribed to the AuctionPackage. Format: `buyers/{buyerAccountId}/clients/{clientAccountId}` "A String", ], "updateTime": "A 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. }