Show / Hide Table of Contents

Class ForecastServiceClientImpl

ForecastService client wrapper implementation, for convenient use.

Inheritance
object
ForecastServiceClient
ForecastServiceClientImpl
Inherited Members
ForecastServiceClient.DefaultEndpoint
ForecastServiceClient.DefaultScopes
ForecastServiceClient.ServiceMetadata
ForecastServiceClient.CreateAsync(CancellationToken)
ForecastServiceClient.Create()
ForecastServiceClient.ShutdownDefaultChannelsAsync()
ForecastServiceClient.RunAvailabilityForecastAsync(RunAvailabilityForecastRequest, CancellationToken)
ForecastServiceClient.RunAvailabilityForecast(string, CallSettings)
ForecastServiceClient.RunAvailabilityForecastAsync(string, CallSettings)
ForecastServiceClient.RunAvailabilityForecastAsync(string, CancellationToken)
ForecastServiceClient.RunAvailabilityForecast(NetworkName, CallSettings)
ForecastServiceClient.RunAvailabilityForecastAsync(NetworkName, CallSettings)
ForecastServiceClient.RunAvailabilityForecastAsync(NetworkName, CancellationToken)
ForecastServiceClient.RunDeliveryForecastAsync(RunDeliveryForecastRequest, CancellationToken)
ForecastServiceClient.RunDeliveryForecast(string, CallSettings)
ForecastServiceClient.RunDeliveryForecastAsync(string, CallSettings)
ForecastServiceClient.RunDeliveryForecastAsync(string, CancellationToken)
ForecastServiceClient.RunDeliveryForecast(NetworkName, CallSettings)
ForecastServiceClient.RunDeliveryForecastAsync(NetworkName, CallSettings)
ForecastServiceClient.RunDeliveryForecastAsync(NetworkName, CancellationToken)
ForecastServiceClient.RunTrafficDataAsync(RunTrafficDataRequest, CancellationToken)
ForecastServiceClient.RunTrafficData(string, CallSettings)
ForecastServiceClient.RunTrafficDataAsync(string, CallSettings)
ForecastServiceClient.RunTrafficDataAsync(string, CancellationToken)
ForecastServiceClient.RunTrafficData(NetworkName, CallSettings)
ForecastServiceClient.RunTrafficDataAsync(NetworkName, CallSettings)
ForecastServiceClient.RunTrafficDataAsync(NetworkName, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class ForecastServiceClientImpl : ForecastServiceClient
Remarks

Provides methods for handling forecasting actions.

Constructors

ForecastServiceClientImpl(ForecastServiceClient, ForecastServiceSettings, ILogger)

Constructs a client wrapper for the ForecastService service, with the specified gRPC client and settings.

Declaration
public ForecastServiceClientImpl(ForecastService.ForecastServiceClient grpcClient, ForecastServiceSettings settings, ILogger logger)
Parameters
Type Name Description
ForecastService.ForecastServiceClient grpcClient

The underlying gRPC client.

ForecastServiceSettings settings

The base ForecastServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC ForecastService client

Declaration
public override ForecastService.ForecastServiceClient GrpcClient { get; }
Property Value
Type Description
ForecastService.ForecastServiceClient
Overrides
ForecastServiceClient.GrpcClient

Methods

RunAvailabilityForecast(RunAvailabilityForecastRequest, CallSettings)

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 override RunAvailabilityForecastResponse RunAvailabilityForecast(RunAvailabilityForecastRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
RunAvailabilityForecastRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
RunAvailabilityForecastResponse

The RPC response.

Overrides
ForecastServiceClient.RunAvailabilityForecast(RunAvailabilityForecastRequest, CallSettings)

RunAvailabilityForecastAsync(RunAvailabilityForecastRequest, CallSettings)

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 override Task<RunAvailabilityForecastResponse> RunAvailabilityForecastAsync(RunAvailabilityForecastRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
RunAvailabilityForecastRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<RunAvailabilityForecastResponse>

A Task containing the RPC response.

Overrides
ForecastServiceClient.RunAvailabilityForecastAsync(RunAvailabilityForecastRequest, CallSettings)

RunDeliveryForecast(RunDeliveryForecastRequest, CallSettings)

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 override RunDeliveryForecastResponse RunDeliveryForecast(RunDeliveryForecastRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
RunDeliveryForecastRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
RunDeliveryForecastResponse

The RPC response.

Overrides
ForecastServiceClient.RunDeliveryForecast(RunDeliveryForecastRequest, CallSettings)

RunDeliveryForecastAsync(RunDeliveryForecastRequest, CallSettings)

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 override Task<RunDeliveryForecastResponse> RunDeliveryForecastAsync(RunDeliveryForecastRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
RunDeliveryForecastRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<RunDeliveryForecastResponse>

A Task containing the RPC response.

Overrides
ForecastServiceClient.RunDeliveryForecastAsync(RunDeliveryForecastRequest, CallSettings)

RunTrafficData(RunTrafficDataRequest, CallSettings)

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

Declaration
public override RunTrafficDataResponse RunTrafficData(RunTrafficDataRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
RunTrafficDataRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
RunTrafficDataResponse

The RPC response.

Overrides
ForecastServiceClient.RunTrafficData(RunTrafficDataRequest, CallSettings)

RunTrafficDataAsync(RunTrafficDataRequest, CallSettings)

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

Declaration
public override Task<RunTrafficDataResponse> RunTrafficDataAsync(RunTrafficDataRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
RunTrafficDataRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<RunTrafficDataResponse>

A Task containing the RPC response.

Overrides
ForecastServiceClient.RunTrafficDataAsync(RunTrafficDataRequest, CallSettings)
In this article
Back to top Generated by DocFX