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 |
---|---|---|
Get |
request | The request received from the client. |
Server |
context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<Custom |
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 |
---|---|---|
List |
request | The request received from the client. |
Server |
context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<List |
The response to send back to the client (wrapped by a task). |