type ApiException (v202411)

  • The CustomTargetingService allows you to create and manage custom targeting keys and values for ad delivery.

  • You can use this service to define criteria for targeting specific audience segments with your ads.

  • This service provides methods to create, update, retrieve, and perform actions on custom targeting keys and values.

  • The ApiException class provides details on any errors encountered when using this service.

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. CustomTargetingError
    6. EntityChildrenLimitReachedE...
    7. EntityLimitReachedError
    8. FeatureError
    9. InternalApiError
    10. NotNullError
    11. NullError
    12. ParseError
    13. PermissionError
    14. PublisherQueryLanguageConte...
    15. PublisherQueryLanguageSynta...
    16. QuotaError
    17. RequiredCollectionError
    18. RequiredError
    19. ServerError
    20. StatementError
    21. StringFormatError
    22. StringLengthError
    23. TypeError
    24. UniqueError

List of errors.