dfp-lib
Version:
This project hosts the Node.JS client library for the SOAP-based DFP API at Google.
20 lines (19 loc) • 997 B
JavaScript
"use strict";
const xmlElement_1 = require("../../common/soap/xmlElement");
class BaseAdRuleSlot extends xmlElement_1.XMLElement {
constructor(slotBehavior = null, minVideoAdDuration = null, maxVideoAdDuration = null, videoMidrollFrequencyType = null, videoMidrollFrequency = null, bumper = null, maxBumperDuration = null, minPodDuration = null, maxPodDuration = null, maxAdsInPod = null) {
super();
this.slotBehavior = slotBehavior;
this.minVideoAdDuration = minVideoAdDuration;
this.maxVideoAdDuration = maxVideoAdDuration;
this.videoMidrollFrequencyType = videoMidrollFrequencyType;
this.videoMidrollFrequency = videoMidrollFrequency;
this.bumper = bumper;
this.maxBumperDuration = maxBumperDuration;
this.minPodDuration = minPodDuration;
this.maxPodDuration = maxPodDuration;
this.maxAdsInPod = maxAdsInPod;
}
}
BaseAdRuleSlot.XSI_TYPE = "BaseAdRuleSlot";
exports.BaseAdRuleSlot = BaseAdRuleSlot;