UNPKG

dfp-lib

Version:

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

18 lines (17 loc) 726 B
import { DfpUser } from '../lib/dfpUser'; import { DfpService } from '../lib/dfpService'; import { LabelAction } from '../soap/labelAction'; import { Label } from '../soap/label'; import { Statement } from '../soap/statement'; export declare class LabelService extends DfpService { protected static SERVICE_NAME: string; static ENDPOINT: string; private static CLASS_MAP; constructor(user: DfpUser, options?: { [id: string]: any; }); createLabels(labels: Label[]): Promise<Label[]>; getLabelsByStatement(filterStatement: Statement): Promise<any>; performLabelAction(labelAction: LabelAction, filterStatement: Statement): Promise<any>; updateLabels(labels: Label[]): Promise<any>; }