GoogleAdsError

  • GoogleAds-specific error refers to errors that occur within the Google Ads platform.

  • An error object contains fields like error_code, message, trigger, location, and details.

  • Each field provides specific information about the error, such as the type of error, a description, the value that caused it, and its location in the request.

  • The details field provides additional information for certain error codes but is not always included.

GoogleAds-specific error.

Fields

error_code

ErrorCode

An enum value that indicates which error occurred.

message

string

A human-readable description of the error.

trigger

Value

The value that triggered the error.

location

ErrorLocation

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

details

ErrorDetails

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