GoogleAdsError
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-25 UTC.
[null,null,["Last updated 2024-11-25 UTC."],[[["The `GoogleAdsError` object provides specific information about errors encountered when interacting with the Google Ads API."],["It includes fields like `error_code`, `message`, `trigger`, `location`, and `details` to help diagnose and resolve issues."],["`error_code` uses an enum to identify the type of error, while `message` offers a human-readable explanation."],["`trigger` pinpoints the value causing the error, and `location` identifies the problematic part of the request."],["`details` may provide extra information for specific error codes to aid in troubleshooting."]]],[]]