Class PlacementServiceClientImpl
PlacementService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class PlacementServiceClientImpl : PlacementServiceClient
Remarks
Provides methods for handling Placement objects.
Constructors
PlacementServiceClientImpl(PlacementServiceClient, PlacementServiceSettings, ILogger)
Constructs a client wrapper for the PlacementService service, with the specified gRPC client and settings.
Declaration
public PlacementServiceClientImpl(PlacementService.PlacementServiceClient grpcClient, PlacementServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| PlacementService.PlacementServiceClient | grpcClient | The underlying gRPC client. |
| PlacementServiceSettings | settings | The base PlacementServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC PlacementService client
Declaration
public override PlacementService.PlacementServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| PlacementService.PlacementServiceClient |
Overrides
Methods
BatchActivatePlacements(BatchActivatePlacementsRequest, CallSettings)
Activates a list of Placement objects.
Declaration
public override BatchActivatePlacementsResponse BatchActivatePlacements(BatchActivatePlacementsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivatePlacementsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchActivatePlacementsResponse | The RPC response. |
Overrides
BatchActivatePlacementsAsync(BatchActivatePlacementsRequest, CallSettings)
Activates a list of Placement objects.
Declaration
public override Task<BatchActivatePlacementsResponse> BatchActivatePlacementsAsync(BatchActivatePlacementsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivatePlacementsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchActivatePlacementsResponse> | A Task containing the RPC response. |
Overrides
BatchArchivePlacements(BatchArchivePlacementsRequest, CallSettings)
Archives a list of Placement objects.
Declaration
public override BatchArchivePlacementsResponse BatchArchivePlacements(BatchArchivePlacementsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchivePlacementsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchArchivePlacementsResponse | The RPC response. |
Overrides
BatchArchivePlacementsAsync(BatchArchivePlacementsRequest, CallSettings)
Archives a list of Placement objects.
Declaration
public override Task<BatchArchivePlacementsResponse> BatchArchivePlacementsAsync(BatchArchivePlacementsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchivePlacementsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchArchivePlacementsResponse> | A Task containing the RPC response. |
Overrides
BatchCreatePlacements(BatchCreatePlacementsRequest, CallSettings)
API to batch create Placement objects.
Declaration
public override BatchCreatePlacementsResponse BatchCreatePlacements(BatchCreatePlacementsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreatePlacementsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchCreatePlacementsResponse | The RPC response. |
Overrides
BatchCreatePlacementsAsync(BatchCreatePlacementsRequest, CallSettings)
API to batch create Placement objects.
Declaration
public override Task<BatchCreatePlacementsResponse> BatchCreatePlacementsAsync(BatchCreatePlacementsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreatePlacementsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchCreatePlacementsResponse> | A Task containing the RPC response. |
Overrides
BatchDeactivatePlacements(BatchDeactivatePlacementsRequest, CallSettings)
Deactivates a list of Placement objects.
Declaration
public override BatchDeactivatePlacementsResponse BatchDeactivatePlacements(BatchDeactivatePlacementsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivatePlacementsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchDeactivatePlacementsResponse | The RPC response. |
Overrides
BatchDeactivatePlacementsAsync(BatchDeactivatePlacementsRequest, CallSettings)
Deactivates a list of Placement objects.
Declaration
public override Task<BatchDeactivatePlacementsResponse> BatchDeactivatePlacementsAsync(BatchDeactivatePlacementsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivatePlacementsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchDeactivatePlacementsResponse> | A Task containing the RPC response. |
Overrides
BatchUpdatePlacements(BatchUpdatePlacementsRequest, CallSettings)
API to batch update Placement objects.
Declaration
public override BatchUpdatePlacementsResponse BatchUpdatePlacements(BatchUpdatePlacementsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdatePlacementsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchUpdatePlacementsResponse | The RPC response. |
Overrides
BatchUpdatePlacementsAsync(BatchUpdatePlacementsRequest, CallSettings)
API to batch update Placement objects.
Declaration
public override Task<BatchUpdatePlacementsResponse> BatchUpdatePlacementsAsync(BatchUpdatePlacementsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdatePlacementsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchUpdatePlacementsResponse> | A Task containing the RPC response. |
Overrides
CreatePlacement(CreatePlacementRequest, CallSettings)
API to create an Placement object.
Declaration
public override Placement CreatePlacement(CreatePlacementRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreatePlacementRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Placement | The RPC response. |
Overrides
CreatePlacementAsync(CreatePlacementRequest, CallSettings)
API to create an Placement object.
Declaration
public override Task<Placement> CreatePlacementAsync(CreatePlacementRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreatePlacementRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Placement> | A Task containing the RPC response. |
Overrides
GetPlacement(GetPlacementRequest, CallSettings)
API to retrieve a Placement object.
Declaration
public override Placement GetPlacement(GetPlacementRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetPlacementRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Placement | The RPC response. |
Overrides
GetPlacementAsync(GetPlacementRequest, CallSettings)
API to retrieve a Placement object.
Declaration
public override Task<Placement> GetPlacementAsync(GetPlacementRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetPlacementRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Placement> | A Task containing the RPC response. |
Overrides
ListPlacements(ListPlacementsRequest, CallSettings)
API to retrieve a list of Placement objects.
Declaration
public override PagedEnumerable<ListPlacementsResponse, Placement> ListPlacements(ListPlacementsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListPlacementsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedEnumerable<ListPlacementsResponse, Placement> | A pageable sequence of Placement resources. |
Overrides
ListPlacementsAsync(ListPlacementsRequest, CallSettings)
API to retrieve a list of Placement objects.
Declaration
public override PagedAsyncEnumerable<ListPlacementsResponse, Placement> ListPlacementsAsync(ListPlacementsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListPlacementsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedAsyncEnumerable<ListPlacementsResponse, Placement> | A pageable asynchronous sequence of Placement resources. |
Overrides
UpdatePlacement(UpdatePlacementRequest, CallSettings)
API to update an Placement object.
Declaration
public override Placement UpdatePlacement(UpdatePlacementRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdatePlacementRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Placement | The RPC response. |
Overrides
UpdatePlacementAsync(UpdatePlacementRequest, CallSettings)
API to update an Placement object.
Declaration
public override Task<Placement> UpdatePlacementAsync(UpdatePlacementRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdatePlacementRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Placement> | A Task containing the RPC response. |