google-ads-api-client
Version:
A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.
58 lines (57 loc) • 2.63 kB
TypeScript
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import type { SuggestGeoTargetConstantsResponse } from "./geo_target_constant_service";
import type { SuggestGeoTargetConstantsRequest } from "./geo_target_constant_service";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
* Service to fetch geo target constants.
*
* @generated from protobuf service google.ads.googleads.v11.services.GeoTargetConstantService
*/
export interface IGeoTargetConstantServiceClient {
/**
* Returns GeoTargetConstant suggestions by location name or by resource name.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [GeoTargetConstantSuggestionError]()
* [HeaderError]()
* [InternalError]()
* [QuotaError]()
* [RequestError]()
*
* @generated from protobuf rpc: SuggestGeoTargetConstants(google.ads.googleads.v11.services.SuggestGeoTargetConstantsRequest) returns (google.ads.googleads.v11.services.SuggestGeoTargetConstantsResponse);
*/
suggestGeoTargetConstants(input: SuggestGeoTargetConstantsRequest, options?: RpcOptions): UnaryCall<SuggestGeoTargetConstantsRequest, SuggestGeoTargetConstantsResponse>;
}
/**
* Service to fetch geo target constants.
*
* @generated from protobuf service google.ads.googleads.v11.services.GeoTargetConstantService
*/
export declare class GeoTargetConstantServiceClient implements IGeoTargetConstantServiceClient, ServiceInfo {
private readonly _transport;
typeName: string;
methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
options: {
[extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
};
constructor(_transport: RpcTransport);
/**
* Returns GeoTargetConstant suggestions by location name or by resource name.
*
* List of thrown errors:
* [AuthenticationError]()
* [AuthorizationError]()
* [GeoTargetConstantSuggestionError]()
* [HeaderError]()
* [InternalError]()
* [QuotaError]()
* [RequestError]()
*
* @generated from protobuf rpc: SuggestGeoTargetConstants(google.ads.googleads.v11.services.SuggestGeoTargetConstantsRequest) returns (google.ads.googleads.v11.services.SuggestGeoTargetConstantsResponse);
*/
suggestGeoTargetConstants(input: SuggestGeoTargetConstantsRequest, options?: RpcOptions): UnaryCall<SuggestGeoTargetConstantsRequest, SuggestGeoTargetConstantsResponse>;
}