UNPKG

dfp-lib

Version:

This project hosts the Node.JS client library for the SOAP-based DFP API at Google.

37 lines (36 loc) 2.15 kB
"use strict"; const xmlElement_1 = require("../../common/soap/xmlElement"); class AdUnit extends xmlElement_1.XMLElement { constructor(id = null, parentId = null, hasChildren = null, parentPath = null, name = null, description = null, targetWindow = null, status = null, adUnitCode = null, adUnitSizes = null, mobilePlatform = null, explicitlyTargeted = null, inheritedAdSenseSettings = null, partnerId = null, appliedLabelFrequencyCaps = null, effectiveLabelFrequencyCaps = null, appliedLabels = null, effectiveAppliedLabels = null, effectiveTeamIds = null, appliedTeamIds = null, lastModifiedDateTime = null, smartSizeMode = null, refreshRate = null, isSharedByDistributor = null, crossSellingDistributor = null, externalSetTopBoxChannelId = null, isSetTopBoxEnabled = null) { super(); this.id = id; this.parentId = parentId; this.hasChildren = hasChildren; this.parentPath = parentPath; this.name = name; this.description = description; this.targetWindow = targetWindow; this.status = status; this.adUnitCode = adUnitCode; this.adUnitSizes = adUnitSizes; this.mobilePlatform = mobilePlatform; this.explicitlyTargeted = explicitlyTargeted; this.inheritedAdSenseSettings = inheritedAdSenseSettings; this.partnerId = partnerId; this.appliedLabelFrequencyCaps = appliedLabelFrequencyCaps; this.effectiveLabelFrequencyCaps = effectiveLabelFrequencyCaps; this.appliedLabels = appliedLabels; this.effectiveAppliedLabels = effectiveAppliedLabels; this.effectiveTeamIds = effectiveTeamIds; this.appliedTeamIds = appliedTeamIds; this.lastModifiedDateTime = lastModifiedDateTime; this.smartSizeMode = smartSizeMode; this.refreshRate = refreshRate; this.isSharedByDistributor = isSharedByDistributor; this.crossSellingDistributor = crossSellingDistributor; this.externalSetTopBoxChannelId = externalSetTopBoxChannelId; this.isSetTopBoxEnabled = isSetTopBoxEnabled; } } AdUnit.XSI_TYPE = "AdUnit"; exports.AdUnit = AdUnit;