
com.google.api.ads.dfp.jaxws.v201602.CompanyServiceInterface Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dfp-appengine Show documentation
Show all versions of dfp-appengine Show documentation
DFP specific AppEngine components.
package com.google.api.ads.dfp.jaxws.v201602;
import java.util.List;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;
/**
*
* Provides operations for creating, updating and retrieving {@link Company}
* objects.
*
*
* This class was generated by the JAX-WS RI.
* JAX-WS RI 2.2.9-b130926.1035
* Generated source version: 2.1
*
*/
@WebService(name = "CompanyServiceInterface", targetNamespace = "https://www.google.com/apis/ads/publisher/v201602")
@XmlSeeAlso({
ObjectFactory.class
})
public interface CompanyServiceInterface {
/**
*
* Creates new {@link Company} objects.
*
* @param companies the companies to create
* @return the created companies with their IDs filled in
*
*
* @param companies
* @return
* returns java.util.List
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201602")
@RequestWrapper(localName = "createCompanies", targetNamespace = "https://www.google.com/apis/ads/publisher/v201602", className = "com.google.api.ads.dfp.jaxws.v201602.CompanyServiceInterfacecreateCompanies")
@ResponseWrapper(localName = "createCompaniesResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201602", className = "com.google.api.ads.dfp.jaxws.v201602.CompanyServiceInterfacecreateCompaniesResponse")
public List createCompanies(
@WebParam(name = "companies", targetNamespace = "https://www.google.com/apis/ads/publisher/v201602")
List companies)
throws ApiException_Exception
;
/**
*
* Gets a {@link CompanyPage} of {@link Company} objects that satisfy the
* given {@link Statement#query}. The following fields are supported for
* filtering:
*
*
*
* PQL Property Object Property
*
*
* {@code id}
* {@link Company#id}
*
*
* {@code name}
* {@link Company#name}
*
*
* {@code type}
* {@link Company#type}
*
*
* {@code lastModifiedDateTime}
* {@link Company#lastModifiedDateTime}
*
*
*
* @param filterStatement a Publisher Query Language statement used to filter
* a set of companies
* @return the companies that match the given filter
*
*
* @param filterStatement
* @return
* returns com.google.api.ads.dfp.jaxws.v201602.CompanyPage
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201602")
@RequestWrapper(localName = "getCompaniesByStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v201602", className = "com.google.api.ads.dfp.jaxws.v201602.CompanyServiceInterfacegetCompaniesByStatement")
@ResponseWrapper(localName = "getCompaniesByStatementResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201602", className = "com.google.api.ads.dfp.jaxws.v201602.CompanyServiceInterfacegetCompaniesByStatementResponse")
public CompanyPage getCompaniesByStatement(
@WebParam(name = "filterStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v201602")
Statement filterStatement)
throws ApiException_Exception
;
/**
*
* Updates the specified {@link Company} objects.
*
* @param companies the companies to update
* @return the updated companies
*
*
* @param companies
* @return
* returns java.util.List
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201602")
@RequestWrapper(localName = "updateCompanies", targetNamespace = "https://www.google.com/apis/ads/publisher/v201602", className = "com.google.api.ads.dfp.jaxws.v201602.CompanyServiceInterfaceupdateCompanies")
@ResponseWrapper(localName = "updateCompaniesResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201602", className = "com.google.api.ads.dfp.jaxws.v201602.CompanyServiceInterfaceupdateCompaniesResponse")
public List updateCompanies(
@WebParam(name = "companies", targetNamespace = "https://www.google.com/apis/ads/publisher/v201602")
List companies)
throws ApiException_Exception
;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy