dfp-lib
Version:
This project hosts the Node.JS client library for the SOAP-based DFP API at Google.
20 lines (19 loc) • 905 B
TypeScript
import { RateCard } from '../soap/rateCard';
import { UpdateResult } from '../soap/updateResult';
import { RateCardAction } from '../soap/rateCardAction';
import { Statement } from '../soap/statement';
import { RateCardPage } from '../soap/rateCardPage';
import { DfpService } from '../lib/dfpService';
import { DfpUser } from '../lib/dfpUser';
export declare class RateCardService extends DfpService {
protected static SERVICE_NAME: string;
static ENDPOINT: string;
private static CLASS_MAP;
constructor(user: DfpUser, options?: {
[id: string]: any;
});
createRateCards(rateCards: RateCard[]): Promise<RateCard[]>;
getRateCardsByStatement(filterStatement: Statement): Promise<RateCardPage>;
performRateCardAction(rateCardAction: RateCardAction, filterStatement: Statement): Promise<UpdateResult>;
updateRateCards(rateCards: RateCard[]): Promise<RateCard[]>;
}