UNPKG

dfp-lib

Version:

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

22 lines (21 loc) 1.08 kB
import { Proposal } from '../soap/proposal'; import { UpdateResult } from '../soap/updateResult'; import { ProposalAction } from '../soap/proposalAction'; import { Statement } from '../soap/statement'; import { ProposalPage } from '../soap/proposalPage'; import { DfpService } from '../lib/dfpService'; import { DfpUser } from '../lib/dfpUser'; import { MarketplaceCommentPage } from '../soap/marketplaceCommentPage'; export declare class ProposalService extends DfpService { protected static SERVICE_NAME: string; static ENDPOINT: string; private static CLASS_MAP; constructor(user: DfpUser, options?: { [id: string]: any; }); createProposals(proposals: Proposal[]): Promise<Proposal[]>; getMarketplaceCommentsByStatement(filterStatement: Statement): Promise<MarketplaceCommentPage>; getProposalsByStatement(filterStatement: Statement): Promise<ProposalPage>; performProposalAction(proposalAction: ProposalAction, filterStatement: Statement): Promise<UpdateResult>; updateProposals(proposals: Proposal[]): Promise<Proposal[]>; }