dfp-lib
Version:
This project hosts the Node.JS client library for the SOAP-based DFP API at Google.
25 lines (24 loc) • 1.22 kB
JavaScript
"use strict";
const xmlElement_1 = require("../../common/soap/xmlElement");
class AdRule extends xmlElement_1.XMLElement {
constructor(id = null, name = null, priority = null, targeting = null, startDateTime = null, startDateTimeType = null, endDateTime = null, unlimitedEndDateTime = null, status = null, frequencyCapBehavior = null, maxImpressionsPerLineItemPerStream = null, maxImpressionsPerLineItemPerPod = null, preroll = null, midroll = null, postroll = null) {
super();
this.id = id;
this.name = name;
this.priority = priority;
this.targeting = targeting;
this.startDateTime = startDateTime;
this.startDateTimeType = startDateTimeType;
this.endDateTime = endDateTime;
this.unlimitedEndDateTime = unlimitedEndDateTime;
this.status = status;
this.frequencyCapBehavior = frequencyCapBehavior;
this.maxImpressionsPerLineItemPerStream = maxImpressionsPerLineItemPerStream;
this.maxImpressionsPerLineItemPerPod = maxImpressionsPerLineItemPerPod;
this.preroll = preroll;
this.midroll = midroll;
this.postroll = postroll;
}
}
AdRule.XSI_TYPE = "AdRule";
exports.AdRule = AdRule;