Stay organized with collections
Save and categorize content based on your preferences.
Since theExperimentService contains a few
asynchronous operations, the mechanism for fetching errors related to these
operations is different than for other synchronous operations.
The asynchronous operations that use this error reporting mechanism are:
For these methods, the API returns a longrunning
operation
which you can use to request details on the status of the asynchronous
operation. Upon completion, the longrunning operation will populate the error
and response fields. In the Google Ads API, the operation will always populate the
response with an Empty value, and the presence of error will indicate
that a full list of errors can be retrieved from another API call.
If the full list of errors were returned as part of the longrunning operation,
then there's a chance the errors might be lost if you don't follow up on the
asynchronous progress, and the response may be larger than you might expect
from a simple polling request. Therefore, the longrunning operation will only
indicate that there are errors, and to fetch the specific errors you must use
an API endpoint.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[[["The `ExperimentService` uses a different error reporting mechanism for its asynchronous operations like scheduling and promoting experiments."],["Asynchronous operations return a longrunning operation; check its `error` field to see if errors occurred during the operation."],["To retrieve the full list of errors for an asynchronous experiment operation, use the `ExperimentService.ListExperimentAsyncErrors` method with the experiment's resource name."],["Instead of including all errors in the initial response, this approach prevents potential data loss and keeps response sizes manageable."]]],[]]