package com.microsoft.bingads.v11.campaignmanagement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for Ad complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="Ad">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="AdFormatPreference" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="DevicePreference" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="EditorialStatus" type="{https://bingads.microsoft.com/CampaignManagement/v11}AdEditorialStatus" minOccurs="0"/>
* <element name="FinalAppUrls" type="{http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts.V11}ArrayOfAppUrl" minOccurs="0"/>
* <element name="FinalMobileUrls" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring" minOccurs="0"/>
* <element name="FinalUrls" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring" minOccurs="0"/>
* <element name="ForwardCompatibilityMap" type="{http://schemas.datacontract.org/2004/07/System.Collections.Generic}ArrayOfKeyValuePairOfstringstring" minOccurs="0"/>
* <element name="Id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="Status" type="{https://bingads.microsoft.com/CampaignManagement/v11}AdStatus" minOccurs="0"/>
* <element name="TrackingUrlTemplate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Type" type="{https://bingads.microsoft.com/CampaignManagement/v11}AdType" minOccurs="0"/>
* <element name="UrlCustomParameters" type="{http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts.V11}CustomParameters" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Ad", propOrder = {
"adFormatPreference",
"devicePreference",
"editorialStatus",
"finalAppUrls",
"finalMobileUrls",
"finalUrls",
"forwardCompatibilityMap",
"id",
"status",
"trackingUrlTemplate",
"type",
"urlCustomParameters"
})
@XmlSeeAlso({
DynamicSearchAd.class,
ProductAd.class,
TextAd.class,
AppInstallAd.class,
ExpandedTextAd.class
})
public class Ad {
@XmlElement(name = "AdFormatPreference", nillable = true)
protected String adFormatPreference;
@XmlElement(name = "DevicePreference", nillable = true)
protected Long devicePreference;
@XmlElement(name = "EditorialStatus", nillable = true)
@XmlSchemaType(name = "string")
protected AdEditorialStatus editorialStatus;
@XmlElement(name = "FinalAppUrls", nillable = true)
protected ArrayOfAppUrl finalAppUrls;
@XmlElement(name = "FinalMobileUrls", nillable = true)
protected ArrayOfstring finalMobileUrls;
@XmlElement(name = "FinalUrls", nillable = true)
protected ArrayOfstring finalUrls;
@XmlElement(name = "ForwardCompatibilityMap", nillable = true)
protected ArrayOfKeyValuePairOfstringstring forwardCompatibilityMap;
@XmlElement(name = "Id", nillable = true)
protected Long id;
@XmlElement(name = "Status", nillable = true)
@XmlSchemaType(name = "string")
protected AdStatus status;
@XmlElement(name = "TrackingUrlTemplate", nillable = true)
protected String trackingUrlTemplate;
@XmlElement(name = "Type", nillable = true)
@XmlSchemaType(name = "string")
protected AdType type;
@XmlElement(name = "UrlCustomParameters", nillable = true)
protected CustomParameters urlCustomParameters;
/**
* Gets the value of the adFormatPreference property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAdFormatPreference() {
return adFormatPreference;
}
/**
* Sets the value of the adFormatPreference property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAdFormatPreference(String value) {
this.adFormatPreference = value;
}
/**
* Gets the value of the devicePreference property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getDevicePreference() {
return devicePreference;
}
/**
* Sets the value of the devicePreference property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setDevicePreference(Long value) {
this.devicePreference = value;
}
/**
* Gets the value of the editorialStatus property.
*
* @return
* possible object is
* {@link AdEditorialStatus }
*
*/
public AdEditorialStatus getEditorialStatus() {
return editorialStatus;
}
/**
* Sets the value of the editorialStatus property.
*
* @param value
* allowed object is
* {@link AdEditorialStatus }
*
*/
public void setEditorialStatus(AdEditorialStatus value) {
this.editorialStatus = value;
}
/**
* Gets the value of the finalAppUrls property.
*
* @return
* possible object is
* {@link ArrayOfAppUrl }
*
*/
public ArrayOfAppUrl getFinalAppUrls() {
return finalAppUrls;
}
/**
* Sets the value of the finalAppUrls property.
*
* @param value
* allowed object is
* {@link ArrayOfAppUrl }
*
*/
public void setFinalAppUrls(ArrayOfAppUrl value) {
this.finalAppUrls = value;
}
/**
* Gets the value of the finalMobileUrls property.
*
* @return
* possible object is
* {@link ArrayOfstring }
*
*/
public ArrayOfstring getFinalMobileUrls() {
return finalMobileUrls;
}
/**
* Sets the value of the finalMobileUrls property.
*
* @param value
* allowed object is
* {@link ArrayOfstring }
*
*/
public void setFinalMobileUrls(ArrayOfstring value) {
this.finalMobileUrls = value;
}
/**
* Gets the value of the finalUrls property.
*
* @return
* possible object is
* {@link ArrayOfstring }
*
*/
public ArrayOfstring getFinalUrls() {
return finalUrls;
}
/**
* Sets the value of the finalUrls property.
*
* @param value
* allowed object is
* {@link ArrayOfstring }
*
*/
public void setFinalUrls(ArrayOfstring value) {
this.finalUrls = value;
}
/**
* Gets the value of the forwardCompatibilityMap property.
*
* @return
* possible object is
* {@link ArrayOfKeyValuePairOfstringstring }
*
*/
public ArrayOfKeyValuePairOfstringstring getForwardCompatibilityMap() {
return forwardCompatibilityMap;
}
/**
* Sets the value of the forwardCompatibilityMap property.
*
* @param value
* allowed object is
* {@link ArrayOfKeyValuePairOfstringstring }
*
*/
public void setForwardCompatibilityMap(ArrayOfKeyValuePairOfstringstring value) {
this.forwardCompatibilityMap = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setId(Long value) {
this.id = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link AdStatus }
*
*/
public AdStatus getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link AdStatus }
*
*/
public void setStatus(AdStatus value) {
this.status = value;
}
/**
* Gets the value of the trackingUrlTemplate property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTrackingUrlTemplate() {
return trackingUrlTemplate;
}
/**
* Sets the value of the trackingUrlTemplate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTrackingUrlTemplate(String value) {
this.trackingUrlTemplate = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link AdType }
*
*/
public AdType getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link AdType }
*
*/
public void setType(AdType value) {
this.type = value;
}
/**
* Gets the value of the urlCustomParameters property.
*
* @return
* possible object is
* {@link CustomParameters }
*
*/
public CustomParameters getUrlCustomParameters() {
return urlCustomParameters;
}
/**
* Sets the value of the urlCustomParameters property.
*
* @param value
* allowed object is
* {@link CustomParameters }
*
*/
public void setUrlCustomParameters(CustomParameters value) {
this.urlCustomParameters = value;
}
}