UNPKG

dfp-lib

Version:

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

20 lines (19 loc) 925 B
import { DfpUser } from '../lib/dfpUser'; import { DfpService } from '../lib/dfpService'; import { PlacementAction } from '../soap/placementAction'; import { Placement } from '../soap/placement'; import { PlacementPage } from '../soap/placementPage'; import { Statement } from '../soap/statement'; import { UpdateResult } from '../soap/updateResult'; export declare class PlacementService extends DfpService { protected static SERVICE_NAME: string; static ENDPOINT: string; private static CLASS_MAP; constructor(user: DfpUser, options?: { [id: string]: any; }); createPlacements(placements: Placement[]): Promise<Placement[]>; getPlacementsByStatement(filterStatement: Statement): Promise<PlacementPage>; performPlacementAction(placementAction: PlacementAction, filterStatement: Statement): Promise<UpdateResult>; updatePlacements(placements: Placement[]): Promise<Placement[]>; }