enum TrafficForecastSegmentError.Reason (v202411)

  • TrafficForecastSegmentError outlines the reasons for errors encountered with traffic forecast segments in Google Ad Manager.

  • Errors may arise from attempting to modify segment targeting after creation, using non-unique targeting expressions, or encountering unknown issues.

  • The namespace for TrafficForecastSegmentError is https://www.google.com/apis/ads/publisher/v202411.

  • Detailed error information, including a potential colliding segment ID, is available via ApiError.trigger.

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.