com.microsoft.bingads.v13.campaignmanagement.AudienceCriterion 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 java.util.Collection;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for AudienceCriterion complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AudienceCriterion">
* <complexContent>
* <extension base="{https://bingads.microsoft.com/CampaignManagement/v13}Criterion">
* <sequence>
* <element name="AudienceId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="AudienceType" type="{https://bingads.microsoft.com/CampaignManagement/v13}AudienceType" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AudienceCriterion", propOrder = {
"audienceId",
"audienceType"
})
public class AudienceCriterion
extends Criterion
{
@XmlElement(name = "AudienceId", nillable = true)
protected Long audienceId;
@XmlElement(name = "AudienceType", type = String.class, nillable = true)
@XmlJavaTypeAdapter(Adapter10 .class)
protected Collection audienceType;
/**
* Gets the value of the audienceId property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getAudienceId() {
return audienceId;
}
/**
* Sets the value of the audienceId property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setAudienceId(Long value) {
this.audienceId = value;
}
/**
* Gets the value of the audienceType property.
*
* @return
* possible object is
* {@link String }
*
*/
public Collection getAudienceType() {
return audienceType;
}
/**
* Sets the value of the audienceType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAudienceType(Collection value) {
this.audienceType = value;
}
}