Show / Hide Table of Contents

Class PlacementServiceClientImpl

PlacementService client wrapper implementation, for convenient use.

Inheritance
object
PlacementServiceClient
PlacementServiceClientImpl
Inherited Members
PlacementServiceClient.DefaultEndpoint
PlacementServiceClient.DefaultScopes
PlacementServiceClient.ServiceMetadata
PlacementServiceClient.CreateAsync(CancellationToken)
PlacementServiceClient.Create()
PlacementServiceClient.ShutdownDefaultChannelsAsync()
PlacementServiceClient.GetPlacementAsync(GetPlacementRequest, CancellationToken)
PlacementServiceClient.GetPlacement(string, CallSettings)
PlacementServiceClient.GetPlacementAsync(string, CallSettings)
PlacementServiceClient.GetPlacementAsync(string, CancellationToken)
PlacementServiceClient.GetPlacement(PlacementName, CallSettings)
PlacementServiceClient.GetPlacementAsync(PlacementName, CallSettings)
PlacementServiceClient.GetPlacementAsync(PlacementName, CancellationToken)
PlacementServiceClient.ListPlacements(string, string, int?, CallSettings)
PlacementServiceClient.ListPlacementsAsync(string, string, int?, CallSettings)
PlacementServiceClient.ListPlacements(NetworkName, string, int?, CallSettings)
PlacementServiceClient.ListPlacementsAsync(NetworkName, string, int?, CallSettings)
PlacementServiceClient.CreatePlacementAsync(CreatePlacementRequest, CancellationToken)
PlacementServiceClient.CreatePlacement(string, Placement, CallSettings)
PlacementServiceClient.CreatePlacementAsync(string, Placement, CallSettings)
PlacementServiceClient.CreatePlacementAsync(string, Placement, CancellationToken)
PlacementServiceClient.CreatePlacement(NetworkName, Placement, CallSettings)
PlacementServiceClient.CreatePlacementAsync(NetworkName, Placement, CallSettings)
PlacementServiceClient.CreatePlacementAsync(NetworkName, Placement, CancellationToken)
PlacementServiceClient.UpdatePlacementAsync(UpdatePlacementRequest, CancellationToken)
PlacementServiceClient.UpdatePlacement(Placement, FieldMask, CallSettings)
PlacementServiceClient.UpdatePlacementAsync(Placement, FieldMask, CallSettings)
PlacementServiceClient.UpdatePlacementAsync(Placement, FieldMask, CancellationToken)
PlacementServiceClient.BatchCreatePlacementsAsync(BatchCreatePlacementsRequest, CancellationToken)
PlacementServiceClient.BatchCreatePlacements(string, IEnumerable<CreatePlacementRequest>, CallSettings)
PlacementServiceClient.BatchCreatePlacementsAsync(string, IEnumerable<CreatePlacementRequest>, CallSettings)
PlacementServiceClient.BatchCreatePlacementsAsync(string, IEnumerable<CreatePlacementRequest>, CancellationToken)
PlacementServiceClient.BatchCreatePlacements(NetworkName, IEnumerable<CreatePlacementRequest>, CallSettings)
PlacementServiceClient.BatchCreatePlacementsAsync(NetworkName, IEnumerable<CreatePlacementRequest>, CallSettings)
PlacementServiceClient.BatchCreatePlacementsAsync(NetworkName, IEnumerable<CreatePlacementRequest>, CancellationToken)
PlacementServiceClient.BatchUpdatePlacementsAsync(BatchUpdatePlacementsRequest, CancellationToken)
PlacementServiceClient.BatchUpdatePlacements(string, IEnumerable<UpdatePlacementRequest>, CallSettings)
PlacementServiceClient.BatchUpdatePlacementsAsync(string, IEnumerable<UpdatePlacementRequest>, CallSettings)
PlacementServiceClient.BatchUpdatePlacementsAsync(string, IEnumerable<UpdatePlacementRequest>, CancellationToken)
PlacementServiceClient.BatchUpdatePlacements(NetworkName, IEnumerable<UpdatePlacementRequest>, CallSettings)
PlacementServiceClient.BatchUpdatePlacementsAsync(NetworkName, IEnumerable<UpdatePlacementRequest>, CallSettings)
PlacementServiceClient.BatchUpdatePlacementsAsync(NetworkName, IEnumerable<UpdatePlacementRequest>, CancellationToken)
PlacementServiceClient.BatchActivatePlacementsAsync(BatchActivatePlacementsRequest, CancellationToken)
PlacementServiceClient.BatchActivatePlacements(string, IEnumerable<string>, CallSettings)
PlacementServiceClient.BatchActivatePlacementsAsync(string, IEnumerable<string>, CallSettings)
PlacementServiceClient.BatchActivatePlacementsAsync(string, IEnumerable<string>, CancellationToken)
PlacementServiceClient.BatchActivatePlacements(NetworkName, IEnumerable<PlacementName>, CallSettings)
PlacementServiceClient.BatchActivatePlacementsAsync(NetworkName, IEnumerable<PlacementName>, CallSettings)
PlacementServiceClient.BatchActivatePlacementsAsync(NetworkName, IEnumerable<PlacementName>, CancellationToken)
PlacementServiceClient.BatchDeactivatePlacementsAsync(BatchDeactivatePlacementsRequest, CancellationToken)
PlacementServiceClient.BatchDeactivatePlacements(string, IEnumerable<string>, CallSettings)
PlacementServiceClient.BatchDeactivatePlacementsAsync(string, IEnumerable<string>, CallSettings)
PlacementServiceClient.BatchDeactivatePlacementsAsync(string, IEnumerable<string>, CancellationToken)
PlacementServiceClient.BatchDeactivatePlacements(NetworkName, IEnumerable<PlacementName>, CallSettings)
PlacementServiceClient.BatchDeactivatePlacementsAsync(NetworkName, IEnumerable<PlacementName>, CallSettings)
PlacementServiceClient.BatchDeactivatePlacementsAsync(NetworkName, IEnumerable<PlacementName>, CancellationToken)
PlacementServiceClient.BatchArchivePlacementsAsync(BatchArchivePlacementsRequest, CancellationToken)
PlacementServiceClient.BatchArchivePlacements(string, IEnumerable<string>, CallSettings)
PlacementServiceClient.BatchArchivePlacementsAsync(string, IEnumerable<string>, CallSettings)
PlacementServiceClient.BatchArchivePlacementsAsync(string, IEnumerable<string>, CancellationToken)
PlacementServiceClient.BatchArchivePlacements(NetworkName, IEnumerable<PlacementName>, CallSettings)
PlacementServiceClient.BatchArchivePlacementsAsync(NetworkName, IEnumerable<PlacementName>, CallSettings)
PlacementServiceClient.BatchArchivePlacementsAsync(NetworkName, IEnumerable<PlacementName>, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
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
PlacementServiceClient.GrpcClient

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
PlacementServiceClient.BatchActivatePlacements(BatchActivatePlacementsRequest, CallSettings)

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
PlacementServiceClient.BatchActivatePlacementsAsync(BatchActivatePlacementsRequest, CallSettings)

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
PlacementServiceClient.BatchArchivePlacements(BatchArchivePlacementsRequest, CallSettings)

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
PlacementServiceClient.BatchArchivePlacementsAsync(BatchArchivePlacementsRequest, CallSettings)

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
PlacementServiceClient.BatchCreatePlacements(BatchCreatePlacementsRequest, CallSettings)

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
PlacementServiceClient.BatchCreatePlacementsAsync(BatchCreatePlacementsRequest, CallSettings)

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
PlacementServiceClient.BatchDeactivatePlacements(BatchDeactivatePlacementsRequest, CallSettings)

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
PlacementServiceClient.BatchDeactivatePlacementsAsync(BatchDeactivatePlacementsRequest, CallSettings)

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
PlacementServiceClient.BatchUpdatePlacements(BatchUpdatePlacementsRequest, CallSettings)

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
PlacementServiceClient.BatchUpdatePlacementsAsync(BatchUpdatePlacementsRequest, CallSettings)

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
PlacementServiceClient.CreatePlacement(CreatePlacementRequest, CallSettings)

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
PlacementServiceClient.CreatePlacementAsync(CreatePlacementRequest, CallSettings)

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
PlacementServiceClient.GetPlacement(GetPlacementRequest, CallSettings)

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
PlacementServiceClient.GetPlacementAsync(GetPlacementRequest, CallSettings)

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
PlacementServiceClient.ListPlacements(ListPlacementsRequest, CallSettings)

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
PlacementServiceClient.ListPlacementsAsync(ListPlacementsRequest, CallSettings)

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
PlacementServiceClient.UpdatePlacement(UpdatePlacementRequest, CallSettings)

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.

Overrides
PlacementServiceClient.UpdatePlacementAsync(UpdatePlacementRequest, CallSettings)
In this article
Back to top Generated by DocFX