Class CustomTargetingValueService.CustomTargetingValueServiceClient
Client for CustomTargetingValueService
Inheritance
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public class CustomTargetingValueService.CustomTargetingValueServiceClient : ClientBase<CustomTargetingValueService.CustomTargetingValueServiceClient>
Constructors
CustomTargetingValueServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected CustomTargetingValueServiceClient()
CustomTargetingValueServiceClient(CallInvoker)
Creates a new client for CustomTargetingValueService that uses a custom CallInvoker.
Declaration
public CustomTargetingValueServiceClient(CallInvoker callInvoker)
Parameters
| Type | Name | Description |
|---|---|---|
| CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
CustomTargetingValueServiceClient(ChannelBase)
Creates a new client for CustomTargetingValueService
Declaration
public CustomTargetingValueServiceClient(ChannelBase channel)
Parameters
| Type | Name | Description |
|---|---|---|
| ChannelBase | channel | The channel to use to make remote calls. |
CustomTargetingValueServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected CustomTargetingValueServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
BatchActivateCustomTargetingValues(BatchActivateCustomTargetingValuesRequest, CallOptions)
Batch activates CustomTargetingValue objects.
Declaration
public virtual BatchActivateCustomTargetingValuesResponse BatchActivateCustomTargetingValues(BatchActivateCustomTargetingValuesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateCustomTargetingValuesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BatchActivateCustomTargetingValuesResponse | The response received from the server. |
BatchActivateCustomTargetingValues(BatchActivateCustomTargetingValuesRequest, Metadata, DateTime?, CancellationToken)
Batch activates CustomTargetingValue objects.
Declaration
public virtual BatchActivateCustomTargetingValuesResponse BatchActivateCustomTargetingValues(BatchActivateCustomTargetingValuesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateCustomTargetingValuesRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| BatchActivateCustomTargetingValuesResponse | The response received from the server. |
BatchActivateCustomTargetingValuesAsync(BatchActivateCustomTargetingValuesRequest, CallOptions)
Batch activates CustomTargetingValue objects.
Declaration
public virtual AsyncUnaryCall<BatchActivateCustomTargetingValuesResponse> BatchActivateCustomTargetingValuesAsync(BatchActivateCustomTargetingValuesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateCustomTargetingValuesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchActivateCustomTargetingValuesResponse> | The call object. |
BatchActivateCustomTargetingValuesAsync(BatchActivateCustomTargetingValuesRequest, Metadata, DateTime?, CancellationToken)
Batch activates CustomTargetingValue objects.
Declaration
public virtual AsyncUnaryCall<BatchActivateCustomTargetingValuesResponse> BatchActivateCustomTargetingValuesAsync(BatchActivateCustomTargetingValuesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateCustomTargetingValuesRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchActivateCustomTargetingValuesResponse> | The call object. |
BatchCreateCustomTargetingValues(BatchCreateCustomTargetingValuesRequest, CallOptions)
Creates CustomTargetingValue objects.
Declaration
public virtual BatchCreateCustomTargetingValuesResponse BatchCreateCustomTargetingValues(BatchCreateCustomTargetingValuesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateCustomTargetingValuesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BatchCreateCustomTargetingValuesResponse | The response received from the server. |
BatchCreateCustomTargetingValues(BatchCreateCustomTargetingValuesRequest, Metadata, DateTime?, CancellationToken)
Creates CustomTargetingValue objects.
Declaration
public virtual BatchCreateCustomTargetingValuesResponse BatchCreateCustomTargetingValues(BatchCreateCustomTargetingValuesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateCustomTargetingValuesRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| BatchCreateCustomTargetingValuesResponse | The response received from the server. |
BatchCreateCustomTargetingValuesAsync(BatchCreateCustomTargetingValuesRequest, CallOptions)
Creates CustomTargetingValue objects.
Declaration
public virtual AsyncUnaryCall<BatchCreateCustomTargetingValuesResponse> BatchCreateCustomTargetingValuesAsync(BatchCreateCustomTargetingValuesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateCustomTargetingValuesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchCreateCustomTargetingValuesResponse> | The call object. |
BatchCreateCustomTargetingValuesAsync(BatchCreateCustomTargetingValuesRequest, Metadata, DateTime?, CancellationToken)
Creates CustomTargetingValue objects.
Declaration
public virtual AsyncUnaryCall<BatchCreateCustomTargetingValuesResponse> BatchCreateCustomTargetingValuesAsync(BatchCreateCustomTargetingValuesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateCustomTargetingValuesRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchCreateCustomTargetingValuesResponse> | The call object. |
BatchDeactivateCustomTargetingValues(BatchDeactivateCustomTargetingValuesRequest, CallOptions)
Deactivates a list of CustomTargetingValue objects.
Declaration
public virtual BatchDeactivateCustomTargetingValuesResponse BatchDeactivateCustomTargetingValues(BatchDeactivateCustomTargetingValuesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateCustomTargetingValuesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BatchDeactivateCustomTargetingValuesResponse | The response received from the server. |
BatchDeactivateCustomTargetingValues(BatchDeactivateCustomTargetingValuesRequest, Metadata, DateTime?, CancellationToken)
Deactivates a list of CustomTargetingValue objects.
Declaration
public virtual BatchDeactivateCustomTargetingValuesResponse BatchDeactivateCustomTargetingValues(BatchDeactivateCustomTargetingValuesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateCustomTargetingValuesRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| BatchDeactivateCustomTargetingValuesResponse | The response received from the server. |
BatchDeactivateCustomTargetingValuesAsync(BatchDeactivateCustomTargetingValuesRequest, CallOptions)
Deactivates a list of CustomTargetingValue objects.
Declaration
public virtual AsyncUnaryCall<BatchDeactivateCustomTargetingValuesResponse> BatchDeactivateCustomTargetingValuesAsync(BatchDeactivateCustomTargetingValuesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateCustomTargetingValuesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchDeactivateCustomTargetingValuesResponse> | The call object. |
BatchDeactivateCustomTargetingValuesAsync(BatchDeactivateCustomTargetingValuesRequest, Metadata, DateTime?, CancellationToken)
Deactivates a list of CustomTargetingValue objects.
Declaration
public virtual AsyncUnaryCall<BatchDeactivateCustomTargetingValuesResponse> BatchDeactivateCustomTargetingValuesAsync(BatchDeactivateCustomTargetingValuesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateCustomTargetingValuesRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchDeactivateCustomTargetingValuesResponse> | The call object. |
BatchUpdateCustomTargetingValues(BatchUpdateCustomTargetingValuesRequest, CallOptions)
Batch updates CustomTargetingValue objects.
Declaration
public virtual BatchUpdateCustomTargetingValuesResponse BatchUpdateCustomTargetingValues(BatchUpdateCustomTargetingValuesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateCustomTargetingValuesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BatchUpdateCustomTargetingValuesResponse | The response received from the server. |
BatchUpdateCustomTargetingValues(BatchUpdateCustomTargetingValuesRequest, Metadata, DateTime?, CancellationToken)
Batch updates CustomTargetingValue objects.
Declaration
public virtual BatchUpdateCustomTargetingValuesResponse BatchUpdateCustomTargetingValues(BatchUpdateCustomTargetingValuesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateCustomTargetingValuesRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| BatchUpdateCustomTargetingValuesResponse | The response received from the server. |
BatchUpdateCustomTargetingValuesAsync(BatchUpdateCustomTargetingValuesRequest, CallOptions)
Batch updates CustomTargetingValue objects.
Declaration
public virtual AsyncUnaryCall<BatchUpdateCustomTargetingValuesResponse> BatchUpdateCustomTargetingValuesAsync(BatchUpdateCustomTargetingValuesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateCustomTargetingValuesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchUpdateCustomTargetingValuesResponse> | The call object. |
BatchUpdateCustomTargetingValuesAsync(BatchUpdateCustomTargetingValuesRequest, Metadata, DateTime?, CancellationToken)
Batch updates CustomTargetingValue objects.
Declaration
public virtual AsyncUnaryCall<BatchUpdateCustomTargetingValuesResponse> BatchUpdateCustomTargetingValuesAsync(BatchUpdateCustomTargetingValuesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateCustomTargetingValuesRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchUpdateCustomTargetingValuesResponse> | The call object. |
CreateCustomTargetingValue(CreateCustomTargetingValueRequest, CallOptions)
Creates a CustomTargetingValue object.
Declaration
public virtual CustomTargetingValue CreateCustomTargetingValue(CreateCustomTargetingValueRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateCustomTargetingValueRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| CustomTargetingValue | The response received from the server. |
CreateCustomTargetingValue(CreateCustomTargetingValueRequest, Metadata, DateTime?, CancellationToken)
Creates a CustomTargetingValue object.
Declaration
public virtual CustomTargetingValue CreateCustomTargetingValue(CreateCustomTargetingValueRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateCustomTargetingValueRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| CustomTargetingValue | The response received from the server. |
CreateCustomTargetingValueAsync(CreateCustomTargetingValueRequest, CallOptions)
Creates a CustomTargetingValue object.
Declaration
public virtual AsyncUnaryCall<CustomTargetingValue> CreateCustomTargetingValueAsync(CreateCustomTargetingValueRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateCustomTargetingValueRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<CustomTargetingValue> | The call object. |
CreateCustomTargetingValueAsync(CreateCustomTargetingValueRequest, Metadata, DateTime?, CancellationToken)
Creates a CustomTargetingValue object.
Declaration
public virtual AsyncUnaryCall<CustomTargetingValue> CreateCustomTargetingValueAsync(CreateCustomTargetingValueRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateCustomTargetingValueRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<CustomTargetingValue> | The call object. |
GetCustomTargetingValue(GetCustomTargetingValueRequest, CallOptions)
Retrieves a CustomTargetingValue object.
Declaration
public virtual CustomTargetingValue GetCustomTargetingValue(GetCustomTargetingValueRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCustomTargetingValueRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| CustomTargetingValue | The response received from the server. |
GetCustomTargetingValue(GetCustomTargetingValueRequest, Metadata, DateTime?, CancellationToken)
Retrieves a CustomTargetingValue object.
Declaration
public virtual CustomTargetingValue GetCustomTargetingValue(GetCustomTargetingValueRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCustomTargetingValueRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| CustomTargetingValue | The response received from the server. |
GetCustomTargetingValueAsync(GetCustomTargetingValueRequest, CallOptions)
Retrieves a CustomTargetingValue object.
Declaration
public virtual AsyncUnaryCall<CustomTargetingValue> GetCustomTargetingValueAsync(GetCustomTargetingValueRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCustomTargetingValueRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<CustomTargetingValue> | The call object. |
GetCustomTargetingValueAsync(GetCustomTargetingValueRequest, Metadata, DateTime?, CancellationToken)
Retrieves a CustomTargetingValue object.
Declaration
public virtual AsyncUnaryCall<CustomTargetingValue> GetCustomTargetingValueAsync(GetCustomTargetingValueRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCustomTargetingValueRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<CustomTargetingValue> | The call object. |
ListCustomTargetingValues(ListCustomTargetingValuesRequest, CallOptions)
Lists CustomTargetingValue objects.
Declaration
public virtual ListCustomTargetingValuesResponse ListCustomTargetingValues(ListCustomTargetingValuesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListCustomTargetingValuesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| ListCustomTargetingValuesResponse | The response received from the server. |
ListCustomTargetingValues(ListCustomTargetingValuesRequest, Metadata, DateTime?, CancellationToken)
Lists CustomTargetingValue objects.
Declaration
public virtual ListCustomTargetingValuesResponse ListCustomTargetingValues(ListCustomTargetingValuesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ListCustomTargetingValuesRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| ListCustomTargetingValuesResponse | The response received from the server. |
ListCustomTargetingValuesAsync(ListCustomTargetingValuesRequest, CallOptions)
Lists CustomTargetingValue objects.
Declaration
public virtual AsyncUnaryCall<ListCustomTargetingValuesResponse> ListCustomTargetingValuesAsync(ListCustomTargetingValuesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListCustomTargetingValuesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListCustomTargetingValuesResponse> | The call object. |
ListCustomTargetingValuesAsync(ListCustomTargetingValuesRequest, Metadata, DateTime?, CancellationToken)
Lists CustomTargetingValue objects.
Declaration
public virtual AsyncUnaryCall<ListCustomTargetingValuesResponse> ListCustomTargetingValuesAsync(ListCustomTargetingValuesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ListCustomTargetingValuesRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListCustomTargetingValuesResponse> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration.
Declaration
protected override CustomTargetingValueService.CustomTargetingValueServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration |
Returns
| Type | Description |
|---|---|
| CustomTargetingValueService.CustomTargetingValueServiceClient |
Overrides
UpdateCustomTargetingValue(UpdateCustomTargetingValueRequest, CallOptions)
Updates a CustomTargetingValue object.
Declaration
public virtual CustomTargetingValue UpdateCustomTargetingValue(UpdateCustomTargetingValueRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateCustomTargetingValueRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| CustomTargetingValue | The response received from the server. |
UpdateCustomTargetingValue(UpdateCustomTargetingValueRequest, Metadata, DateTime?, CancellationToken)
Updates a CustomTargetingValue object.
Declaration
public virtual CustomTargetingValue UpdateCustomTargetingValue(UpdateCustomTargetingValueRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateCustomTargetingValueRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| CustomTargetingValue | The response received from the server. |
UpdateCustomTargetingValueAsync(UpdateCustomTargetingValueRequest, CallOptions)
Updates a CustomTargetingValue object.
Declaration
public virtual AsyncUnaryCall<CustomTargetingValue> UpdateCustomTargetingValueAsync(UpdateCustomTargetingValueRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateCustomTargetingValueRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<CustomTargetingValue> | The call object. |
UpdateCustomTargetingValueAsync(UpdateCustomTargetingValueRequest, Metadata, DateTime?, CancellationToken)
Updates a CustomTargetingValue object.
Declaration
public virtual AsyncUnaryCall<CustomTargetingValue> UpdateCustomTargetingValueAsync(UpdateCustomTargetingValueRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateCustomTargetingValueRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<CustomTargetingValue> | The call object. |