The date range for which traffic data are requested. This range may
cover historical dates, future dates, or both.
The data returned are not guaranteed to cover the entire
requested date range. If sufficient data are not available to cover
the entire requested date range, a response may be returned with a
later start date, earlier end date, or both.
[[["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 2024-11-19 UTC."],[[["The ForecastService, specifically the getTrafficData() method, allows you to retrieve traffic data for defined segments."],["Traffic data is requested by specifying targeting criteria using the `TargetingDto` object and a date range using the `DateRange` object."],["While the requested date range can span past, present, and future dates, returned data might not cover the entire range due to data availability."]]],["The `ForecastService` utilizes the `getTrafficData()` function to retrieve traffic data. It requires a `TrafficDataRequest`, which defines the segment of traffic. This request mandates two fields: `targeting`, specifying the traffic segment through `TargetingDto`, and `requestedDateRange`, indicating the desired period via `DateRange`. Data may not cover the entire range if insufficient, possibly returning adjusted start or end dates. The namespace for this service is `https://www.google.com/apis/ads/publisher/v202411`.\n"]]