type TrafficForecastSegment (v202408)
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/v202408
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 used to define adjustable or explorable traffic segments within Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eIt's uniquely identified by an ID and has a name that must be unique across the network.\u003c/p\u003e\n"],["\u003cp\u003eTargeting for the segment is defined during creation and cannot be changed afterwards.\u003c/p\u003e\n"],["\u003cp\u003eRead-only fields provide information about associated adjustments, creation time, and the segment's ID.\u003c/p\u003e\n"]]],["The `AdjustmentService` allows the creation and updating of `TrafficForecastSegment` entities. These segments define traffic to be adjusted or explored, identified by a unique ID, name, and targeting criteria. Targeting is required upon creation and cannot be altered. Segments also track the number of active forecast adjustments and the creation date and time, which are read-only attributes. The segment names must be unique across a network.\n"],null,["# type TrafficForecastSegment (v202408)\n\n**Service** \n**AdjustmentService** **Dependencies** \n[TrafficForecastSegmentPage](/ad-manager/api/reference/v202408/AdjustmentService.TrafficForecastSegmentPage) [createTrafficForecastSegmen...](/ad-manager/api/reference/v202408/AdjustmentService#createTrafficForecastSegments \"createTrafficForecastSegments()\") [updateTrafficForecastSegmen...](/ad-manager/api/reference/v202408/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/v202408`\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/v202408/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/v202408/AdjustmentService.DateTime)` ` The date and time that the TrafficForecastSegment was created. This attribute is read-only. |"]]