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
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). |