The target of the forecast. If LineItem.id is null or no line item exists with that ID,
then a forecast is computed for the subject, predicting what would happen if it were added to
the network. If a line item already exists with LineItem.id, the forecast is computed
for the subject, predicting what would happen if the existing line item's settings were
modified to match the subject.
The target of the forecast if this prospective line item is a
proposal line item.
If ProposalLineItem.id is null or no proposal line item exists with
that ID, then a forecast is computed for the subject, predicting
what would happen if it were added to the network. If a proposal
line item already exists with ProposalLineItem.id, the forecast is
computed for the subject, predicting what would happen if the
existing proposal line item's settings were modified to match the
subject.
A proposal line item can optionally correspond to an order
LineItem, in
which case, by forecasting a proposal line item, the corresponding
line item is implicitly ignored in the forecasting.
When set, the line item is assumed to be from this advertiser, and unified blocking rules will
apply accordingly. If absent, line items without an existing order won't be subject to unified
blocking rules.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],[],null,["# type ProspectiveLineItem (v202505)\n\n**Service** \n**ForecastService** **Dependencies** \n[getAvailabilityForecast()](/ad-manager/api/reference/v202505/ForecastService#getAvailabilityForecast) [getDeliveryForecast()](/ad-manager/api/reference/v202505/ForecastService#getDeliveryForecast) \n▼\n**ProspectiveLineItem**\n\nRepresents a prospective line item to be forecasted.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202505`\n\n| Field ----- ||\n|------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `lineItem` | ` `[LineItem](/ad-manager/api/reference/v202505/ForecastService.LineItem)` ` The target of the forecast. If [LineItem.id](/ad-manager/api/reference/v202505/ForecastService.LineItem#id) is null or no line item exists with that ID, then a forecast is computed for the subject, predicting what would happen if it were added to the network. If a line item already exists with [LineItem.id](/ad-manager/api/reference/v202505/ForecastService.LineItem#id), the forecast is computed for the subject, predicting what would happen if the existing line item's settings were modified to match the subject. |\n| ### `proposalLineItem` | ` `[ProposalLineItem](/ad-manager/api/reference/v202505/ForecastService.ProposalLineItem)` ` The target of the forecast if this prospective line item is a proposal line item. If [ProposalLineItem.id](/ad-manager/api/reference/v202505/ForecastService.ProposalLineItem#id) is null or no proposal line item exists with that ID, then a forecast is computed for the subject, predicting what would happen if it were added to the network. If a proposal line item already exists with [ProposalLineItem.id](/ad-manager/api/reference/v202505/ForecastService.ProposalLineItem#id), the forecast is computed for the subject, predicting what would happen if the existing proposal line item's settings were modified to match the subject. A proposal line item can optionally correspond to an order [LineItem](/ad-manager/api/reference/v202505/ForecastService.LineItem), in which case, by forecasting a proposal line item, the corresponding line item is implicitly ignored in the forecasting. Either [lineItem](#lineItem) or [proposalLineItem](#proposalLineItem) should be specified but not both. \u003cbr /\u003e |\n| ### `advertiserId` | ` `xsd:`long` When set, the line item is assumed to be from this advertiser, and unified blocking rules will apply accordingly. If absent, line items without an existing order won't be subject to unified blocking rules. |"]]