dfp-lib
Version:
This project hosts the Node.JS client library for the SOAP-based DFP API at Google.
20 lines (19 loc) • 1.02 kB
TypeScript
import { ProductTemplate } from '../soap/productTemplate';
import { UpdateResult } from '../soap/updateResult';
import { ProductTemplateAction } from '../soap/productTemplateAction';
import { Statement } from '../soap/statement';
import { ProductTemplatePage } from '../soap/productTemplatePage';
import { DfpService } from '../lib/dfpService';
import { DfpUser } from '../lib/dfpUser';
export declare class ProductTemplateService extends DfpService {
protected static SERVICE_NAME: string;
static ENDPOINT: string;
private static CLASS_MAP;
constructor(user: DfpUser, options?: {
[id: string]: any;
});
createProductTemplates(productTemplates: ProductTemplate[]): Promise<ProductTemplate[]>;
getProductTemplatesByStatement(statement: Statement): Promise<ProductTemplatePage>;
performProductTemplateAction(action: ProductTemplateAction, filterStatement: Statement): Promise<UpdateResult>;
updateProductTemplates(productTemplates: ProductTemplate[]): Promise<ProductTemplate[]>;
}