Class CustomTargetingValueServiceClientImpl
CustomTargetingValueService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class CustomTargetingValueServiceClientImpl : CustomTargetingValueServiceClient
Remarks
Provides methods for handling CustomTargetingValue objects.
Constructors
CustomTargetingValueServiceClientImpl(CustomTargetingValueServiceClient, CustomTargetingValueServiceSettings, ILogger)
Constructs a client wrapper for the CustomTargetingValueService service, with the specified gRPC client and settings.
Declaration
public CustomTargetingValueServiceClientImpl(CustomTargetingValueService.CustomTargetingValueServiceClient grpcClient, CustomTargetingValueServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| CustomTargetingValueService.CustomTargetingValueServiceClient | grpcClient | The underlying gRPC client. |
| CustomTargetingValueServiceSettings | settings | The base CustomTargetingValueServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC CustomTargetingValueService client
Declaration
public override CustomTargetingValueService.CustomTargetingValueServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| CustomTargetingValueService.CustomTargetingValueServiceClient |
Overrides
Methods
BatchActivateCustomTargetingValues(BatchActivateCustomTargetingValuesRequest, CallSettings)
Batch activates CustomTargetingValue objects.
Declaration
public override BatchActivateCustomTargetingValuesResponse BatchActivateCustomTargetingValues(BatchActivateCustomTargetingValuesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateCustomTargetingValuesRequest | 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 |
|---|---|
| BatchActivateCustomTargetingValuesResponse | The RPC response. |
Overrides
BatchActivateCustomTargetingValuesAsync(BatchActivateCustomTargetingValuesRequest, CallSettings)
Batch activates CustomTargetingValue objects.
Declaration
public override Task<BatchActivateCustomTargetingValuesResponse> BatchActivateCustomTargetingValuesAsync(BatchActivateCustomTargetingValuesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateCustomTargetingValuesRequest | 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<BatchActivateCustomTargetingValuesResponse> | A Task containing the RPC response. |
Overrides
BatchCreateCustomTargetingValues(BatchCreateCustomTargetingValuesRequest, CallSettings)
Creates CustomTargetingValue objects.
Declaration
public override BatchCreateCustomTargetingValuesResponse BatchCreateCustomTargetingValues(BatchCreateCustomTargetingValuesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateCustomTargetingValuesRequest | 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 |
|---|---|
| BatchCreateCustomTargetingValuesResponse | The RPC response. |
Overrides
BatchCreateCustomTargetingValuesAsync(BatchCreateCustomTargetingValuesRequest, CallSettings)
Creates CustomTargetingValue objects.
Declaration
public override Task<BatchCreateCustomTargetingValuesResponse> BatchCreateCustomTargetingValuesAsync(BatchCreateCustomTargetingValuesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateCustomTargetingValuesRequest | 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<BatchCreateCustomTargetingValuesResponse> | A Task containing the RPC response. |
Overrides
BatchDeactivateCustomTargetingValues(BatchDeactivateCustomTargetingValuesRequest, CallSettings)
Deactivates a list of CustomTargetingValue objects.
Declaration
public override BatchDeactivateCustomTargetingValuesResponse BatchDeactivateCustomTargetingValues(BatchDeactivateCustomTargetingValuesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateCustomTargetingValuesRequest | 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 |
|---|---|
| BatchDeactivateCustomTargetingValuesResponse | The RPC response. |
Overrides
BatchDeactivateCustomTargetingValuesAsync(BatchDeactivateCustomTargetingValuesRequest, CallSettings)
Deactivates a list of CustomTargetingValue objects.
Declaration
public override Task<BatchDeactivateCustomTargetingValuesResponse> BatchDeactivateCustomTargetingValuesAsync(BatchDeactivateCustomTargetingValuesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateCustomTargetingValuesRequest | 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<BatchDeactivateCustomTargetingValuesResponse> | A Task containing the RPC response. |
Overrides
BatchUpdateCustomTargetingValues(BatchUpdateCustomTargetingValuesRequest, CallSettings)
Batch updates CustomTargetingValue objects.
Declaration
public override BatchUpdateCustomTargetingValuesResponse BatchUpdateCustomTargetingValues(BatchUpdateCustomTargetingValuesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateCustomTargetingValuesRequest | 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 |
|---|---|
| BatchUpdateCustomTargetingValuesResponse | The RPC response. |
Overrides
BatchUpdateCustomTargetingValuesAsync(BatchUpdateCustomTargetingValuesRequest, CallSettings)
Batch updates CustomTargetingValue objects.
Declaration
public override Task<BatchUpdateCustomTargetingValuesResponse> BatchUpdateCustomTargetingValuesAsync(BatchUpdateCustomTargetingValuesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateCustomTargetingValuesRequest | 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<BatchUpdateCustomTargetingValuesResponse> | A Task containing the RPC response. |
Overrides
CreateCustomTargetingValue(CreateCustomTargetingValueRequest, CallSettings)
Creates a CustomTargetingValue object.
Declaration
public override CustomTargetingValue CreateCustomTargetingValue(CreateCustomTargetingValueRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateCustomTargetingValueRequest | 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 |
|---|---|
| CustomTargetingValue | The RPC response. |
Overrides
CreateCustomTargetingValueAsync(CreateCustomTargetingValueRequest, CallSettings)
Creates a CustomTargetingValue object.
Declaration
public override Task<CustomTargetingValue> CreateCustomTargetingValueAsync(CreateCustomTargetingValueRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateCustomTargetingValueRequest | 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<CustomTargetingValue> | A Task containing the RPC response. |
Overrides
GetCustomTargetingValue(GetCustomTargetingValueRequest, CallSettings)
Retrieves a CustomTargetingValue object.
Declaration
public override CustomTargetingValue GetCustomTargetingValue(GetCustomTargetingValueRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCustomTargetingValueRequest | 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 |
|---|---|
| CustomTargetingValue | The RPC response. |
Overrides
GetCustomTargetingValueAsync(GetCustomTargetingValueRequest, CallSettings)
Retrieves a CustomTargetingValue object.
Declaration
public override Task<CustomTargetingValue> GetCustomTargetingValueAsync(GetCustomTargetingValueRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCustomTargetingValueRequest | 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<CustomTargetingValue> | A Task containing the RPC response. |
Overrides
ListCustomTargetingValues(ListCustomTargetingValuesRequest, CallSettings)
Lists CustomTargetingValue objects.
Declaration
public override PagedEnumerable<ListCustomTargetingValuesResponse, CustomTargetingValue> ListCustomTargetingValues(ListCustomTargetingValuesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListCustomTargetingValuesRequest | 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<ListCustomTargetingValuesResponse, CustomTargetingValue> | A pageable sequence of CustomTargetingValue resources. |
Overrides
ListCustomTargetingValuesAsync(ListCustomTargetingValuesRequest, CallSettings)
Lists CustomTargetingValue objects.
Declaration
public override PagedAsyncEnumerable<ListCustomTargetingValuesResponse, CustomTargetingValue> ListCustomTargetingValuesAsync(ListCustomTargetingValuesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListCustomTargetingValuesRequest | 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<ListCustomTargetingValuesResponse, CustomTargetingValue> | A pageable asynchronous sequence of CustomTargetingValue resources. |
Overrides
UpdateCustomTargetingValue(UpdateCustomTargetingValueRequest, CallSettings)
Updates a CustomTargetingValue object.
Declaration
public override CustomTargetingValue UpdateCustomTargetingValue(UpdateCustomTargetingValueRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateCustomTargetingValueRequest | 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 |
|---|---|
| CustomTargetingValue | The RPC response. |
Overrides
UpdateCustomTargetingValueAsync(UpdateCustomTargetingValueRequest, CallSettings)
Updates a CustomTargetingValue object.
Declaration
public override Task<CustomTargetingValue> UpdateCustomTargetingValueAsync(UpdateCustomTargetingValueRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateCustomTargetingValueRequest | 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<CustomTargetingValue> | A Task containing the RPC response. |