Class CustomTargetingValueService.CustomTargetingValueServiceBase
Base class for server-side implementations of CustomTargetingValueService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(CustomTargetingValueService), "BindService")]
public abstract class CustomTargetingValueService.CustomTargetingValueServiceBase
Methods
BatchActivateCustomTargetingValues(BatchActivateCustomTargetingValuesRequest, ServerCallContext)
Batch activates CustomTargetingValue objects.
Declaration
public virtual Task<BatchActivateCustomTargetingValuesResponse> BatchActivateCustomTargetingValues(BatchActivateCustomTargetingValuesRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateCustomTargetingValuesRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchActivateCustomTargetingValuesResponse> | The response to send back to the client (wrapped by a task). |
BatchCreateCustomTargetingValues(BatchCreateCustomTargetingValuesRequest, ServerCallContext)
Creates CustomTargetingValue objects.
Declaration
public virtual Task<BatchCreateCustomTargetingValuesResponse> BatchCreateCustomTargetingValues(BatchCreateCustomTargetingValuesRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateCustomTargetingValuesRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchCreateCustomTargetingValuesResponse> | The response to send back to the client (wrapped by a task). |
BatchDeactivateCustomTargetingValues(BatchDeactivateCustomTargetingValuesRequest, ServerCallContext)
Deactivates a list of CustomTargetingValue objects.
Declaration
public virtual Task<BatchDeactivateCustomTargetingValuesResponse> BatchDeactivateCustomTargetingValues(BatchDeactivateCustomTargetingValuesRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateCustomTargetingValuesRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchDeactivateCustomTargetingValuesResponse> | The response to send back to the client (wrapped by a task). |
BatchUpdateCustomTargetingValues(BatchUpdateCustomTargetingValuesRequest, ServerCallContext)
Batch updates CustomTargetingValue objects.
Declaration
public virtual Task<BatchUpdateCustomTargetingValuesResponse> BatchUpdateCustomTargetingValues(BatchUpdateCustomTargetingValuesRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateCustomTargetingValuesRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchUpdateCustomTargetingValuesResponse> | The response to send back to the client (wrapped by a task). |
CreateCustomTargetingValue(CreateCustomTargetingValueRequest, ServerCallContext)
Creates a CustomTargetingValue object.
Declaration
public virtual Task<CustomTargetingValue> CreateCustomTargetingValue(CreateCustomTargetingValueRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateCustomTargetingValueRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<CustomTargetingValue> | The response to send back to the client (wrapped by a task). |
GetCustomTargetingValue(GetCustomTargetingValueRequest, ServerCallContext)
Retrieves a CustomTargetingValue object.
Declaration
public virtual Task<CustomTargetingValue> GetCustomTargetingValue(GetCustomTargetingValueRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCustomTargetingValueRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<CustomTargetingValue> | The response to send back to the client (wrapped by a task). |
ListCustomTargetingValues(ListCustomTargetingValuesRequest, ServerCallContext)
Lists CustomTargetingValue objects.
Declaration
public virtual Task<ListCustomTargetingValuesResponse> ListCustomTargetingValues(ListCustomTargetingValuesRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListCustomTargetingValuesRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListCustomTargetingValuesResponse> | The response to send back to the client (wrapped by a task). |
UpdateCustomTargetingValue(UpdateCustomTargetingValueRequest, ServerCallContext)
Updates a CustomTargetingValue object.
Declaration
public virtual Task<CustomTargetingValue> UpdateCustomTargetingValue(UpdateCustomTargetingValueRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateCustomTargetingValueRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<CustomTargetingValue> | The response to send back to the client (wrapped by a task). |