enum TrafficForecastSegmentError.Reason (v202502)

  • TrafficForecastSegmentError lists error reason types for issues with traffic forecast segments in the AdjustmentService.

  • Attempting to change segment targeting after creation will result in a CANNOT_UPDATE_TARGETING_AFTER_CREATION error.

  • A TARGETING_NOT_UNIQUE error occurs when the segment's targeting expression already exists within the network's segments.

  • The UNKNOWN value is returned when the actual error value is not available in the API version requested.

Error reason types for TrafficForecastSegmentError.


Namespace
https://www.google.com/apis/ads/publisher/v202502
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.