dfp-lib
Version:
This project hosts the Node.JS client library for the SOAP-based DFP API at Google.
35 lines (34 loc) • 2.02 kB
JavaScript
"use strict";
const xmlElement_1 = require("../../common/soap/xmlElement");
class ProductTemplate extends xmlElement_1.XMLElement {
constructor(id = null, name = null, creationDateTime = null, lastModifiedDateTime = null, description = null, nameMacro = null, status = null, productType = null, creatorId = null, rateType = null, roadblockingType = null, deliveryRateType = null, creativeRotationType = null, companionDeliveryOption = null, creativePlaceholders = null, lineItemType = null, priority = null, frequencyCaps = null, productSegmentation = null, builtInTargeting = null, customizableAttributes = null, customFieldValues = null, environmentType = null, videoMaxDuration = null, productTemplateMarketplaceInfo = null) {
super();
this.id = id;
this.name = name;
this.creationDateTime = creationDateTime;
this.lastModifiedDateTime = lastModifiedDateTime;
this.description = description;
this.nameMacro = nameMacro;
this.status = status;
this.productType = productType;
this.creatorId = creatorId;
this.rateType = rateType;
this.roadblockingType = roadblockingType;
this.deliveryRateType = deliveryRateType;
this.creativeRotationType = creativeRotationType;
this.companionDeliveryOption = companionDeliveryOption;
this.creativePlaceholders = creativePlaceholders;
this.lineItemType = lineItemType;
this.priority = priority;
this.frequencyCaps = frequencyCaps;
this.productSegmentation = productSegmentation;
this.builtInTargeting = builtInTargeting;
this.customizableAttributes = customizableAttributes;
this.customFieldValues = customFieldValues;
this.environmentType = environmentType;
this.videoMaxDuration = videoMaxDuration;
this.productTemplateMarketplaceInfo = productTemplateMarketplaceInfo;
}
}
ProductTemplate.XSI_TYPE = "ProductTemplate";
exports.ProductTemplate = ProductTemplate;