type ApiException (v202411)

  • The ApiException class is used to hold a list of service errors that may occur within the Google Ad Manager API.

  • It inherits from the ApplicationException class and includes a list of potential errors that can occur, ranging from authentication issues to data format problems.

  • The errors contained in an ApiException can provide valuable insight for troubleshooting and resolving issues encountered when interacting with the Google Ad Manager API.

  • Developers can use the error information to identify the source of problems and implement corrective measures in their applications.

Exception class for holding a list of service errors.


Namespace
https://www.google.com/apis/ads/publisher/v202411

Field

ApplicationException (inherited)

message

xsd:string

Error message.

ApiException

errors

  1. ApiError[]
    1. ApiVersionError
    2. AuthenticationError
    3. CollectionSizeError
    4. CommonError
    5. EntityChildrenLimitReachedE...
    6. EntityLimitReachedError
    7. FeatureError
    8. InternalApiError
    9. NotNullError
    10. NullError
    11. ParseError
    12. PermissionError
    13. PlacementError
    14. PublisherQueryLanguageConte...
    15. PublisherQueryLanguageSynta...
    16. QuotaError
    17. RangeError
    18. RegExError
    19. RequiredCollectionError
    20. RequiredError
    21. ServerError
    22. StatementError
    23. StringFormatError
    24. StringLengthError
    25. TypeError
    26. UniqueError

List of errors.