dfp-lib
Version:
This project hosts the Node.JS client library for the SOAP-based DFP API at Google.
69 lines (68 loc) • 4.41 kB
JavaScript
"use strict";
const xmlElement_1 = require("../../common/soap/xmlElement");
class ProposalLineItem extends xmlElement_1.XMLElement {
constructor(id = null, proposalId = null, packageId = null, rateCardId = null, productId = null, name = null, startDateTime = null, endDateTime = null, timeZoneId = null, internalNotes = null, costAdjustment = null, isArchived = null, goal = null, contractedQuantityBuffer = null, scheduledQuantity = null, contractedUnitsBought = null, deliveryRateType = null, roadblockingType = null, companionDeliveryOption = null, creativeRotationType = null, videoMaxDuration = null, frequencyCaps = null, dfpLineItemId = null, lineItemType = null, lineItemPriority = null, rateType = null, creativePlaceholders = null, targeting = null, customFieldValues = null, appliedLabels = null, effectiveAppliedLabels = null, disableSameAdvertiserCompetitiveExclusion = null, productConstraints = null, premiums = null, isSold = null, baseRate = null, netRate = null, grossRate = null, netCost = null, grossCost = null, deliveryIndicator = null, deliveryData = null, computedStatus = null, billingCap = null, billingSchedule = null, billingSource = null, billingBase = null, lastModifiedDateTime = null, reservationStatus = null, lastReservationDateTime = null, useThirdPartyAdServerFromProposal = null, thirdPartyAdServerId = null, customThirdPartyAdServerName = null, environmentType = null, isProgrammatic = null, linkStatus = null, marketplaceInfo = null, rateCardPricingModel = null, additionalTerms = null) {
super();
this.id = id;
this.proposalId = proposalId;
this.packageId = packageId;
this.rateCardId = rateCardId;
this.productId = productId;
this.name = name;
this.startDateTime = startDateTime;
this.endDateTime = endDateTime;
this.timeZoneId = timeZoneId;
this.internalNotes = internalNotes;
this.costAdjustment = costAdjustment;
this.isArchived = isArchived;
this.goal = goal;
this.contractedQuantityBuffer = contractedQuantityBuffer;
this.scheduledQuantity = scheduledQuantity;
this.contractedUnitsBought = contractedUnitsBought;
this.deliveryRateType = deliveryRateType;
this.roadblockingType = roadblockingType;
this.companionDeliveryOption = companionDeliveryOption;
this.creativeRotationType = creativeRotationType;
this.videoMaxDuration = videoMaxDuration;
this.frequencyCaps = frequencyCaps;
this.dfpLineItemId = dfpLineItemId;
this.lineItemType = lineItemType;
this.lineItemPriority = lineItemPriority;
this.rateType = rateType;
this.creativePlaceholders = creativePlaceholders;
this.targeting = targeting;
this.customFieldValues = customFieldValues;
this.appliedLabels = appliedLabels;
this.effectiveAppliedLabels = effectiveAppliedLabels;
this.disableSameAdvertiserCompetitiveExclusion = disableSameAdvertiserCompetitiveExclusion;
this.productConstraints = productConstraints;
this.premiums = premiums;
this.isSold = isSold;
this.baseRate = baseRate;
this.netRate = netRate;
this.grossRate = grossRate;
this.netCost = netCost;
this.grossCost = grossCost;
this.deliveryIndicator = deliveryIndicator;
this.deliveryData = deliveryData;
this.computedStatus = computedStatus;
this.billingCap = billingCap;
this.billingSchedule = billingSchedule;
this.billingSource = billingSource;
this.billingBase = billingBase;
this.lastModifiedDateTime = lastModifiedDateTime;
this.reservationStatus = reservationStatus;
this.lastReservationDateTime = lastReservationDateTime;
this.useThirdPartyAdServerFromProposal = useThirdPartyAdServerFromProposal;
this.thirdPartyAdServerId = thirdPartyAdServerId;
this.customThirdPartyAdServerName = customThirdPartyAdServerName;
this.environmentType = environmentType;
this.isProgrammatic = isProgrammatic;
this.linkStatus = linkStatus;
this.marketplaceInfo = marketplaceInfo;
this.rateCardPricingModel = rateCardPricingModel;
this.additionalTerms = additionalTerms;
}
}
ProposalLineItem.XSI_TYPE = "ProposalLineItem";
exports.ProposalLineItem = ProposalLineItem;