All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.ads.dfp.jaxws.v201511.ProposalLineItemServiceInterface Maven / Gradle / Ivy

There is a newer version: 5.8.0
Show newest version

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 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/v201511") @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/v201511") @RequestWrapper(localName = "createProposalLineItems", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511", className = "com.google.api.ads.dfp.jaxws.v201511.ProposalLineItemServiceInterfacecreateProposalLineItems") @ResponseWrapper(localName = "createProposalLineItemsResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511", className = "com.google.api.ads.dfp.jaxws.v201511.ProposalLineItemServiceInterfacecreateProposalLineItemsResponse") public List createProposalLineItems( @WebParam(name = "proposalLineItems", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511") 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.v201511.ProposalLineItemPage * @throws ApiException_Exception */ @WebMethod @WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511") @RequestWrapper(localName = "getProposalLineItemsByStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511", className = "com.google.api.ads.dfp.jaxws.v201511.ProposalLineItemServiceInterfacegetProposalLineItemsByStatement") @ResponseWrapper(localName = "getProposalLineItemsByStatementResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511", className = "com.google.api.ads.dfp.jaxws.v201511.ProposalLineItemServiceInterfacegetProposalLineItemsByStatementResponse") public ProposalLineItemPage getProposalLineItemsByStatement( @WebParam(name = "filterStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511") 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.v201511.UpdateResult * @throws ApiException_Exception */ @WebMethod @WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511") @RequestWrapper(localName = "performProposalLineItemAction", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511", className = "com.google.api.ads.dfp.jaxws.v201511.ProposalLineItemServiceInterfaceperformProposalLineItemAction") @ResponseWrapper(localName = "performProposalLineItemActionResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511", className = "com.google.api.ads.dfp.jaxws.v201511.ProposalLineItemServiceInterfaceperformProposalLineItemActionResponse") public UpdateResult performProposalLineItemAction( @WebParam(name = "proposalLineItemAction", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511") ProposalLineItemAction proposalLineItemAction, @WebParam(name = "filterStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511") 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/v201511") @RequestWrapper(localName = "updateProposalLineItems", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511", className = "com.google.api.ads.dfp.jaxws.v201511.ProposalLineItemServiceInterfaceupdateProposalLineItems") @ResponseWrapper(localName = "updateProposalLineItemsResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511", className = "com.google.api.ads.dfp.jaxws.v201511.ProposalLineItemServiceInterfaceupdateProposalLineItemsResponse") public List updateProposalLineItems( @WebParam(name = "proposalLineItems", targetNamespace = "https://www.google.com/apis/ads/publisher/v201511") List proposalLineItems) throws ApiException_Exception ; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy