Class BiddersResource.FinalizedDealsResource
The "finalizedDeals" collection of methods.
Inherited Members
Namespace: Google.Apis.AuthorizedBuyersMarketplace.v1
Assembly: Google.Apis.AuthorizedBuyersMarketplace.v1.dll
Syntax
public class BiddersResource.FinalizedDealsResource
Constructors
FinalizedDealsResource(IClientService)
Constructs a new resource.
Declaration
public FinalizedDealsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
List(string)
Lists finalized deals. Use the URL path "/v1/buyers/{accountId}/finalizedDeals" to list finalized deals for the current buyer and its clients. Bidders can use the URL path "/v1/bidders/{accountId}/finalizedDeals" to list finalized deals for the bidder, its buyers and all their clients.
Declaration
public virtual BiddersResource.FinalizedDealsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The buyer to list the finalized deals for, in the format: |
Returns
| Type | Description |
|---|---|
| BiddersResource.FinalizedDealsResource.ListRequest |
SetReadyToServe(SetReadyToServeRequest, string)
Sets the given finalized deal as ready to serve. By default, deals are set as ready to serve as soon as
they're finalized. If you want to opt out of the default behavior, and manually indicate that deals are
ready to serve, ask your Technical Account Manager to add you to the allowlist. If you choose to use
this method, finalized deals belonging to the bidder and its child seats don't start serving until after
you call setReadyToServe, and after the deals become active. For example, you can use this method to
delay receiving bid requests until your creative is ready. In addition, bidders can use the URL path
"/v1/bidders/{accountId}/finalizedDeals/{dealId}" to set ready to serve for the finalized deals belong
to itself, its child seats and all their clients. This method only applies to programmatic guaranteed
deals.
Declaration
public virtual BiddersResource.FinalizedDealsResource.SetReadyToServeRequest SetReadyToServe(SetReadyToServeRequest body, string deal)
Parameters
| Type | Name | Description |
|---|---|---|
| SetReadyToServeRequest | body | The body of the request. |
| string | deal | Required. Format: |
Returns
| Type | Description |
|---|---|
| BiddersResource.FinalizedDealsResource.SetReadyToServeRequest |