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

com.google.api.ads.admanager.axis.v202111.AdjustmentServiceInterface Maven / Gradle / Ivy

// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

/**
 * AdjustmentServiceInterface.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
 */

package com.google.api.ads.admanager.axis.v202111;

public interface AdjustmentServiceInterface extends java.rmi.Remote {

    /**
     * Takes a prospective forecast adjustment and calculates the
     * daily ad opportunity counts
     *         corresponding to its provided volume settings.
     *         
     *         
     * @param forecastAdjustment the prospective forecast adjustment
     *         
     * @return a forecast adjustment matching the one passed in, but with
     * its {@code
     *         calculatedDailyAdOpportunityCounts} field populated
     */
    public com.google.api.ads.admanager.axis.v202111.ForecastAdjustment calculateDailyAdOpportunityCounts(com.google.api.ads.admanager.axis.v202111.ForecastAdjustment forecastAdjustment) throws java.rmi.RemoteException, com.google.api.ads.admanager.axis.v202111.ApiException;

    /**
     * Creates new {@link ForecastAdjustment} objects.
     *         
     *         
     * @param forecastAdjustments the forecast adjustments to create
     *         
     * @return the persisted forecast adjustments with their IDs populated
     * 
     * @throws ApiException if there is an error creating the forecast adjustments
     */
    public com.google.api.ads.admanager.axis.v202111.ForecastAdjustment[] createForecastAdjustments(com.google.api.ads.admanager.axis.v202111.ForecastAdjustment[] forecastAdjustments) throws java.rmi.RemoteException, com.google.api.ads.admanager.axis.v202111.ApiException;

    /**
     * Creates new {@link TrafficForecastSegment} objects.
     *         
     *         
     * @param trafficForecastSegments the traffic forecast segments to create
     * 
     * @return the persisted traffic forecast segments with their IDs populated
     * 
     * @throws ApiException if there is an error creating the traffic forecast
     * segments
     */
    public com.google.api.ads.admanager.axis.v202111.TrafficForecastSegment[] createTrafficForecastSegments(com.google.api.ads.admanager.axis.v202111.TrafficForecastSegment[] trafficForecastSegments) throws java.rmi.RemoteException, com.google.api.ads.admanager.axis.v202111.ApiException;

    /**
     * Gets a {@link ForecastAdjustmentPage} of {@link ForecastAdjustment}
     * objects that satisfy the
     *         given {@link Statement#query}.
     *         
     *         

The following fields are supported for filtering: * *

* * * * * * * * * * * * * * * * * * * * * * * * * * * *
PQL Property Object Property
{@code id}{@link ForecastAdjustment#id}
{@code trafficForecastSegmentId}{@link ForecastAdjustment#trafficForecastSegmentId}
{@code name}{@link ForecastAdjustment#name}
{@code startDate}{@link ForecastAdjustment#startDate}
{@code endDate}{@link ForecastAdjustment#endDate}
{@code status}{@link ForecastAdjustment#status}
* * * @param filterStatement a Publisher Query Language statement to filter * a list of traffic * forecast segments * * @return a page of forecast adjustments that match the filter */ public com.google.api.ads.admanager.axis.v202111.ForecastAdjustmentPage getForecastAdjustmentsByStatement(com.google.api.ads.admanager.axis.v202111.Statement filterStatement) throws java.rmi.RemoteException, com.google.api.ads.admanager.axis.v202111.ApiException; /** * Gets a {@link TrafficForecastSegmentPage} of {@link TrafficForecastSegment} * objects that * satisfy the given {@link Statement#query}. * *

The following fields are supported for filtering: * *

* * * * * * * * * * * * * * * *
PQL Property Object Property
{@code id}{@link TrafficForecastSegment#id}
{@code name}{@link TrafficForecastSegment#name}
{@code creationTime}{@link TrafficForecastSegment#creationTime}
* * * @param filterStatement a Publisher Query Language statement to filter * a list of traffic * forecast segments * * @return a page of traffic forecast segments that match the filter */ public com.google.api.ads.admanager.axis.v202111.TrafficForecastSegmentPage getTrafficForecastSegmentsByStatement(com.google.api.ads.admanager.axis.v202111.Statement filterStatement) throws java.rmi.RemoteException, com.google.api.ads.admanager.axis.v202111.ApiException; /** * Performs actions on {@link ForecastAdjustment} objects that * match the given {@link * Statement#query}. * * * @param forecastAdjustmentAction the action to perform * * @param filterStatement a Publisher Query Language statement used to * filter a set of forecast * adjustments * * @return the result of the action performed */ public com.google.api.ads.admanager.axis.v202111.UpdateResult performForecastAdjustmentAction(com.google.api.ads.admanager.axis.v202111.ForecastAdjustmentAction forecastAdjustmentAction, com.google.api.ads.admanager.axis.v202111.Statement filterStatement) throws java.rmi.RemoteException, com.google.api.ads.admanager.axis.v202111.ApiException; /** * Updates the specified {@link ForecastAdjustment} objects. * * * @param forecastAdjustments the forecast adjustments to update * * @return the updated forecast adjustments * * @throws ApiException if there is an error updating the forecast adjustments */ public com.google.api.ads.admanager.axis.v202111.ForecastAdjustment[] updateForecastAdjustments(com.google.api.ads.admanager.axis.v202111.ForecastAdjustment[] forecastAdjustments) throws java.rmi.RemoteException, com.google.api.ads.admanager.axis.v202111.ApiException; /** * Updates the specified {@link TrafficForecastSegment} objects. * * * @param trafficForecastSegments the traffic forecast segments to update * * @return the updated traffic forecast segments * * @throws ApiException if there is an error updating the traffic forecast * segments */ public com.google.api.ads.admanager.axis.v202111.TrafficForecastSegment[] updateTrafficForecastSegments(com.google.api.ads.admanager.axis.v202111.TrafficForecastSegment[] trafficForecastSegments) throws java.rmi.RemoteException, com.google.api.ads.admanager.axis.v202111.ApiException; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy