Class GeoTargetServiceClientImpl
GeoTargetService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class GeoTargetServiceClientImpl : GeoTargetServiceClient
Remarks
Provides methods for handling GeoTarget objects.
Constructors
GeoTargetServiceClientImpl(GeoTargetServiceClient, GeoTargetServiceSettings, ILogger)
Constructs a client wrapper for the GeoTargetService service, with the specified gRPC client and settings.
Declaration
public GeoTargetServiceClientImpl(GeoTargetService.GeoTargetServiceClient grpcClient, GeoTargetServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| GeoTargetService.GeoTargetServiceClient | grpcClient | The underlying gRPC client. |
| GeoTargetServiceSettings | settings | The base GeoTargetServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC GeoTargetService client
Declaration
public override GeoTargetService.GeoTargetServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| GeoTargetService.GeoTargetServiceClient |
Overrides
Methods
GetGeoTarget(GetGeoTargetRequest, CallSettings)
API to retrieve a GeoTarget object.
Declaration
public override GeoTarget GetGeoTarget(GetGeoTargetRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetGeoTargetRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| GeoTarget | The RPC response. |
Overrides
GetGeoTargetAsync(GetGeoTargetRequest, CallSettings)
API to retrieve a GeoTarget object.
Declaration
public override Task<GeoTarget> GetGeoTargetAsync(GetGeoTargetRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetGeoTargetRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<GeoTarget> | A Task containing the RPC response. |
Overrides
ListGeoTargets(ListGeoTargetsRequest, CallSettings)
API to retrieve a list of GeoTarget objects.
Declaration
public override PagedEnumerable<ListGeoTargetsResponse, GeoTarget> ListGeoTargets(ListGeoTargetsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListGeoTargetsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedEnumerable<ListGeoTargetsResponse, GeoTarget> | A pageable sequence of GeoTarget resources. |
Overrides
ListGeoTargetsAsync(ListGeoTargetsRequest, CallSettings)
API to retrieve a list of GeoTarget objects.
Declaration
public override PagedAsyncEnumerable<ListGeoTargetsResponse, GeoTarget> ListGeoTargetsAsync(ListGeoTargetsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListGeoTargetsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedAsyncEnumerable<ListGeoTargetsResponse, GeoTarget> | A pageable asynchronous sequence of GeoTarget resources. |