dfp-lib
Version:
This project hosts the Node.JS client library for the SOAP-based DFP API at Google.
19 lines (18 loc) • 843 B
TypeScript
import { DfpService } from '../lib/dfpService';
import { DfpUser } from '../lib/dfpUser';
import { Statement } from '../soap/statement';
import { LineItem } from '../soap/lineItem';
import { LineItemAction } from '../soap/lineItemAction';
import { LineItemPage } from '../soap/lineItemPage';
export declare class LineItemService extends DfpService {
protected static SERVICE_NAME: string;
static ENDPOINT: string;
private static CLASS_MAP;
constructor(user: DfpUser, options?: {
[id: string]: any;
});
createLineItems(lineItems: LineItem[]): Promise<LineItem[]>;
getLineItemsByStatement(filterStatement: Statement): Promise<LineItemPage>;
performLineItemAction(lineItemAction: LineItemAction, filterStatement: Statement): Promise<any>;
updateLineItems(lineItems: LineItem[]): Promise<LineItem[]>;
}