type TrafficForecastSegment (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
Service
AdjustmentService
An entity that defines a segment of traffic that will be adjusted or explored.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Field
|
id
|
xsd:long
The unique ID of the TrafficForecastSegment. This field is read-only and set by Google.
This attribute is read-only.
|
name
|
xsd:string
Name of the TrafficForecastSegment. This field must be unique among all segments for this
network.
This attribute is required.
|
targeting
|
Targeting
The targeting that defines a segment of traffic. Targeting cannot be changed after segment
creation.
This attribute is required.
|
activeForecastAdjustmentCount
|
xsd:int
The number of active forecast adjustments associated with the TrafficForecastSegment.
This attribute is read-only.
|
creationDateTime
|
DateTime
The date and time that the TrafficForecastSegment was created.
This attribute is read-only.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[],["The `AdjustmentService` manages `TrafficForecastSegment` entities, which define traffic segments for adjustment or exploration. Key actions include creating and updating these segments. Each segment has a unique ID, name, and targeting criteria. Targeting cannot be altered post-creation. Read-only attributes include the segment's creation date/time and the count of associated active forecast adjustments. The name must be unique within a network.\n"],null,["# type TrafficForecastSegment (v202502)\n\n**Service** \n**AdjustmentService** **Dependencies** \n[TrafficForecastSegmentPage](/ad-manager/api/reference/v202502/AdjustmentService.TrafficForecastSegmentPage) [createTrafficForecastSegmen...](/ad-manager/api/reference/v202502/AdjustmentService#createTrafficForecastSegments \"createTrafficForecastSegments()\") [updateTrafficForecastSegmen...](/ad-manager/api/reference/v202502/AdjustmentService#updateTrafficForecastSegments \"updateTrafficForecastSegments()\") \n▼\n**TrafficForecastSegment**\n\nAn entity that defines a segment of traffic that will be adjusted or explored.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Field ----- ||\n|-------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `id` | ` `xsd:`long` The unique ID of the TrafficForecastSegment. This field is read-only and set by Google. This attribute is read-only. |\n| ### `name` | ` `xsd:`string` Name of the TrafficForecastSegment. This field must be unique among all segments for this network. This attribute is required. |\n| ### `targeting` | ` `[Targeting](/ad-manager/api/reference/v202502/AdjustmentService.Targeting)` ` The targeting that defines a segment of traffic. Targeting cannot be changed after segment creation. This attribute is required. |\n| ### `activeForecastAdjustmentCount` | ` `xsd:`int` The number of active forecast adjustments associated with the TrafficForecastSegment. This attribute is read-only. |\n| ### `creationDateTime` | ` `[DateTime](/ad-manager/api/reference/v202502/AdjustmentService.DateTime)` ` The date and time that the TrafficForecastSegment was created. This attribute is read-only. |"]]