Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@ private void addTransactionsToOfflineUserDataJob(
userDataJobOperations.size(),
response.getPartialFailureError().getMessage());

// [START enable_warnings_2]
// Checks if any warnings occurred and displays details.
if (response.hasWarning()) {
// Converts the Any in response back to a GoogleAdsFailure object.
Expand All @@ -498,6 +499,7 @@ private void addTransactionsToOfflineUserDataJob(
System.out.printf(
"Encountered %d warning(s).%n", warningsFailure.getErrorsCount()));
}
// [END enable_warnings_2]
} else {
System.out.printf(
"Successfully added %d operations to the offline user data job.%n",
Expand Down