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
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). |