dfp-lib
Version:
This project hosts the Node.JS client library for the SOAP-based DFP API at Google.
35 lines (34 loc) • 1.95 kB
JavaScript
"use strict";
const xmlElement_1 = require("../../common/soap/xmlElement");
class Product extends xmlElement_1.XMLElement {
constructor(name = null, nameSource = null, status = null, productType = null, productTemplateId = null, id = null, notes = null, productTemplateDescription = null, lastModifiedDateTime = null, rateType = null, roadblockingType = null, deliveryRateType = null, creativeRotationType = null, companionDeliveryOption = null, creativePlaceholders = null, lineItemType = null, priority = null, frequencyCaps = null, builtInTargeting = null, customizableAttributes = null, customFieldValues = null, environmentType = null, rate = null, productMarketplaceInfo = null, videoMaxDuration = null) {
super();
this.name = name;
this.nameSource = nameSource;
this.status = status;
this.productType = productType;
this.productTemplateId = productTemplateId;
this.id = id;
this.notes = notes;
this.productTemplateDescription = productTemplateDescription;
this.lastModifiedDateTime = lastModifiedDateTime;
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.builtInTargeting = builtInTargeting;
this.customizableAttributes = customizableAttributes;
this.customFieldValues = customFieldValues;
this.environmentType = environmentType;
this.rate = rate;
this.productMarketplaceInfo = productMarketplaceInfo;
this.videoMaxDuration = videoMaxDuration;
}
}
Product.XSI_TYPE = "Product";
exports.Product = Product;