Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
The ForecastService allows for the retrieval of delivery forecasts for line items, potentially using specific IDs.
DeliveryForecastOptions provide configuration for these forecasts, including the ability to specify line items to be excluded from the simulation via ignoredLineItemIds.
The operations related to forecasting reside within the namespace https://www.google.com/apis/ads/publisher/v202411.
[[["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."],[],["The `ForecastService` provides two methods: `getDeliveryForecast()` and `getDeliveryForecastByIds()`, which are used to retrieve delivery forecasts. It uses `DeliveryForecastOptions` that allows for customization. Specifically, it includes the ability to exclude certain line items from the forecast simulation, achieved by specifying their IDs in the `ignoredLineItemIds` field, which accepts an array of long integer values. This service operates within the namespace `https://www.google.com/apis/ads/publisher/v202411`.\n"]]