GoogleAdsError

  • A Google Ads-specific error includes fields like error_code, message, trigger, location, and optional details.

  • The error_code is an enum value identifying the specific error that occurred.

  • The message provides a human-readable description of the error.

  • The trigger field indicates the value that caused the error, while the location describes the part of the request proto where the error originated.

  • Additional details can be included for certain error codes, providing more specific information.

GoogleAds-specific error.

Proto definition

Fields

details

ErrorDetails

Additional error details, which are returned by certain error codes. Most error codes do not include details.

error_code

ErrorCode

An enum value that indicates which error occurred.

location

ErrorLocation

Describes the part of the request proto that caused the error.

message

string

A human-readable description of the error.

trigger

Value

The value that triggered the error.