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 |
---|---|---|
Custom |
grpcClient | The underlying gRPC client. |
Custom |
settings | The base Custom |
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 |
---|---|
Custom |
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 |
---|---|---|
Get |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Custom |
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 |
---|---|---|
Get |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Custom |
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 |
---|---|---|
List |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Paged |
A pageable sequence of Custom |
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 |
---|---|---|
List |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Paged |
A pageable asynchronous sequence of Custom |