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

com.google.api.ads.dfp.jaxws.v201505.ProposalServiceInterface Maven / Gradle / Ivy

There is a newer version: 5.8.0
Show newest version

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 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/v201505") @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/v201505") @RequestWrapper(localName = "createProposals", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505", className = "com.google.api.ads.dfp.jaxws.v201505.ProposalServiceInterfacecreateProposals") @ResponseWrapper(localName = "createProposalsResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505", className = "com.google.api.ads.dfp.jaxws.v201505.ProposalServiceInterfacecreateProposalsResponse") public List createProposals( @WebParam(name = "proposals", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505") 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 PropertyObject 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.v201505.ProposalPage * @throws ApiException_Exception */ @WebMethod @WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505") @RequestWrapper(localName = "getProposalsByStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505", className = "com.google.api.ads.dfp.jaxws.v201505.ProposalServiceInterfacegetProposalsByStatement") @ResponseWrapper(localName = "getProposalsByStatementResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505", className = "com.google.api.ads.dfp.jaxws.v201505.ProposalServiceInterfacegetProposalsByStatementResponse") public ProposalPage getProposalsByStatement( @WebParam(name = "filterStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505") 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.v201505.UpdateResult * @throws ApiException_Exception */ @WebMethod @WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505") @RequestWrapper(localName = "performProposalAction", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505", className = "com.google.api.ads.dfp.jaxws.v201505.ProposalServiceInterfaceperformProposalAction") @ResponseWrapper(localName = "performProposalActionResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505", className = "com.google.api.ads.dfp.jaxws.v201505.ProposalServiceInterfaceperformProposalActionResponse") public UpdateResult performProposalAction( @WebParam(name = "proposalAction", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505") ProposalAction proposalAction, @WebParam(name = "filterStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505") 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/v201505") @RequestWrapper(localName = "updateProposals", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505", className = "com.google.api.ads.dfp.jaxws.v201505.ProposalServiceInterfaceupdateProposals") @ResponseWrapper(localName = "updateProposalsResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505", className = "com.google.api.ads.dfp.jaxws.v201505.ProposalServiceInterfaceupdateProposalsResponse") public List updateProposals( @WebParam(name = "proposals", targetNamespace = "https://www.google.com/apis/ads/publisher/v201505") List proposals) throws ApiException_Exception ; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy