
com.google.api.ads.dfp.jaxws.v201511.ProposalServiceInterface Maven / Gradle / Ivy
Show all versions of dfp-appengine Show documentation
package com.google.api.ads.dfp.jaxws.v201511;
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 methods for adding, updating and retrieving {@link Proposal} objects.
*
* To use this service, you need to have the new sales management solution
* enabled on your network. If you do not see a "Sales" tab in
* DoubleClick for Publishers (DFP),
* you will not be able to use this service.
*
*
* This class was generated by the JAX-WS RI.
* JAX-WS RI 2.2.9-b130926.1035
* Generated source version: 2.1
*
*/
@WebService(name = "ProposalServiceInterface", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511")
@XmlSeeAlso({
ObjectFactory.class
})
public interface ProposalServiceInterface {
/**
*
* Creates new {@link Proposal} objects.
*
* For each proposal, the following fields are required:
*
* - {@link Proposal#name}
*
*
* @param proposals the proposals to create
* @return the created proposals with their IDs filled in
*
*
* @param proposals
* @return
* returns java.util.List
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511")
@RequestWrapper(localName = "createProposals", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511", className = "com.google.api.ads.dfp.jaxws.v201511.ProposalServiceInterfacecreateProposals")
@ResponseWrapper(localName = "createProposalsResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511", className = "com.google.api.ads.dfp.jaxws.v201511.ProposalServiceInterfacecreateProposalsResponse")
public List createProposals(
@WebParam(name = "proposals", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511")
List proposals)
throws ApiException_Exception
;
/**
*
* Gets a {@link ProposalPage} of {@link Proposal} objects that satisfy the given
* {@link Statement#query}. The following fields are supported for filtering:
*
*
*
* PQL Property
* Object Property
*
*
* {@code id}
* {@link Proposal#id}
*
*
* {@code dfpOrderId}
* {@link Proposal#dfpOrderId}
*
*
* {@code name}
* {@link Proposal#name}
*
*
* {@code status}
* {@link Proposal#status}
*
*
* {@code isArchived}
* {@link Proposal#isArchived}
*
*
* {@code approvalStatus}
* {@link Proposal#approvalStatus}
*
*
* {@code lastModifiedDateTime}
* {@link Proposal#lastModifiedDateTime}
*
*
* {@code thirdPartyAdServerId}
* {@link Proposal#thirdPartyAdServerId}
*
*
* {@code customThirdPartyAdServerName}
* {@link Proposal#customThirdPartyAdServerName}
*
*
* {@code hasOfflineErrors}
* {@link Proposal#hasOfflineErrors}
*
*
*
* @param filterStatement a Publisher Query Language statement used to filter
* a set of proposals
* @return the proposals that match the given filter
*
*
* @param filterStatement
* @return
* returns com.google.api.ads.dfp.jaxws.v201511.ProposalPage
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511")
@RequestWrapper(localName = "getProposalsByStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511", className = "com.google.api.ads.dfp.jaxws.v201511.ProposalServiceInterfacegetProposalsByStatement")
@ResponseWrapper(localName = "getProposalsByStatementResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511", className = "com.google.api.ads.dfp.jaxws.v201511.ProposalServiceInterfacegetProposalsByStatementResponse")
public ProposalPage getProposalsByStatement(
@WebParam(name = "filterStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511")
Statement filterStatement)
throws ApiException_Exception
;
/**
*
* Performs actions on {@link Proposal} objects that match the given {@link Statement#query}.
*
* The following fields are also required when submitting proposals for approval:
*
* - {@link Proposal#advertiser}
* - {@link Proposal#primarySalesperson}
* - {@link Proposal#primaryTraffickerId}
*
*
* @param proposalAction the action to perform
* @param filterStatement a Publisher Query Language statement used to filter a set of proposals
* @return the result of the action performed
*
*
* @param filterStatement
* @param proposalAction
* @return
* returns com.google.api.ads.dfp.jaxws.v201511.UpdateResult
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511")
@RequestWrapper(localName = "performProposalAction", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511", className = "com.google.api.ads.dfp.jaxws.v201511.ProposalServiceInterfaceperformProposalAction")
@ResponseWrapper(localName = "performProposalActionResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511", className = "com.google.api.ads.dfp.jaxws.v201511.ProposalServiceInterfaceperformProposalActionResponse")
public UpdateResult performProposalAction(
@WebParam(name = "proposalAction", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511")
ProposalAction proposalAction,
@WebParam(name = "filterStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511")
Statement filterStatement)
throws ApiException_Exception
;
/**
*
* Updates the specified {@link Proposal} objects.
*
* @param proposals the proposals to update
* @return the updated proposals
*
*
* @param proposals
* @return
* returns java.util.List
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511")
@RequestWrapper(localName = "updateProposals", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511", className = "com.google.api.ads.dfp.jaxws.v201511.ProposalServiceInterfaceupdateProposals")
@ResponseWrapper(localName = "updateProposalsResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511", className = "com.google.api.ads.dfp.jaxws.v201511.ProposalServiceInterfaceupdateProposalsResponse")
public List updateProposals(
@WebParam(name = "proposals", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511")
List proposals)
throws ApiException_Exception
;
}