enum TrafficForecastSegmentError.Reason (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Service
AdjustmentService
Error reason types for TrafficForecastSegmentError.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Enumeration |
Description |
CANNOT_UPDATE_TARGETING_AFTER_CREATION
|
Segment targeting cannot be changed after segment creation.
|
TARGETING_NOT_UNIQUE
|
The targeting expression that defines the segment is not unique
within the given network's segments.
The ID of the colliding segment will be provided in the
ApiError.trigger.
|
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version.
|
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\u003eTrafficForecastSegmentError outlines the reasons for errors encountered with traffic forecast segments in Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eErrors may arise from attempting to modify segment targeting after creation, using non-unique targeting expressions, or encountering unknown issues.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for TrafficForecastSegmentError is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eDetailed error information, including a potential colliding segment ID, is available via ApiError.trigger.\u003c/p\u003e\n"]]],["The `TrafficForecastSegmentError` enumeration details error types within the `AdjustmentService`. Key actions and information include error reason types: `CANNOT_UPDATE_TARGETING_AFTER_CREATION`, indicating that segment targeting is immutable post-creation; `TARGETING_NOT_UNIQUE`, signaling non-unique targeting expressions with a provided colliding segment ID; and `UNKNOWN`, representing unexposed values. These are part of the `https://www.google.com/apis/ads/publisher/v202411` namespace.\n"],null,["# enum TrafficForecastSegmentError.Reason (v202411)\n\n**Service** \n**AdjustmentService** **Dependencies** \n[TrafficForecastSegmentError](/ad-manager/api/reference/v202411/AdjustmentService.TrafficForecastSegmentError) \n▼\n**TrafficForecastSegmentError...**\n\nError reason types for [TrafficForecastSegmentError](/ad-manager/api/reference/v202411/AdjustmentService.TrafficForecastSegmentError).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Enumeration | Description |\n|------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `CANNOT_UPDATE_TARGETING_AFTER_CREATION` | Segment targeting cannot be changed after segment creation. |\n| `TARGETING_NOT_UNIQUE` | The targeting expression that defines the segment is not unique within the given network's segments. The ID of the colliding segment will be provided in the [ApiError.trigger](/ad-manager/api/reference/v202411/AdjustmentService.ApiError#trigger). |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]