Show / Hide Table of Contents

Class ForecastAdjustmentService.ForecastAdjustmentServiceClient

Client for ForecastAdjustmentService

Inheritance
object
ClientBase
ClientBase<ForecastAdjustmentService.ForecastAdjustmentServiceClient>
ForecastAdjustmentService.ForecastAdjustmentServiceClient
Inherited Members
ClientBase<ForecastAdjustmentService.ForecastAdjustmentServiceClient>.WithHost(string)
ClientBase.CallInvoker
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public class ForecastAdjustmentService.ForecastAdjustmentServiceClient : ClientBase<ForecastAdjustmentService.ForecastAdjustmentServiceClient>

Constructors

ForecastAdjustmentServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected ForecastAdjustmentServiceClient()

ForecastAdjustmentServiceClient(CallInvoker)

Creates a new client for ForecastAdjustmentService that uses a custom CallInvoker.

Declaration
public ForecastAdjustmentServiceClient(CallInvoker callInvoker)
Parameters
Type Name Description
CallInvoker callInvoker

The callInvoker to use to make remote calls.

ForecastAdjustmentServiceClient(ChannelBase)

Creates a new client for ForecastAdjustmentService

Declaration
public ForecastAdjustmentServiceClient(ChannelBase channel)
Parameters
Type Name Description
ChannelBase channel

The channel to use to make remote calls.

ForecastAdjustmentServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

Declaration
protected ForecastAdjustmentServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration

The client configuration.

Methods

BatchActivateForecastAdjustments(BatchActivateForecastAdjustmentsRequest, CallOptions)

Activates a list of ForecastAdjustment objects.

Declaration
public virtual BatchActivateForecastAdjustmentsResponse BatchActivateForecastAdjustments(BatchActivateForecastAdjustmentsRequest request, CallOptions options)
Parameters
Type Name Description
BatchActivateForecastAdjustmentsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchActivateForecastAdjustmentsResponse

The response received from the server.

BatchActivateForecastAdjustments(BatchActivateForecastAdjustmentsRequest, Metadata, DateTime?, CancellationToken)

Activates a list of ForecastAdjustment objects.

