type TrafficForecastSegment (v202411)
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/v202411
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."],[[["\u003cp\u003eTrafficForecastSegment is an entity that defines a segment of traffic for adjustment or exploration.\u003c/p\u003e\n"],["\u003cp\u003eIt has a unique ID, a unique name within the network, targeting criteria, and counts of associated forecast adjustments.\u003c/p\u003e\n"],["\u003cp\u003eThe targeting criteria cannot be altered after the segment is created.\u003c/p\u003e\n"],["\u003cp\u003eCreation date and time, along with active forecast adjustment count are read-only fields.\u003c/p\u003e\n"]]],["The `AdjustmentService` manages `TrafficForecastSegment` entities, which define traffic segments for adjustment or exploration. Key actions include creating and updating these segments. Each segment requires a unique name and targeting criteria, which cannot be altered after creation. Segments are identified by a unique, read-only ID, and also have read-only fields that include active forecast adjustment count and creation date/time.\n"],null,["# type TrafficForecastSegment (v202411)\n\n**Service** \n**AdjustmentService** **Dependencies** \n[TrafficForecastSegmentPage](/ad-manager/api/reference/v202411/AdjustmentService.TrafficForecastSegmentPage) [createTrafficForecastSegmen...](/ad-manager/api/reference/v202411/AdjustmentService#createTrafficForecastSegments \"createTrafficForecastSegments()\") [updateTrafficForecastSegmen...](/ad-manager/api/reference/v202411/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/v202411`\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/v202411/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/v202411/AdjustmentService.DateTime)` ` The date and time that the TrafficForecastSegment was created. This attribute is read-only. |"]]