Skip to content

Commit e38b28c

Browse files
committed
Remove usage of gclid in result processing for identifier-based upload
1 parent e80fb20 commit e38b28c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

google-ads-examples/src/main/java/com/google/ads/googleads/examples/remarketing/UploadConversionWithIdentifiers.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,10 @@ private void runExample(
200200
// Prints the result.
201201
ClickConversionResult result = response.getResults(0);
202202
// Only prints valid results.
203-
if (result.hasGclid()) {
203+
if (result.hasConversionDateTime()) {
204204
System.out.printf(
205-
"Uploaded conversion that occurred at '%s' from Google Click ID '%s' to '%s'.%n",
206-
result.getConversionDateTime(), result.getGclid(), result.getConversionAction());
205+
"Uploaded conversion that occurred at '%s' to '%s'.%n",
206+
result.getConversionDateTime(), result.getConversionAction());
207207
}
208208
}
209209
}

0 commit comments

Comments
 (0)