type ApiException (v202411)

  • ApiException is a type of ApplicationException and can contain a list of various specific errors.

  • The errors contained within an ApiException can include issues with authentication, permissions, quotas, and server problems, among others.

  • There are specific dependencies listed for the SiteService, including methods for creating, retrieving, performing actions on, and updating sites.

  • The message field in an ApiException provides a string describing the error.


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

Field

ApplicationException (inherited)

message

xsd:string

ApiException

errors

  1. ApiError[]
    1. AdSenseAccountError
    2. ApiVersionError
    3. AuthenticationError
    4. CollectionSizeError
    5. CommonError
    6. EntityLimitReachedError
    7. FeatureError
    8. InternalApiError
    9. NotNullError
    10. NullError
    11. ParseError
    12. PermissionError
    13. PublisherQueryLanguageConte...
    14. PublisherQueryLanguageSynta...
    15. QuotaError
    16. RequiredCollectionError
    17. RequiredError
    18. ServerError
    19. SiteError
    20. StatementError
    21. StringFormatError
    22. StringLengthError
    23. UrlError