Class GeoTargetService
Provides methods for handling GeoTarget objects.
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public static class GeoTargetService
Methods
BindService(GeoTargetServiceBase)
Creates service definition that can be registered with a server
Declaration
public static ServerServiceDefinition BindService(GeoTargetService.GeoTargetServiceBase serviceImpl)
Parameters
| Type | Name | Description |
|---|---|---|
| GeoTargetService.GeoTargetServiceBase | serviceImpl | An object implementing the server-side handling logic. |
Returns
| Type | Description |
|---|---|
| ServerServiceDefinition |
BindService(ServiceBinderBase, GeoTargetServiceBase)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.
Declaration
public static void BindService(ServiceBinderBase serviceBinder, GeoTargetService.GeoTargetServiceBase serviceImpl)
Parameters
| Type | Name | Description |
|---|---|---|
| ServiceBinderBase | serviceBinder | Service methods will be bound by calling |
| GeoTargetService.GeoTargetServiceBase | serviceImpl | An object implementing the server-side handling logic. |