
com.google.api.ads.dfp.jaxws.v201505.ProposalLineItemServiceInterface Maven / Gradle / Ivy
Show all versions of dfp-appengine Show documentation
package com.google.api.ads.dfp.jaxws.v201505;
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 creating, updating and retrieving {@link ProposalLineItem} 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 = "ProposalLineItemServiceInterface", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505")
@XmlSeeAlso({
ObjectFactory.class
})
public interface ProposalLineItemServiceInterface {
/**
*
* Creates new {@link ProposalLineItem} objects.
*
* For each proposal line item, the following fields are required:
*
* - {@link ProposalLineItem#proposalId}
* - {@link ProposalLineItem#rateCardId}
* - {@link ProposalLineItem#productId}
* - {@link ProposalLineItem#name}
* - {@link ProposalLineItem#startDateTime}
* - {@link ProposalLineItem#endDateTime}
*
*
* @param proposalLineItems the proposal line items to create
* @return the created proposal line items with their IDs filled in
*
*
* @param proposalLineItems
* @return
* returns java.util.List
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505")
@RequestWrapper(localName = "createProposalLineItems", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505", className = "com.google.api.ads.dfp.jaxws.v201505.ProposalLineItemServiceInterfacecreateProposalLineItems")
@ResponseWrapper(localName = "createProposalLineItemsResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505", className = "com.google.api.ads.dfp.jaxws.v201505.ProposalLineItemServiceInterfacecreateProposalLineItemsResponse")
public List createProposalLineItems(
@WebParam(name = "proposalLineItems", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505")
List proposalLineItems)
throws ApiException_Exception
;
/**
*
* Gets a {@link ProposalLineItemPage} of {@link ProposalLineItem} objects
* that satisfy the given {@link Statement#query}. The following fields are supported for
* filtering:
*
*
*
* PQL Property Object Property
*
*
* {@code id}
* {@link ProposalLineItem#id}
*
*
* {@code name}
* {@link ProposalLineItem#name}
*
*
* {@code proposalId}
* {@link ProposalLineItem#proposalId}
*
*
* {@code startDateTime}
* {@link ProposalLineItem#startDateTime}
*
*
* {@code endDateTime}
* {@link ProposalLineItem#endDateTime}
*
*
* {@code isArchived}
* {@link ProposalLineItem#isArchived}
*
*
* {@code lastModifiedDateTime}
* {@link ProposalLineItem#lastModifiedDateTime}
*
*
* {@code useThirdPartyAdServerFromProposal}
* {@link ProposalLineItem#useThirdPartyAdServerFromProposal}
*
*
* {@code thirdPartyAdServerId}
* {@link ProposalLineItem#thirdPartyAdServerId}
*
*
* {@code customThirdPartyAdServerName}
* {@link ProposalLineItem#customThirdPartyAdServerName}
*
*
*
* @param filterStatement a Publisher Query Language statement used to filter
* a set of proposal line items
* @return the proposal line items that match the given filter
*
*
* @param filterStatement
* @return
* returns com.google.api.ads.dfp.jaxws.v201505.ProposalLineItemPage
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505")
@RequestWrapper(localName = "getProposalLineItemsByStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505", className = "com.google.api.ads.dfp.jaxws.v201505.ProposalLineItemServiceInterfacegetProposalLineItemsByStatement")
@ResponseWrapper(localName = "getProposalLineItemsByStatementResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505", className = "com.google.api.ads.dfp.jaxws.v201505.ProposalLineItemServiceInterfacegetProposalLineItemsByStatementResponse")
public ProposalLineItemPage getProposalLineItemsByStatement(
@WebParam(name = "filterStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505")
Statement filterStatement)
throws ApiException_Exception
;
/**
*
* Performs actions on {@link ProposalLineItem} objects that match
* the given {@link Statement#query}.
*
* @param proposalLineItemAction the action to perform
* @param filterStatement a Publisher Query Language statement used to filter a set of
* proposal line items
* @return the result of the action performed
*
*
* @param filterStatement
* @param proposalLineItemAction
* @return
* returns com.google.api.ads.dfp.jaxws.v201505.UpdateResult
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505")
@RequestWrapper(localName = "performProposalLineItemAction", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505", className = "com.google.api.ads.dfp.jaxws.v201505.ProposalLineItemServiceInterfaceperformProposalLineItemAction")
@ResponseWrapper(localName = "performProposalLineItemActionResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505", className = "com.google.api.ads.dfp.jaxws.v201505.ProposalLineItemServiceInterfaceperformProposalLineItemActionResponse")
public UpdateResult performProposalLineItemAction(
@WebParam(name = "proposalLineItemAction", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505")
ProposalLineItemAction proposalLineItemAction,
@WebParam(name = "filterStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505")
Statement filterStatement)
throws ApiException_Exception
;
/**
*
* Updates the specified {@link ProposalLineItem} objects. If free editing mode is enabled,
* this will trigger inventory reservation and cause the proposal to be pushed to DFP again.
*
* @param proposalLineItems the proposal line items to update
* @return the updated proposal line items
*
*
* @param proposalLineItems
* @return
* returns java.util.List
* @throws ApiException_Exception
*/
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505")
@RequestWrapper(localName = "updateProposalLineItems", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505", className = "com.google.api.ads.dfp.jaxws.v201505.ProposalLineItemServiceInterfaceupdateProposalLineItems")
@ResponseWrapper(localName = "updateProposalLineItemsResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505", className = "com.google.api.ads.dfp.jaxws.v201505.ProposalLineItemServiceInterfaceupdateProposalLineItemsResponse")
public List updateProposalLineItems(
@WebParam(name = "proposalLineItems", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505")
List proposalLineItems)
throws ApiException_Exception
;
}