Class GeoTargetService.GeoTargetServiceBase
Base class for server-side implementations of GeoTargetService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(GeoTargetService), "BindService")]
public abstract class GeoTargetService.GeoTargetServiceBase
Methods
GetGeoTarget(GetGeoTargetRequest, ServerCallContext)
API to retrieve a GeoTarget object.
Declaration
public virtual Task<GeoTarget> GetGeoTarget(GetGeoTargetRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetGeoTargetRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<GeoTarget> | The response to send back to the client (wrapped by a task). |
ListGeoTargets(ListGeoTargetsRequest, ServerCallContext)
API to retrieve a list of GeoTarget objects.
Declaration
public virtual Task<ListGeoTargetsResponse> ListGeoTargets(ListGeoTargetsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListGeoTargetsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListGeoTargetsResponse> | The response to send back to the client (wrapped by a task). |