Show / Hide Table of Contents

Class CustomTargetingKeyServiceClientImpl

CustomTargetingKeyService client wrapper implementation, for convenient use.

Inheritance
object
CustomTargetingKeyServiceClient
CustomTargetingKeyServiceClientImpl
Inherited Members
CustomTargetingKeyServiceClient.DefaultEndpoint
CustomTargetingKeyServiceClient.DefaultScopes
CustomTargetingKeyServiceClient.ServiceMetadata
CustomTargetingKeyServiceClient.CreateAsync(CancellationToken)
CustomTargetingKeyServiceClient.Create()
CustomTargetingKeyServiceClient.ShutdownDefaultChannelsAsync()
CustomTargetingKeyServiceClient.GetCustomTargetingKeyAsync(GetCustomTargetingKeyRequest, CancellationToken)
CustomTargetingKeyServiceClient.GetCustomTargetingKey(string, CallSettings)
CustomTargetingKeyServiceClient.GetCustomTargetingKeyAsync(string, CallSettings)
CustomTargetingKeyServiceClient.GetCustomTargetingKeyAsync(string, CancellationToken)
CustomTargetingKeyServiceClient.GetCustomTargetingKey(CustomTargetingKeyName, CallSettings)
CustomTargetingKeyServiceClient.GetCustomTargetingKeyAsync(CustomTargetingKeyName, CallSettings)
CustomTargetingKeyServiceClient.GetCustomTargetingKeyAsync(CustomTargetingKeyName, CancellationToken)
CustomTargetingKeyServiceClient.ListCustomTargetingKeys(string, string, int?, CallSettings)
CustomTargetingKeyServiceClient.ListCustomTargetingKeysAsync(string, string, int?, CallSettings)
CustomTargetingKeyServiceClient.ListCustomTargetingKeys(NetworkName, string, int?, CallSettings)
CustomTargetingKeyServiceClient.ListCustomTargetingKeysAsync(NetworkName, string, int?, CallSettings)
CustomTargetingKeyServiceClient.CreateCustomTargetingKeyAsync(CreateCustomTargetingKeyRequest, CancellationToken)
CustomTargetingKeyServiceClient.CreateCustomTargetingKey(string, CustomTargetingKey, CallSettings)
CustomTargetingKeyServiceClient.CreateCustomTargetingKeyAsync(string, CustomTargetingKey, CallSettings)
CustomTargetingKeyServiceClient.CreateCustomTargetingKeyAsync(string, CustomTargetingKey, CancellationToken)
CustomTargetingKeyServiceClient.CreateCustomTargetingKey(NetworkName, CustomTargetingKey, CallSettings)
CustomTargetingKeyServiceClient.CreateCustomTargetingKeyAsync(NetworkName, CustomTargetingKey, CallSettings)
CustomTargetingKeyServiceClient.CreateCustomTargetingKeyAsync(NetworkName, CustomTargetingKey, CancellationToken)
CustomTargetingKeyServiceClient.BatchCreateCustomTargetingKeysAsync(BatchCreateCustomTargetingKeysRequest, CancellationToken)
CustomTargetingKeyServiceClient.BatchCreateCustomTargetingKeys(string, IEnumerable<CreateCustomTargetingKeyRequest>, CallSettings)
CustomTargetingKeyServiceClient.BatchCreateCustomTargetingKeysAsync(string, IEnumerable<CreateCustomTargetingKeyRequest>, CallSettings)
CustomTargetingKeyServiceClient.BatchCreateCustomTargetingKeysAsync(string, IEnumerable<CreateCustomTargetingKeyRequest>, CancellationToken)
CustomTargetingKeyServiceClient.BatchCreateCustomTargetingKeys(NetworkName, IEnumerable<CreateCustomTargetingKeyRequest>, CallSettings)
CustomTargetingKeyServiceClient.BatchCreateCustomTargetingKeysAsync(NetworkName, IEnumerable<CreateCustomTargetingKeyRequest>, CallSettings)
CustomTargetingKeyServiceClient.BatchCreateCustomTargetingKeysAsync(NetworkName, IEnumerable<CreateCustomTargetingKeyRequest>, CancellationToken)
CustomTargetingKeyServiceClient.UpdateCustomTargetingKeyAsync(UpdateCustomTargetingKeyRequest, CancellationToken)
CustomTargetingKeyServiceClient.UpdateCustomTargetingKey(CustomTargetingKey, FieldMask, CallSettings)
CustomTargetingKeyServiceClient.UpdateCustomTargetingKeyAsync(CustomTargetingKey, FieldMask, CallSettings)
CustomTargetingKeyServiceClient.UpdateCustomTargetingKeyAsync(CustomTargetingKey, FieldMask, CancellationToken)
CustomTargetingKeyServiceClient.BatchUpdateCustomTargetingKeysAsync(BatchUpdateCustomTargetingKeysRequest, CancellationToken)
CustomTargetingKeyServiceClient.BatchUpdateCustomTargetingKeys(string, IEnumerable<UpdateCustomTargetingKeyRequest>, CallSettings)
CustomTargetingKeyServiceClient.BatchUpdateCustomTargetingKeysAsync(string, IEnumerable<UpdateCustomTargetingKeyRequest>, CallSettings)
CustomTargetingKeyServiceClient.BatchUpdateCustomTargetingKeysAsync(string, IEnumerable<UpdateCustomTargetingKeyRequest>, CancellationToken)
CustomTargetingKeyServiceClient.BatchUpdateCustomTargetingKeys(NetworkName, IEnumerable<UpdateCustomTargetingKeyRequest>, CallSettings)
CustomTargetingKeyServiceClient.BatchUpdateCustomTargetingKeysAsync(NetworkName, IEnumerable<UpdateCustomTargetingKeyRequest>, CallSettings)
CustomTargetingKeyServiceClient.BatchUpdateCustomTargetingKeysAsync(NetworkName, IEnumerable<UpdateCustomTargetingKeyRequest>, CancellationToken)
CustomTargetingKeyServiceClient.BatchActivateCustomTargetingKeysAsync(BatchActivateCustomTargetingKeysRequest, CancellationToken)
CustomTargetingKeyServiceClient.BatchActivateCustomTargetingKeys(string, IEnumerable<string>, CallSettings)
CustomTargetingKeyServiceClient.BatchActivateCustomTargetingKeysAsync(string, IEnumerable<string>, CallSettings)
CustomTargetingKeyServiceClient.BatchActivateCustomTargetingKeysAsync(string, IEnumerable<string>, CancellationToken)
CustomTargetingKeyServiceClient.BatchActivateCustomTargetingKeys(NetworkName, IEnumerable<CustomTargetingKeyName>, CallSettings)
CustomTargetingKeyServiceClient.BatchActivateCustomTargetingKeysAsync(NetworkName, IEnumerable<CustomTargetingKeyName>, CallSettings)
CustomTargetingKeyServiceClient.BatchActivateCustomTargetingKeysAsync(NetworkName, IEnumerable<CustomTargetingKeyName>, CancellationToken)
CustomTargetingKeyServiceClient.BatchDeactivateCustomTargetingKeysAsync(BatchDeactivateCustomTargetingKeysRequest, CancellationToken)
CustomTargetingKeyServiceClient.BatchDeactivateCustomTargetingKeys(string, IEnumerable<string>, CallSettings)
CustomTargetingKeyServiceClient.BatchDeactivateCustomTargetingKeysAsync(string, IEnumerable<string>, CallSettings)
CustomTargetingKeyServiceClient.BatchDeactivateCustomTargetingKeysAsync(string, IEnumerable<string>, CancellationToken)
CustomTargetingKeyServiceClient.BatchDeactivateCustomTargetingKeys(NetworkName, IEnumerable<CustomTargetingKeyName>, CallSettings)
CustomTargetingKeyServiceClient.BatchDeactivateCustomTargetingKeysAsync(NetworkName, IEnumerable<CustomTargetingKeyName>, CallSettings)
CustomTargetingKeyServiceClient.BatchDeactivateCustomTargetingKeysAsync(NetworkName, IEnumerable<CustomTargetingKeyName>, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class CustomTargetingKeyServiceClientImpl : CustomTargetingKeyServiceClient
Remarks

Provides methods for handling CustomTargetingKey objects.

Constructors

CustomTargetingKeyServiceClientImpl(CustomTargetingKeyServiceClient, CustomTargetingKeyServiceSettings, ILogger)

Constructs a client wrapper for the CustomTargetingKeyService service, with the specified gRPC client and settings.

Declaration
public CustomTargetingKeyServiceClientImpl(CustomTargetingKeyService.CustomTargetingKeyServiceClient grpcClient, CustomTargetingKeyServiceSettings settings, ILogger logger)
Parameters
Type Name Description
CustomTargetingKeyService.CustomTargetingKeyServiceClient grpcClient

The underlying gRPC client.

CustomTargetingKeyServiceSettings settings

The base CustomTargetingKeyServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC CustomTargetingKeyService client

Declaration
public override CustomTargetingKeyService.CustomTargetingKeyServiceClient GrpcClient { get; }
Property Value
Type Description
CustomTargetingKeyService.CustomTargetingKeyServiceClient
Overrides
CustomTargetingKeyServiceClient.GrpcClient

Methods

BatchActivateCustomTargetingKeys(BatchActivateCustomTargetingKeysRequest, CallSettings)

API to batch activate CustomTargetingKey objects.

Declaration
public override BatchActivateCustomTargetingKeysResponse BatchActivateCustomTargetingKeys(BatchActivateCustomTargetingKeysRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchActivateCustomTargetingKeysRequest 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
BatchActivateCustomTargetingKeysResponse

The RPC response.

Overrides
CustomTargetingKeyServiceClient.BatchActivateCustomTargetingKeys(BatchActivateCustomTargetingKeysRequest, CallSettings)

BatchActivateCustomTargetingKeysAsync(BatchActivateCustomTargetingKeysRequest, CallSettings)

API to batch activate CustomTargetingKey objects.

Declaration
public override Task<BatchActivateCustomTargetingKeysResponse> BatchActivateCustomTargetingKeysAsync(BatchActivateCustomTargetingKeysRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchActivateCustomTargetingKeysRequest 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<BatchActivateCustomTargetingKeysResponse>

A Task containing the RPC response.

Overrides
CustomTargetingKeyServiceClient.BatchActivateCustomTargetingKeysAsync(BatchActivateCustomTargetingKeysRequest, CallSettings)

BatchCreateCustomTargetingKeys(BatchCreateCustomTargetingKeysRequest, CallSettings)

API to batch create CustomTargetingKey objects.

Declaration
public override BatchCreateCustomTargetingKeysResponse BatchCreateCustomTargetingKeys(BatchCreateCustomTargetingKeysRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchCreateCustomTargetingKeysRequest 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
BatchCreateCustomTargetingKeysResponse

The RPC response.

Overrides
CustomTargetingKeyServiceClient.BatchCreateCustomTargetingKeys(BatchCreateCustomTargetingKeysRequest, CallSettings)

BatchCreateCustomTargetingKeysAsync(BatchCreateCustomTargetingKeysRequest, CallSettings)

API to batch create CustomTargetingKey objects.

Declaration
public override Task<BatchCreateCustomTargetingKeysResponse> BatchCreateCustomTargetingKeysAsync(BatchCreateCustomTargetingKeysRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchCreateCustomTargetingKeysRequest 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<BatchCreateCustomTargetingKeysResponse>

A Task containing the RPC response.

Overrides
CustomTargetingKeyServiceClient.BatchCreateCustomTargetingKeysAsync(BatchCreateCustomTargetingKeysRequest, CallSettings)

BatchDeactivateCustomTargetingKeys(BatchDeactivateCustomTargetingKeysRequest, CallSettings)

Deactivates a list of CustomTargetingKey objects.

Declaration
public override BatchDeactivateCustomTargetingKeysResponse BatchDeactivateCustomTargetingKeys(BatchDeactivateCustomTargetingKeysRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchDeactivateCustomTargetingKeysRequest 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
BatchDeactivateCustomTargetingKeysResponse

The RPC response.

Overrides
CustomTargetingKeyServiceClient.BatchDeactivateCustomTargetingKeys(BatchDeactivateCustomTargetingKeysRequest, CallSettings)

BatchDeactivateCustomTargetingKeysAsync(BatchDeactivateCustomTargetingKeysRequest, CallSettings)

Deactivates a list of CustomTargetingKey objects.

Declaration
public override Task<BatchDeactivateCustomTargetingKeysResponse> BatchDeactivateCustomTargetingKeysAsync(BatchDeactivateCustomTargetingKeysRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchDeactivateCustomTargetingKeysRequest 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<BatchDeactivateCustomTargetingKeysResponse>

A Task containing the RPC response.

Overrides
CustomTargetingKeyServiceClient.BatchDeactivateCustomTargetingKeysAsync(BatchDeactivateCustomTargetingKeysRequest, CallSettings)

BatchUpdateCustomTargetingKeys(BatchUpdateCustomTargetingKeysRequest, CallSettings)

API to batch update CustomTargetingKey objects.

Declaration
public override BatchUpdateCustomTargetingKeysResponse BatchUpdateCustomTargetingKeys(BatchUpdateCustomTargetingKeysRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchUpdateCustomTargetingKeysRequest 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
BatchUpdateCustomTargetingKeysResponse

The RPC response.

Overrides
CustomTargetingKeyServiceClient.BatchUpdateCustomTargetingKeys(BatchUpdateCustomTargetingKeysRequest, CallSettings)

BatchUpdateCustomTargetingKeysAsync(BatchUpdateCustomTargetingKeysRequest, CallSettings)

API to batch update CustomTargetingKey objects.

Declaration
public override Task<BatchUpdateCustomTargetingKeysResponse> BatchUpdateCustomTargetingKeysAsync(BatchUpdateCustomTargetingKeysRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchUpdateCustomTargetingKeysRequest 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<BatchUpdateCustomTargetingKeysResponse>

A Task containing the RPC response.

Overrides
CustomTargetingKeyServiceClient.BatchUpdateCustomTargetingKeysAsync(BatchUpdateCustomTargetingKeysRequest, CallSettings)

CreateCustomTargetingKey(CreateCustomTargetingKeyRequest, CallSettings)

API to create a CustomTargetingKey object.

Declaration
public override CustomTargetingKey CreateCustomTargetingKey(CreateCustomTargetingKeyRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
CreateCustomTargetingKeyRequest 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
CustomTargetingKey

The RPC response.

Overrides
CustomTargetingKeyServiceClient.CreateCustomTargetingKey(CreateCustomTargetingKeyRequest, CallSettings)

CreateCustomTargetingKeyAsync(CreateCustomTargetingKeyRequest, CallSettings)

API to create a CustomTargetingKey object.

Declaration
public override Task<CustomTargetingKey> CreateCustomTargetingKeyAsync(CreateCustomTargetingKeyRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
CreateCustomTargetingKeyRequest 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<CustomTargetingKey>

A Task containing the RPC response.

Overrides
CustomTargetingKeyServiceClient.CreateCustomTargetingKeyAsync(CreateCustomTargetingKeyRequest, CallSettings)

GetCustomTargetingKey(GetCustomTargetingKeyRequest, CallSettings)

API to retrieve a CustomTargetingKey object.

Declaration
public override CustomTargetingKey GetCustomTargetingKey(GetCustomTargetingKeyRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetCustomTargetingKeyRequest 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
CustomTargetingKey

The RPC response.

Overrides
CustomTargetingKeyServiceClient.GetCustomTargetingKey(GetCustomTargetingKeyRequest, CallSettings)

GetCustomTargetingKeyAsync(GetCustomTargetingKeyRequest, CallSettings)

API to retrieve a CustomTargetingKey object.

Declaration
public override Task<CustomTargetingKey> GetCustomTargetingKeyAsync(GetCustomTargetingKeyRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetCustomTargetingKeyRequest 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<CustomTargetingKey>

A Task containing the RPC response.

Overrides
CustomTargetingKeyServiceClient.GetCustomTargetingKeyAsync(GetCustomTargetingKeyRequest, CallSettings)

ListCustomTargetingKeys(ListCustomTargetingKeysRequest, CallSettings)

API to retrieve a list of CustomTargetingKey objects.

Declaration
public override PagedEnumerable<ListCustomTargetingKeysResponse, CustomTargetingKey> ListCustomTargetingKeys(ListCustomTargetingKeysRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListCustomTargetingKeysRequest 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<ListCustomTargetingKeysResponse, CustomTargetingKey>

A pageable sequence of CustomTargetingKey resources.

Overrides
CustomTargetingKeyServiceClient.ListCustomTargetingKeys(ListCustomTargetingKeysRequest, CallSettings)

ListCustomTargetingKeysAsync(ListCustomTargetingKeysRequest, CallSettings)

API to retrieve a list of CustomTargetingKey objects.

Declaration
public override PagedAsyncEnumerable<ListCustomTargetingKeysResponse, CustomTargetingKey> ListCustomTargetingKeysAsync(ListCustomTargetingKeysRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListCustomTargetingKeysRequest 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<ListCustomTargetingKeysResponse, CustomTargetingKey>

A pageable asynchronous sequence of CustomTargetingKey resources.

Overrides
CustomTargetingKeyServiceClient.ListCustomTargetingKeysAsync(ListCustomTargetingKeysRequest, CallSettings)

UpdateCustomTargetingKey(UpdateCustomTargetingKeyRequest, CallSettings)

API to update a CustomTargetingKey object.

Declaration
public override CustomTargetingKey UpdateCustomTargetingKey(UpdateCustomTargetingKeyRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UpdateCustomTargetingKeyRequest 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
CustomTargetingKey

The RPC response.

Overrides
CustomTargetingKeyServiceClient.UpdateCustomTargetingKey(UpdateCustomTargetingKeyRequest, CallSettings)

UpdateCustomTargetingKeyAsync(UpdateCustomTargetingKeyRequest, CallSettings)

API to update a CustomTargetingKey object.

Declaration
public override Task<CustomTargetingKey> UpdateCustomTargetingKeyAsync(UpdateCustomTargetingKeyRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UpdateCustomTargetingKeyRequest 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<CustomTargetingKey>

A Task containing the RPC response.

Overrides
CustomTargetingKeyServiceClient.UpdateCustomTargetingKeyAsync(UpdateCustomTargetingKeyRequest, CallSettings)
In this article
Back to top Generated by DocFX