All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.ads.dfp.jaxws.v201602.CreativePlaceholder Maven / Gradle / Ivy

There is a newer version: 5.8.0
Show newest version

package com.google.api.ads.dfp.jaxws.v201602;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;


/**
 * 
 *             A {@code CreativePlaceholder} describes a slot that a creative is expected to
 *             fill. This is used primarily to help in forecasting, and also to validate
 *             that the correct creatives are associated with the line item. A
 *             {@code CreativePlaceholder} must contain a size, and it can optionally
 *             contain companions. Companions are only valid if the line item's environment
 *             type is {@link EnvironmentType#VIDEO_PLAYER}.
 *           
 * 
 * 

Java class for CreativePlaceholder complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="CreativePlaceholder">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="size" type="{https://www.google.com/apis/ads/publisher/v201602}Size" minOccurs="0"/>
 *         <element name="creativeTemplateId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         <element name="companions" type="{https://www.google.com/apis/ads/publisher/v201602}CreativePlaceholder" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="appliedLabels" type="{https://www.google.com/apis/ads/publisher/v201602}AppliedLabel" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="effectiveAppliedLabels" type="{https://www.google.com/apis/ads/publisher/v201602}AppliedLabel" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="expectedCreativeCount" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="creativeSizeType" type="{https://www.google.com/apis/ads/publisher/v201602}CreativeSizeType" minOccurs="0"/>
 *         <element name="targetingName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CreativePlaceholder", propOrder = { "size", "creativeTemplateId", "companions", "appliedLabels", "effectiveAppliedLabels", "expectedCreativeCount", "creativeSizeType", "targetingName" }) public class CreativePlaceholder { protected Size size; protected Long creativeTemplateId; protected List companions; protected List appliedLabels; protected List effectiveAppliedLabels; protected Integer expectedCreativeCount; @XmlSchemaType(name = "string") protected CreativeSizeType creativeSizeType; protected String targetingName; /** * Gets the value of the size property. * * @return * possible object is * {@link Size } * */ public Size getSize() { return size; } /** * Sets the value of the size property. * * @param value * allowed object is * {@link Size } * */ public void setSize(Size value) { this.size = value; } /** * Gets the value of the creativeTemplateId property. * * @return * possible object is * {@link Long } * */ public Long getCreativeTemplateId() { return creativeTemplateId; } /** * Sets the value of the creativeTemplateId property. * * @param value * allowed object is * {@link Long } * */ public void setCreativeTemplateId(Long value) { this.creativeTemplateId = value; } /** * Gets the value of the companions property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the companions property. * *

* For example, to add a new item, do as follows: *

     *    getCompanions().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link CreativePlaceholder } * * */ public List getCompanions() { if (companions == null) { companions = new ArrayList(); } return this.companions; } /** * Gets the value of the appliedLabels property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the appliedLabels property. * *

* For example, to add a new item, do as follows: *

     *    getAppliedLabels().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AppliedLabel } * * */ public List getAppliedLabels() { if (appliedLabels == null) { appliedLabels = new ArrayList(); } return this.appliedLabels; } /** * Gets the value of the effectiveAppliedLabels property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the effectiveAppliedLabels property. * *

* For example, to add a new item, do as follows: *

     *    getEffectiveAppliedLabels().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AppliedLabel } * * */ public List getEffectiveAppliedLabels() { if (effectiveAppliedLabels == null) { effectiveAppliedLabels = new ArrayList(); } return this.effectiveAppliedLabels; } /** * Gets the value of the expectedCreativeCount property. * * @return * possible object is * {@link Integer } * */ public Integer getExpectedCreativeCount() { return expectedCreativeCount; } /** * Sets the value of the expectedCreativeCount property. * * @param value * allowed object is * {@link Integer } * */ public void setExpectedCreativeCount(Integer value) { this.expectedCreativeCount = value; } /** * Gets the value of the creativeSizeType property. * * @return * possible object is * {@link CreativeSizeType } * */ public CreativeSizeType getCreativeSizeType() { return creativeSizeType; } /** * Sets the value of the creativeSizeType property. * * @param value * allowed object is * {@link CreativeSizeType } * */ public void setCreativeSizeType(CreativeSizeType value) { this.creativeSizeType = value; } /** * Gets the value of the targetingName property. * * @return * possible object is * {@link String } * */ public String getTargetingName() { return targetingName; } /** * Sets the value of the targetingName property. * * @param value * allowed object is * {@link String } * */ public void setTargetingName(String value) { this.targetingName = value; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy