Class PlacementService.PlacementServiceBase
Base class for server-side implementations of PlacementService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(PlacementService), "BindService")]
public abstract class PlacementService.PlacementServiceBase
Methods
BatchActivatePlacements(BatchActivatePlacementsRequest, ServerCallContext)
Activates a list of Placement objects.
Declaration
public virtual Task<BatchActivatePlacementsResponse> BatchActivatePlacements(BatchActivatePlacementsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivatePlacementsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchActivatePlacementsResponse> | The response to send back to the client (wrapped by a task). |
BatchArchivePlacements(BatchArchivePlacementsRequest, ServerCallContext)
Archives a list of Placement objects.
Declaration
public virtual Task<BatchArchivePlacementsResponse> BatchArchivePlacements(BatchArchivePlacementsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchivePlacementsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchArchivePlacementsResponse> | The response to send back to the client (wrapped by a task). |
BatchCreatePlacements(BatchCreatePlacementsRequest, ServerCallContext)
API to batch create Placement objects.
Declaration
public virtual Task<BatchCreatePlacementsResponse> BatchCreatePlacements(BatchCreatePlacementsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreatePlacementsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchCreatePlacementsResponse> | The response to send back to the client (wrapped by a task). |
BatchDeactivatePlacements(BatchDeactivatePlacementsRequest, ServerCallContext)
Deactivates a list of Placement objects.
Declaration
public virtual Task<BatchDeactivatePlacementsResponse> BatchDeactivatePlacements(BatchDeactivatePlacementsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivatePlacementsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchDeactivatePlacementsResponse> | The response to send back to the client (wrapped by a task). |
BatchUpdatePlacements(BatchUpdatePlacementsRequest, ServerCallContext)
API to batch update Placement objects.
Declaration
public virtual Task<BatchUpdatePlacementsResponse> BatchUpdatePlacements(BatchUpdatePlacementsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdatePlacementsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchUpdatePlacementsResponse> | The response to send back to the client (wrapped by a task). |
CreatePlacement(CreatePlacementRequest, ServerCallContext)
API to create an Placement object.
Declaration
public virtual Task<Placement> CreatePlacement(CreatePlacementRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| CreatePlacementRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<Placement> | The response to send back to the client (wrapped by a task). |
GetPlacement(GetPlacementRequest, ServerCallContext)
API to retrieve a Placement object.
Declaration
public virtual Task<Placement> GetPlacement(GetPlacementRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetPlacementRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<Placement> | The response to send back to the client (wrapped by a task). |
ListPlacements(ListPlacementsRequest, ServerCallContext)
API to retrieve a list of Placement objects.
Declaration
public virtual Task<ListPlacementsResponse> ListPlacements(ListPlacementsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListPlacementsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListPlacementsResponse> | The response to send back to the client (wrapped by a task). |
UpdatePlacement(UpdatePlacementRequest, ServerCallContext)
API to update an Placement object.
Declaration
public virtual Task<Placement> UpdatePlacement(UpdatePlacementRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdatePlacementRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<Placement> | The response to send back to the client (wrapped by a task). |