- [Resource: TrafficForecastSegment](https://developers.google.com/ad-manager/api/reference/rest/v1/networks.trafficForecastSegments.md.txt#TrafficForecastSegment)
  - [JSON representation](https://developers.google.com/ad-manager/api/reference/rest/v1/networks.trafficForecastSegments.md.txt#TrafficForecastSegment.SCHEMA_REPRESENTATION)
- [Methods](https://developers.google.com/ad-manager/api/reference/rest/v1/networks.trafficForecastSegments.md.txt#METHODS_SUMMARY)

## Resource: TrafficForecastSegment

An entity that defines a segment of traffic that will be adjusted or explored.

| JSON representation |
|---|
| ``` { "name": string, "targetedAdUnits": [ string ], "displayName": string, "targeting": { object (`Targeting`) }, "forecastAdjustmentCount": integer, "createTime": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The resource name of the `TrafficForecastSegment`. Format: `networks/{networkCode}/trafficForecastSegments/{trafficForecastSegmentId}` |
| `targetedAdUnits[]` | `string` Optional. The ad units that are targeted by the TrafficForecastSegment. |
| `displayName` | `string` Required. Name of the TrafficForecastSegment. This field must be unique among all segments for this network. |
| `targeting` | ``object (`Targeting`)`` Required. Immutable. The targeting that defines a segment of traffic. |
| `forecastAdjustmentCount` | `integer` Output only. The number of active forecast adjustments associated with the TrafficForecastSegment. |
| `createTime` | ``string (`Timestamp` format)`` Output only. The date and time that the TrafficForecastSegment was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |

| ## Methods ||
|---|---|
| ### `batchCreate` | Creates `TrafficForecastSegment` objects. |
| ### `batchUpdate` | Batch updates `TrafficForecastSegment` objects. |
| ### `create` | Creates a `TrafficForecastSegment` object. |
| ### `get` | Retrieves a `TrafficForecastSegment` object. |
| ### `list` | Lists `TrafficForecastSegment` objects. |
| ### `patch` | Updates a `TrafficForecastSegment` object. |