UNPKG

google-ads-node

Version:

Google Ads gRPC Client Library for Node

22 lines (21 loc) 585 B
interface CommonClientOptions { developer_token: string; login_customer_id?: string; } interface ClientOptionsWithToken extends CommonClientOptions { access_token: string; } interface ClientOptionsNoToken extends CommonClientOptions { client_id: string; client_secret: string; refresh_token: string; } export declare class GoogleAdsClient { private options; private auth; constructor(options: ClientOptionsNoToken | ClientOptionsWithToken); getService(serviceName: string): any; private validateOptions; private usingToken; } export {};