Class CustomTargetingKeyServiceClientImpl
CustomTargetingKeyService client wrapper implementation, for convenient use.
Inherited Members
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
Methods
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
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
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
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. |