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

com.google.api.ads.admanager.jaxws.v202402.CreativeAsset Maven / Gradle / Ivy

The newest version!
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.


package com.google.api.ads.admanager.jaxws.v202402;

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 CreativeAsset} is an asset that can be used in creatives.
 *           
 * 
 * 

Java class for CreativeAsset complex type. * *

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

 * <complexType name="CreativeAsset">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="assetId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         <element name="assetByteArray" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
 *         <element name="fileName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="fileSize" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         <element name="assetUrl" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="size" type="{https://www.google.com/apis/ads/publisher/v202402}Size" minOccurs="0"/>
 *         <element name="clickTags" type="{https://www.google.com/apis/ads/publisher/v202402}ClickTag" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="imageDensity" type="{https://www.google.com/apis/ads/publisher/v202402}ImageDensity" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CreativeAsset", propOrder = { "assetId", "assetByteArray", "fileName", "fileSize", "assetUrl", "size", "clickTags", "imageDensity" }) public class CreativeAsset { protected Long assetId; protected byte[] assetByteArray; protected String fileName; protected Long fileSize; protected String assetUrl; protected Size size; protected List clickTags; @XmlSchemaType(name = "string") protected ImageDensity imageDensity; /** * Gets the value of the assetId property. * * @return * possible object is * {@link Long } * */ public Long getAssetId() { return assetId; } /** * Sets the value of the assetId property. * * @param value * allowed object is * {@link Long } * */ public void setAssetId(Long value) { this.assetId = value; } /** * Gets the value of the assetByteArray property. * * @return * possible object is * byte[] */ public byte[] getAssetByteArray() { return assetByteArray; } /** * Sets the value of the assetByteArray property. * * @param value * allowed object is * byte[] */ public void setAssetByteArray(byte[] value) { this.assetByteArray = value; } /** * Gets the value of the fileName property. * * @return * possible object is * {@link String } * */ public String getFileName() { return fileName; } /** * Sets the value of the fileName property. * * @param value * allowed object is * {@link String } * */ public void setFileName(String value) { this.fileName = value; } /** * Gets the value of the fileSize property. * * @return * possible object is * {@link Long } * */ public Long getFileSize() { return fileSize; } /** * Sets the value of the fileSize property. * * @param value * allowed object is * {@link Long } * */ public void setFileSize(Long value) { this.fileSize = value; } /** * Gets the value of the assetUrl property. * * @return * possible object is * {@link String } * */ public String getAssetUrl() { return assetUrl; } /** * Sets the value of the assetUrl property. * * @param value * allowed object is * {@link String } * */ public void setAssetUrl(String value) { this.assetUrl = value; } /** * 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 clickTags 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 clickTags property. * *

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

     *    getClickTags().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ClickTag } * * */ public List getClickTags() { if (clickTags == null) { clickTags = new ArrayList(); } return this.clickTags; } /** * Gets the value of the imageDensity property. * * @return * possible object is * {@link ImageDensity } * */ public ImageDensity getImageDensity() { return imageDensity; } /** * Sets the value of the imageDensity property. * * @param value * allowed object is * {@link ImageDensity } * */ public void setImageDensity(ImageDensity value) { this.imageDensity = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy