Class AdSpotService.AdSpotServiceBase
Base class for server-side implementations of AdSpotService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(AdSpotService), "BindService")]
public abstract class AdSpotService.AdSpotServiceBase
Methods
BatchCreateAdSpots(BatchCreateAdSpotsRequest, ServerCallContext)
Batch creates AdSpot objects.
Declaration
public virtual Task<BatchCreateAdSpotsResponse> BatchCreateAdSpots(BatchCreateAdSpotsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateAdSpotsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchCreateAdSpotsResponse> | The response to send back to the client (wrapped by a task). |
BatchUpdateAdSpots(BatchUpdateAdSpotsRequest, ServerCallContext)
Batch updates AdSpot objects.
Declaration
public virtual Task<BatchUpdateAdSpotsResponse> BatchUpdateAdSpots(BatchUpdateAdSpotsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateAdSpotsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchUpdateAdSpotsResponse> | The response to send back to the client (wrapped by a task). |
CreateAdSpot(CreateAdSpotRequest, ServerCallContext)
Creates an AdSpot object.
Declaration
public virtual Task<AdSpot> CreateAdSpot(CreateAdSpotRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateAdSpotRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<AdSpot> | The response to send back to the client (wrapped by a task). |
GetAdSpot(GetAdSpotRequest, ServerCallContext)
Retrieves an AdSpot object.
Declaration
public virtual Task<AdSpot> GetAdSpot(GetAdSpotRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAdSpotRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<AdSpot> | The response to send back to the client (wrapped by a task). |
ListAdSpots(ListAdSpotsRequest, ServerCallContext)
Lists AdSpot objects.
Declaration
public virtual Task<ListAdSpotsResponse> ListAdSpots(ListAdSpotsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAdSpotsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListAdSpotsResponse> | The response to send back to the client (wrapped by a task). |
UpdateAdSpot(UpdateAdSpotRequest, ServerCallContext)
Updates an AdSpot object.
Declaration
public virtual Task<AdSpot> UpdateAdSpot(UpdateAdSpotRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateAdSpotRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<AdSpot> | The response to send back to the client (wrapped by a task). |