enum StringFormatError.Reason (v202411)

  • This page documents the StringFormatError.Reason enumeration for the Google Ad Manager API.

  • StringFormatError.Reason defines the reasons for a target error occurring within the TargetingPresetService.

  • The enumeration includes reasons such as ILLEGAL_CHARS for disallowed characters and INVALID_FORMAT for invalid input.

  • Developers can use this information to understand and handle errors related to string formatting in TargetingPresetService operations.

The reasons for the target error.


Namespace
https://www.google.com/apis/ads/publisher/v202411
Enumeration Description
UNKNOWN
ILLEGAL_CHARS The input string value contains disallowed characters.
INVALID_FORMAT The input string value is invalid for the associated field.