Declaration
public virtual BatchActivateForecastAdjustmentsResponse BatchActivateForecastAdjustments(BatchActivateForecastAdjustmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchActivateForecastAdjustmentsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchActivateForecastAdjustmentsResponse

The response received from the server.

BatchActivateForecastAdjustmentsAsync(BatchActivateForecastAdjustmentsRequest, CallOptions)

Activates a list of ForecastAdjustment objects.

Declaration
public virtual AsyncUnaryCall<BatchActivateForecastAdjustmentsResponse> BatchActivateForecastAdjustmentsAsync(BatchActivateForecastAdjustmentsRequest request, CallOptions options)
Parameters
Type Name Description
BatchActivateForecastAdjustmentsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchActivateForecastAdjustmentsResponse>

The call object.

BatchActivateForecastAdjustmentsAsync(BatchActivateForecastAdjustmentsRequest, Metadata, DateTime?, CancellationToken)

Activates a list of ForecastAdjustment objects.

Declaration
public virtual AsyncUnaryCall<BatchActivateForecastAdjustmentsResponse> BatchActivateForecastAdjustmentsAsync(BatchActivateForecastAdjustmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchActivateForecastAdjustmentsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<BatchActivateForecastAdjustmentsResponse>

The call object.

BatchCreateForecastAdjustments(BatchCreateForecastAdjustmentsRequest, CallOptions)

Creates ForecastAdjustment objects.

Declaration
public virtual BatchCreateForecastAdjustmentsResponse BatchCreateForecastAdjustments(BatchCreateForecastAdjustmentsRequest request, CallOptions options)
Parameters
Type Name Description
BatchCreateForecastAdjustmentsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchCreateForecastAdjustmentsResponse

The response received from the server.

BatchCreateForecastAdjustments(BatchCreateForecastAdjustmentsRequest, Metadata, DateTime?, CancellationToken)

Creates ForecastAdjustment objects.

Declaration
public virtual BatchCreateForecastAdjustmentsResponse BatchCreateForecastAdjustments(BatchCreateForecastAdjustmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchCreateForecastAdjustmentsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchCreateForecastAdjustmentsResponse

The response received from the server.

BatchCreateForecastAdjustmentsAsync(BatchCreateForecastAdjustmentsRequest, CallOptions)

Creates ForecastAdjustment objects.

Declaration
public virtual AsyncUnaryCall<BatchCreateForecastAdjustmentsResponse> BatchCreateForecastAdjustmentsAsync(BatchCreateForecastAdjustmentsRequest request, CallOptions options)
Parameters
Type Name Description
BatchCreateForecastAdjustmentsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchCreateForecastAdjustmentsResponse>

The call object.

BatchCreateForecastAdjustmentsAsync(BatchCreateForecastAdjustmentsRequest, Metadata, DateTime?, CancellationToken)

Creates ForecastAdjustment objects.

Declaration
public virtual AsyncUnaryCall<BatchCreateForecastAdjustmentsResponse> BatchCreateForecastAdjustmentsAsync(BatchCreateForecastAdjustmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchCreateForecastAdjustmentsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<BatchCreateForecastAdjustmentsResponse>

The call object.

BatchDeactivateForecastAdjustments(BatchDeactivateForecastAdjustmentsRequest, CallOptions)

Deactivates a list of ForecastAdjustment objects.

Declaration
public virtual BatchDeactivateForecastAdjustmentsResponse BatchDeactivateForecastAdjustments(BatchDeactivateForecastAdjustmentsRequest request, CallOptions options)
Parameters
Type Name Description
BatchDeactivateForecastAdjustmentsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchDeactivateForecastAdjustmentsResponse

The response received from the server.

BatchDeactivateForecastAdjustments(BatchDeactivateForecastAdjustmentsRequest, Metadata, DateTime?, CancellationToken)

Deactivates a list of ForecastAdjustment objects.

Declaration
public virtual BatchDeactivateForecastAdjustmentsResponse BatchDeactivateForecastAdjustments(BatchDeactivateForecastAdjustmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchDeactivateForecastAdjustmentsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchDeactivateForecastAdjustmentsResponse

The response received from the server.

BatchDeactivateForecastAdjustmentsAsync(BatchDeactivateForecastAdjustmentsRequest, CallOptions)

Deactivates a list of ForecastAdjustment objects.

Declaration
public virtual AsyncUnaryCall<BatchDeactivateForecastAdjustmentsResponse> BatchDeactivateForecastAdjustmentsAsync(BatchDeactivateForecastAdjustmentsRequest request, CallOptions options)
Parameters
Type Name Description
BatchDeactivateForecastAdjustmentsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchDeactivateForecastAdjustmentsResponse>

The call object.

BatchDeactivateForecastAdjustmentsAsync(BatchDeactivateForecastAdjustmentsRequest, Metadata, DateTime?, CancellationToken)

Deactivates a list of ForecastAdjustment objects.

Declaration
public virtual AsyncUnaryCall<BatchDeactivateForecastAdjustmentsResponse> BatchDeactivateForecastAdjustmentsAsync(BatchDeactivateForecastAdjustmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchDeactivateForecastAdjustmentsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<BatchDeactivateForecastAdjustmentsResponse>

The call object.

BatchUpdateForecastAdjustments(BatchUpdateForecastAdjustmentsRequest, CallOptions)

Batch updates ForecastAdjustment objects.

Declaration
public virtual BatchUpdateForecastAdjustmentsResponse BatchUpdateForecastAdjustments(BatchUpdateForecastAdjustmentsRequest request, CallOptions options)
Parameters
Type Name Description
BatchUpdateForecastAdjustmentsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchUpdateForecastAdjustmentsResponse

The response received from the server.

BatchUpdateForecastAdjustments(BatchUpdateForecastAdjustmentsRequest, Metadata, DateTime?, CancellationToken)

Batch updates ForecastAdjustment objects.

Declaration
public virtual BatchUpdateForecastAdjustmentsResponse BatchUpdateForecastAdjustments(BatchUpdateForecastAdjustmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchUpdateForecastAdjustmentsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchUpdateForecastAdjustmentsResponse

The response received from the server.

BatchUpdateForecastAdjustmentsAsync(BatchUpdateForecastAdjustmentsRequest, CallOptions)

Batch updates ForecastAdjustment objects.

Declaration
public virtual AsyncUnaryCall<BatchUpdateForecastAdjustmentsResponse> BatchUpdateForecastAdjustmentsAsync(BatchUpdateForecastAdjustmentsRequest request, CallOptions options)
Parameters
Type Name Description
BatchUpdateForecastAdjustmentsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchUpdateForecastAdjustmentsResponse>

The call object.

BatchUpdateForecastAdjustmentsAsync(BatchUpdateForecastAdjustmentsRequest, Metadata, DateTime?, CancellationToken)

Batch updates ForecastAdjustment objects.

Declaration
public virtual AsyncUnaryCall<BatchUpdateForecastAdjustmentsResponse> BatchUpdateForecastAdjustmentsAsync(BatchUpdateForecastAdjustmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchUpdateForecastAdjustmentsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<BatchUpdateForecastAdjustmentsResponse>

The call object.

CalculateDailyAdOpportunityCounts(CalculateDailyAdOpportunityCountsRequest, CallOptions)

Calculates daily ad opportunity counts for a prospective ForecastAdjustment object.

Declaration
public virtual CalculateDailyAdOpportunityCountsResponse CalculateDailyAdOpportunityCounts(CalculateDailyAdOpportunityCountsRequest request, CallOptions options)
Parameters
Type Name Description
CalculateDailyAdOpportunityCountsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
CalculateDailyAdOpportunityCountsResponse

The response received from the server.

CalculateDailyAdOpportunityCounts(CalculateDailyAdOpportunityCountsRequest, Metadata, DateTime?, CancellationToken)

Calculates daily ad opportunity counts for a prospective ForecastAdjustment object.

Declaration
public virtual CalculateDailyAdOpportunityCountsResponse CalculateDailyAdOpportunityCounts(CalculateDailyAdOpportunityCountsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
CalculateDailyAdOpportunityCountsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
CalculateDailyAdOpportunityCountsResponse

The response received from the server.

CalculateDailyAdOpportunityCountsAsync(CalculateDailyAdOpportunityCountsRequest, CallOptions)

Calculates daily ad opportunity counts for a prospective ForecastAdjustment object.

Declaration
public virtual AsyncUnaryCall<CalculateDailyAdOpportunityCountsResponse> CalculateDailyAdOpportunityCountsAsync(CalculateDailyAdOpportunityCountsRequest request, CallOptions options)
Parameters
Type Name Description
CalculateDailyAdOpportunityCountsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<CalculateDailyAdOpportunityCountsResponse>

The call object.

CalculateDailyAdOpportunityCountsAsync(CalculateDailyAdOpportunityCountsRequest, Metadata, DateTime?, CancellationToken)

Calculates daily ad opportunity counts for a prospective ForecastAdjustment object.

Declaration
public virtual AsyncUnaryCall<CalculateDailyAdOpportunityCountsResponse> CalculateDailyAdOpportunityCountsAsync(CalculateDailyAdOpportunityCountsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
CalculateDailyAdOpportunityCountsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<CalculateDailyAdOpportunityCountsResponse>

The call object.

CreateForecastAdjustment(CreateForecastAdjustmentRequest, CallOptions)

Creates a ForecastAdjustment object.

Declaration
public virtual ForecastAdjustment CreateForecastAdjustment(CreateForecastAdjustmentRequest request, CallOptions options)
Parameters
Type Name Description
CreateForecastAdjustmentRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ForecastAdjustment

The response received from the server.

CreateForecastAdjustment(CreateForecastAdjustmentRequest, Metadata, DateTime?, CancellationToken)

Creates a ForecastAdjustment object.

Declaration
public virtual ForecastAdjustment CreateForecastAdjustment(CreateForecastAdjustmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
CreateForecastAdjustmentRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
ForecastAdjustment

The response received from the server.

CreateForecastAdjustmentAsync(CreateForecastAdjustmentRequest, CallOptions)

Creates a ForecastAdjustment object.

Declaration
public virtual AsyncUnaryCall<ForecastAdjustment> CreateForecastAdjustmentAsync(CreateForecastAdjustmentRequest request, CallOptions options)
Parameters
Type Name Description
CreateForecastAdjustmentRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ForecastAdjustment>

The call object.

CreateForecastAdjustmentAsync(CreateForecastAdjustmentRequest, Metadata, DateTime?, CancellationToken)

Creates a ForecastAdjustment object.

Declaration
public virtual AsyncUnaryCall<ForecastAdjustment> CreateForecastAdjustmentAsync(CreateForecastAdjustmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
CreateForecastAdjustmentRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<ForecastAdjustment>

The call object.

GetForecastAdjustment(GetForecastAdjustmentRequest, CallOptions)

Retrieves a ForecastAdjustment object.

Declaration
public virtual ForecastAdjustment GetForecastAdjustment(GetForecastAdjustmentRequest request, CallOptions options)
Parameters
Type Name Description
GetForecastAdjustmentRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ForecastAdjustment

The response received from the server.

GetForecastAdjustment(GetForecastAdjustmentRequest, Metadata, DateTime?, CancellationToken)

Retrieves a ForecastAdjustment object.

Declaration
public virtual ForecastAdjustment GetForecastAdjustment(GetForecastAdjustmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetForecastAdjustmentRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
ForecastAdjustment

The response received from the server.

GetForecastAdjustmentAsync(GetForecastAdjustmentRequest, CallOptions)

Retrieves a ForecastAdjustment object.

Declaration
public virtual AsyncUnaryCall<ForecastAdjustment> GetForecastAdjustmentAsync(GetForecastAdjustmentRequest request, CallOptions options)
Parameters
Type Name Description
GetForecastAdjustmentRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ForecastAdjustment>

The call object.

GetForecastAdjustmentAsync(GetForecastAdjustmentRequest, Metadata, DateTime?, CancellationToken)

Retrieves a ForecastAdjustment object.

Declaration
public virtual AsyncUnaryCall<ForecastAdjustment> GetForecastAdjustmentAsync(GetForecastAdjustmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetForecastAdjustmentRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<ForecastAdjustment>

The call object.

ListForecastAdjustments(ListForecastAdjustmentsRequest, CallOptions)

Lists ForecastAdjustment objects.

Declaration
public virtual ListForecastAdjustmentsResponse ListForecastAdjustments(ListForecastAdjustmentsRequest request, CallOptions options)
Parameters
Type Name Description
ListForecastAdjustmentsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListForecastAdjustmentsResponse

The response received from the server.

ListForecastAdjustments(ListForecastAdjustmentsRequest, Metadata, DateTime?, CancellationToken)

Lists ForecastAdjustment objects.

Declaration
public virtual ListForecastAdjustmentsResponse ListForecastAdjustments(ListForecastAdjustmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListForecastAdjustmentsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
ListForecastAdjustmentsResponse

The response received from the server.

ListForecastAdjustmentsAsync(ListForecastAdjustmentsRequest, CallOptions)

Lists ForecastAdjustment objects.

Declaration
public virtual AsyncUnaryCall<ListForecastAdjustmentsResponse> ListForecastAdjustmentsAsync(ListForecastAdjustmentsRequest request, CallOptions options)
Parameters
Type Name Description
ListForecastAdjustmentsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListForecastAdjustmentsResponse>

The call object.

ListForecastAdjustmentsAsync(ListForecastAdjustmentsRequest, Metadata, DateTime?, CancellationToken)

Lists ForecastAdjustment objects.

Declaration
public virtual AsyncUnaryCall<ListForecastAdjustmentsResponse> ListForecastAdjustmentsAsync(ListForecastAdjustmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListForecastAdjustmentsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<ListForecastAdjustmentsResponse>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override ForecastAdjustmentService.ForecastAdjustmentServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
ForecastAdjustmentService.ForecastAdjustmentServiceClient
Overrides
Grpc.Core.ClientBase<Google.Ads.AdManager.V1.ForecastAdjustmentService.ForecastAdjustmentServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateForecastAdjustment(UpdateForecastAdjustmentRequest, CallOptions)

Updates a ForecastAdjustment object.

Declaration
public virtual ForecastAdjustment UpdateForecastAdjustment(UpdateForecastAdjustmentRequest request, CallOptions options)
Parameters
Type Name Description
UpdateForecastAdjustmentRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ForecastAdjustment

The response received from the server.

UpdateForecastAdjustment(UpdateForecastAdjustmentRequest, Metadata, DateTime?, CancellationToken)

Updates a ForecastAdjustment object.

Declaration
public virtual ForecastAdjustment UpdateForecastAdjustment(UpdateForecastAdjustmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
UpdateForecastAdjustmentRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
ForecastAdjustment

The response received from the server.

UpdateForecastAdjustmentAsync(UpdateForecastAdjustmentRequest, CallOptions)

Updates a ForecastAdjustment object.

Declaration
public virtual AsyncUnaryCall<ForecastAdjustment> UpdateForecastAdjustmentAsync(UpdateForecastAdjustmentRequest request, CallOptions options)
Parameters
Type Name Description
UpdateForecastAdjustmentRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ForecastAdjustment>

The call object.

UpdateForecastAdjustmentAsync(UpdateForecastAdjustmentRequest, Metadata, DateTime?, CancellationToken)

Updates a ForecastAdjustment object.

Declaration
public virtual AsyncUnaryCall<ForecastAdjustment> UpdateForecastAdjustmentAsync(UpdateForecastAdjustmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
UpdateForecastAdjustmentRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<ForecastAdjustment>

The call object.

In this article
Back to top Generated by DocFX