com.microsoft.bingads.v13.campaignmanagement.CampaignCriterion 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 CampaignCriterion complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CampaignCriterion">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="CampaignId" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="Criterion" type="{https://bingads.microsoft.com/CampaignManagement/v13}Criterion" 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}CampaignCriterionStatus" minOccurs="0"/>
* <element name="Type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CampaignCriterion", propOrder = {
"campaignId",
"criterion",
"forwardCompatibilityMap",
"id",
"status",
"type"
})
@XmlSeeAlso({
BiddableCampaignCriterion.class,
NegativeCampaignCriterion.class
})
public class CampaignCriterion {
@XmlElement(name = "CampaignId")
protected long campaignId;
@XmlElement(name = "Criterion", nillable = true)
protected Criterion criterion;
@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 CampaignCriterionStatus status;
@XmlElement(name = "Type", nillable = true)
protected String type;
/**
* Gets the value of the campaignId property.
*
*/
public long getCampaignId() {
return campaignId;
}
/**
* Sets the value of the campaignId property.
*
*/
public void setCampaignId(long value) {
this.campaignId = value;
}
/**
* Gets the value of the criterion property.
*
* @return
* possible object is
* {@link Criterion }
*
*/
public Criterion getCriterion() {
return criterion;
}
/**
* Sets the value of the criterion property.
*
* @param value
* allowed object is
* {@link Criterion }
*
*/
public void setCriterion(Criterion value) {
this.criterion = 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 CampaignCriterionStatus }
*
*/
public CampaignCriterionStatus getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link CampaignCriterionStatus }
*
*/
public void setStatus(CampaignCriterionStatus 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;
}
}