com.microsoft.bingads.v13.campaignmanagement.Ad Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of microsoft.bingads Show documentation
Show all versions of microsoft.bingads Show documentation
The Bing Ads Java SDK is a library improving developer experience when working with the Bing Ads services by providing high-level access to features such as Bulk API, OAuth Authorization and SOAP API.
package com.microsoft.bingads.v13.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;
/**
* Java class for Ad complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <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/v13}AdEditorialStatus" minOccurs="0"/>
* <element name="FinalAppUrls" type="{https://bingads.microsoft.com/CampaignManagement/v13}ArrayOfAppUrl" minOccurs="0"/>
* <element name="FinalMobileUrls" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring" minOccurs="0"/>
* <element name="FinalUrlSuffix" type="{http://www.w3.org/2001/XMLSchema}string" 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/v13}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/v13}AdType" minOccurs="0"/>
* <element name="UrlCustomParameters" type="{https://bingads.microsoft.com/CampaignManagement/v13}CustomParameters" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Ad", propOrder = {
"adFormatPreference",
"devicePreference",
"editorialStatus",
"finalAppUrls",
"finalMobileUrls",
"finalUrlSuffix",
"finalUrls",
"forwardCompatibilityMap",
"id",
"status",
"trackingUrlTemplate",
"type",
"urlCustomParameters"
})
@XmlSeeAlso({
DynamicSearchAd.class,
ProductAd.class,
ResponsiveAd.class,
TextAd.class,
AppInstallAd.class,
ExpandedTextAd.class,
ResponsiveSearchAd.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 = "FinalUrlSuffix", nillable = true)
protected String finalUrlSuffix;
@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 finalUrlSuffix property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFinalUrlSuffix() {
return finalUrlSuffix;
}
/**
* Sets the value of the finalUrlSuffix property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFinalUrlSuffix(String value) {
this.finalUrlSuffix = 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;
}
}