Google Ads Ad Manager V1 Client - Class RunAvailabilityForecastRequest (0.15.0)

Reference documentation and code samples for the Google Ads Ad Manager V1 Client class RunAvailabilityForecastRequest.

Request object for RunAvailabilityForecast method.

Generated from protobuf message google.ads.admanager.v1.RunAvailabilityForecastRequest

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ existing_line_item string

Optional. The resource name of the LineItem to be forecasted. Format: networks/{network_code}/lineItems/{line_item_id}

↳ parent string

Required. Format: networks/{network_code}

↳ availability_forecast_options AvailabilityForecastOptions

Required. The availability forecast options.

getExistingLineItem

Optional. The resource name of the LineItem to be forecasted. Format: networks/{network_code}/lineItems/{line_item_id}

Returns
Type Description
string

hasExistingLineItem

setExistingLineItem

Optional. The resource name of the LineItem to be forecasted. Format: networks/{network_code}/lineItems/{line_item_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getParent

Required. Format: networks/{network_code}

Returns
Type Description
string

setParent

Required. Format: networks/{network_code}

Parameter
Name Description
var string
Returns
Type Description
$this

getAvailabilityForecastOptions

Required. The availability forecast options.

Returns
Type Description
AvailabilityForecastOptions|null

hasAvailabilityForecastOptions

clearAvailabilityForecastOptions

setAvailabilityForecastOptions

Required. The availability forecast options.

Parameter
Name Description
var AvailabilityForecastOptions
Returns
Type Description
$this

getLineItemData

Returns
Type Description
string

static::build

Parameter
Name Description
parent string

Required. Format: networks/{network_code} Please see ForecastServiceClient::networkName() for help formatting this field.

Returns
Type Description
RunAvailabilityForecastRequest