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
GetCustomTargetingValue(GetCustomTargetingValueRequest, ServerCallContext)
API to retrieve 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)
API to retrieve a list of 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). |