GoogleAdsError

  • GoogleAds-specific error describes a Google Ads error with detailed fields.

  • Fields include error_code, message, trigger, location, and optional details.

  • error_code uses an enum value to indicate the specific error type.

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

  • trigger identifies the value that caused the error, while location describes where in the request the error occurred.

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.