UNPKG

dfp-lib

Version:

This project hosts the Node.JS client library for the SOAP-based DFP API at Google.

23 lines (22 loc) 815 B
import { AdsUser } from './adsUser'; import { AdsSoapClient } from './adsSoapClient'; export declare abstract class SoapClientFactory { protected user: AdsUser; protected server: string; protected productName: string; protected headerOverrides: Object; constructor(user: AdsUser, server: string, productName: string, headerOverrides?: Object); abstract generateSoapClient(serviceName: string, options: { [id: string]: any; }, endpoint: string): AdsSoapClient; protected getSoapClientConfig(options: { [id: string]: any; }, endpoint: string): { [id: string]: any; }; private setIfDefined(obj, key, val); protected getServiceLocation(endpoint: string): string; getAdsUser(): AdsUser; getServer(): string; getProductName(): string; }