Class PrivateAuctionService.PrivateAuctionServiceBase
Base class for server-side implementations of PrivateAuctionService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(PrivateAuctionService), "BindService")]
public abstract class PrivateAuctionService.PrivateAuctionServiceBase
Methods
CreatePrivateAuction(CreatePrivateAuctionRequest, ServerCallContext)
API to create a PrivateAuction object.
Declaration
public virtual Task<PrivateAuction> CreatePrivateAuction(CreatePrivateAuctionRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| CreatePrivateAuctionRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<PrivateAuction> | The response to send back to the client (wrapped by a task). |
GetPrivateAuction(GetPrivateAuctionRequest, ServerCallContext)
API to retrieve a PrivateAuction object.
Declaration
public virtual Task<PrivateAuction> GetPrivateAuction(GetPrivateAuctionRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetPrivateAuctionRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<PrivateAuction> | The response to send back to the client (wrapped by a task). |
ListPrivateAuctions(ListPrivateAuctionsRequest, ServerCallContext)
API to retrieve a list of PrivateAuction objects.
Declaration
public virtual Task<ListPrivateAuctionsResponse> ListPrivateAuctions(ListPrivateAuctionsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListPrivateAuctionsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListPrivateAuctionsResponse> | The response to send back to the client (wrapped by a task). |
UpdatePrivateAuction(UpdatePrivateAuctionRequest, ServerCallContext)
API to update a PrivateAuction object.
Declaration
public virtual Task<PrivateAuction> UpdatePrivateAuction(UpdatePrivateAuctionRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdatePrivateAuctionRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<PrivateAuction> | The response to send back to the client (wrapped by a task). |