Class CustomTargetingKeyService.CustomTargetingKeyServiceBase
Base class for server-side implementations of CustomTargetingKeyService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(CustomTargetingKeyService), "BindService")]
public abstract class CustomTargetingKeyService.CustomTargetingKeyServiceBase
Methods
BatchActivateCustomTargetingKeys(BatchActivateCustomTargetingKeysRequest, ServerCallContext)
API to batch activate CustomTargetingKey objects.
Declaration
public virtual Task<BatchActivateCustomTargetingKeysResponse> BatchActivateCustomTargetingKeys(BatchActivateCustomTargetingKeysRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateCustomTargetingKeysRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchActivateCustomTargetingKeysResponse> | The response to send back to the client (wrapped by a task). |
BatchCreateCustomTargetingKeys(BatchCreateCustomTargetingKeysRequest, ServerCallContext)
API to batch create CustomTargetingKey objects.
Declaration
public virtual Task<BatchCreateCustomTargetingKeysResponse> BatchCreateCustomTargetingKeys(BatchCreateCustomTargetingKeysRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateCustomTargetingKeysRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchCreateCustomTargetingKeysResponse> | The response to send back to the client (wrapped by a task). |
BatchDeactivateCustomTargetingKeys(BatchDeactivateCustomTargetingKeysRequest, ServerCallContext)
Deactivates a list of CustomTargetingKey objects.
Declaration
public virtual Task<BatchDeactivateCustomTargetingKeysResponse> BatchDeactivateCustomTargetingKeys(BatchDeactivateCustomTargetingKeysRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateCustomTargetingKeysRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchDeactivateCustomTargetingKeysResponse> | The response to send back to the client (wrapped by a task). |
BatchUpdateCustomTargetingKeys(BatchUpdateCustomTargetingKeysRequest, ServerCallContext)
API to batch update CustomTargetingKey objects.
Declaration
public virtual Task<BatchUpdateCustomTargetingKeysResponse> BatchUpdateCustomTargetingKeys(BatchUpdateCustomTargetingKeysRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateCustomTargetingKeysRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchUpdateCustomTargetingKeysResponse> | The response to send back to the client (wrapped by a task). |
CreateCustomTargetingKey(CreateCustomTargetingKeyRequest, ServerCallContext)
API to create a CustomTargetingKey object.
Declaration
public virtual Task<CustomTargetingKey> CreateCustomTargetingKey(CreateCustomTargetingKeyRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateCustomTargetingKeyRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<CustomTargetingKey> | The response to send back to the client (wrapped by a task). |
GetCustomTargetingKey(GetCustomTargetingKeyRequest, ServerCallContext)
API to retrieve a CustomTargetingKey object.
Declaration
public virtual Task<CustomTargetingKey> GetCustomTargetingKey(GetCustomTargetingKeyRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCustomTargetingKeyRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<CustomTargetingKey> | The response to send back to the client (wrapped by a task). |
ListCustomTargetingKeys(ListCustomTargetingKeysRequest, ServerCallContext)
API to retrieve a list of CustomTargetingKey objects.
Declaration
public virtual Task<ListCustomTargetingKeysResponse> ListCustomTargetingKeys(ListCustomTargetingKeysRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListCustomTargetingKeysRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListCustomTargetingKeysResponse> | The response to send back to the client (wrapped by a task). |
UpdateCustomTargetingKey(UpdateCustomTargetingKeyRequest, ServerCallContext)
API to update a CustomTargetingKey object.
Declaration
public virtual Task<CustomTargetingKey> UpdateCustomTargetingKey(UpdateCustomTargetingKeyRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateCustomTargetingKeyRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<CustomTargetingKey> | The response to send back to the client (wrapped by a task). |