com.microsoft.bingads.v13.campaignmanagement.AdExtension 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 AdExtension complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AdExtension">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="DevicePreference" type="{http://www.w3.org/2001/XMLSchema}long" 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="Scheduling" type="{https://bingads.microsoft.com/CampaignManagement/v13}Schedule" minOccurs="0"/>
* <element name="Status" type="{https://bingads.microsoft.com/CampaignManagement/v13}AdExtensionStatus" minOccurs="0"/>
* <element name="Type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Version" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AdExtension", propOrder = {
"devicePreference",
"forwardCompatibilityMap",
"id",
"scheduling",
"status",
"type",
"version"
})
@XmlSeeAlso({
AppAdExtension.class,
CallAdExtension.class,
ImageAdExtension.class,
FilterLinkAdExtension.class,
LocationAdExtension.class,
StructuredSnippetAdExtension.class,
PromotionAdExtension.class,
PriceAdExtension.class,
CalloutAdExtension.class,
ReviewAdExtension.class,
SitelinkAdExtension.class,
ActionAdExtension.class
})
public class AdExtension {
@XmlElement(name = "DevicePreference", nillable = true)
protected Long devicePreference;
@XmlElement(name = "ForwardCompatibilityMap", nillable = true)
protected ArrayOfKeyValuePairOfstringstring forwardCompatibilityMap;
@XmlElement(name = "Id", nillable = true)
protected Long id;
@XmlElement(name = "Scheduling", nillable = true)
protected Schedule scheduling;
@XmlElement(name = "Status", nillable = true)
@XmlSchemaType(name = "string")
protected AdExtensionStatus status;
@XmlElement(name = "Type", nillable = true)
protected String type;
@XmlElement(name = "Version", nillable = true)
protected Integer version;
/**
* 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 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 scheduling property.
*
* @return
* possible object is
* {@link Schedule }
*
*/
public Schedule getScheduling() {
return scheduling;
}
/**
* Sets the value of the scheduling property.
*
* @param value
* allowed object is
* {@link Schedule }
*
*/
public void setScheduling(Schedule value) {
this.scheduling = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link AdExtensionStatus }
*
*/
public AdExtensionStatus getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link AdExtensionStatus }
*
*/
public void setStatus(AdExtensionStatus value) {
this.status = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setVersion(Integer value) {
this.version = value;
}
}