nodejs-google-adwords
Version:
Google Ads API Client Library for Node.js
30 lines (29 loc) • 1.13 kB
TypeScript
import { AdwordsOperartionService, SoapService } from '../../core';
import { ISelector } from './Selector';
import { IManagedCustomerPage } from './ManagedCustomerPage';
interface IManagedCustomerServiceOpts {
soapService: SoapService;
}
/**
* https://developers.google.com/adwords/api/docs/reference/v201809/ManagedCustomerService
*
* @author dulin
* @class ManagedCustomerService
* @extends {AdwordsOperartionService}
*/
declare class ManagedCustomerService extends AdwordsOperartionService {
static readonly namespace = "https://adwords.google.com/api/adwords/mcm";
private static readonly selectorFields;
private soapService;
constructor(opts: IManagedCustomerServiceOpts);
/**
* Get the account hierarchy under the current account
*
* @author dulin
* @returns
* @memberof ManagedCustomerService
*/
getAccountHierarchy(): Promise<IManagedCustomerPage | undefined>;
protected get<ServiceSelector = ISelector, Rval = IManagedCustomerPage>(serviceSelector: ServiceSelector): Promise<Rval | undefined>;
}
export { ManagedCustomerService, IManagedCustomerPage };