Show / Hide Table of Contents

Class ForecastService.ForecastServiceBase

Base class for server-side implementations of ForecastService

Inheritance
object
ForecastService.ForecastServiceBase
Inherited Members
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(ForecastService), "BindService")]
public abstract class ForecastService.ForecastServiceBase

Methods

RunAvailabilityForecast(RunAvailabilityForecastRequest, ServerCallContext)

Gets the availability forecast for a [ProposalLineItem][] or [LineItem][google.ads.admanager.v1.LineItem]. An availability forecast reports the maximum number of available units that the line item can book, and the total number of units matching the line item's targeting.

Declaration
public virtual Task<RunAvailabilityForecastResponse> RunAvailabilityForecast(RunAvailabilityForecastRequest request, ServerCallContext context)
Parameters
Type Name Description
RunAvailabilityForecastRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<RunAvailabilityForecastResponse>

The response to send back to the client (wrapped by a task).

RunDeliveryForecast(RunDeliveryForecastRequest, ServerCallContext)

Runs a delivery simulation forecast for existing or prospective line items. A delivery forecast reports the number of units that will be delivered to each line item given the line item goals. The simulation considers contentions from other line items, including the other prospective line items in the request.

Declaration
public virtual Task<RunDeliveryForecastResponse> RunDeliveryForecast(RunDeliveryForecastRequest request, ServerCallContext context)
Parameters
Type Name Description
RunDeliveryForecastRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<RunDeliveryForecastResponse>

The response to send back to the client (wrapped by a task).

RunTrafficData(RunTrafficDataRequest, ServerCallContext)

Gets forecasted and historical traffic data for the segment of traffic specified by the provided request.

Declaration
public virtual Task<RunTrafficDataResponse> RunTrafficData(RunTrafficDataRequest request, ServerCallContext context)
Parameters
Type Name Description
RunTrafficDataRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<RunTrafficDataResponse>

The response to send back to the client (wrapped by a task).

In this article
Back to top Generated by DocFX