com.microsoft.bingads.v13.campaignmanagement.GetCampaignsByIdsRequest 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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="AccountId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="CampaignIds" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOflong" minOccurs="0"/>
* <element name="CampaignType" type="{https://bingads.microsoft.com/CampaignManagement/v13}CampaignType" minOccurs="0"/>
* <element name="ReturnAdditionalFields" type="{https://bingads.microsoft.com/CampaignManagement/v13}CampaignAdditionalField" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"accountId",
"campaignIds",
"campaignType",
"returnAdditionalFields"
})
@XmlRootElement(name = "GetCampaignsByIdsRequest")
public class GetCampaignsByIdsRequest {
@XmlElement(name = "AccountId")
protected Long accountId;
@XmlElement(name = "CampaignIds", nillable = true)
protected ArrayOflong campaignIds;
@XmlElement(name = "CampaignType", type = String.class)
@XmlJavaTypeAdapter(Adapter4 .class)
protected Collection campaignType;
@XmlElement(name = "ReturnAdditionalFields", type = String.class, nillable = true)
@XmlJavaTypeAdapter(Adapter5 .class)
protected Collection returnAdditionalFields;
/**
* Gets the value of the accountId property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getAccountId() {
return accountId;
}
/**
* Sets the value of the accountId property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setAccountId(Long value) {
this.accountId = value;
}
/**
* Gets the value of the campaignIds property.
*
* @return
* possible object is
* {@link ArrayOflong }
*
*/
public ArrayOflong getCampaignIds() {
return campaignIds;
}
/**
* Sets the value of the campaignIds property.
*
* @param value
* allowed object is
* {@link ArrayOflong }
*
*/
public void setCampaignIds(ArrayOflong value) {
this.campaignIds = value;
}
/**
* Gets the value of the campaignType property.
*
* @return
* possible object is
* {@link String }
*
*/
public Collection getCampaignType() {
return campaignType;
}
/**
* Sets the value of the campaignType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCampaignType(Collection value) {
this.campaignType = value;
}
/**
* Gets the value of the returnAdditionalFields property.
*
* @return
* possible object is
* {@link String }
*
*/
public Collection getReturnAdditionalFields() {
return returnAdditionalFields;
}
/**
* Sets the value of the returnAdditionalFields property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setReturnAdditionalFields(Collection value) {
this.returnAdditionalFields = value;
}
}