how to add a transaction ID to minimize duplicate conversions

35 views
Skip to first unread message

revanth kolluru

unread,
Aug 8, 2020, 1:20:21 AM8/8/20
to AdWords API and Google Ads API Forum
Hi team,

I'm using java sdk(com.google.api-ads)  for uploading offline conversions, but the problem is I'm getting a repeat rate of conversions as ~1.5 which is not possible(it is happening because the conversion value get updated frequently for the same transaction and it google ads is counting it as new transaction), so is there a way i can correlate a transaction id with each conversion ?

below is the sample code i'm using 


  OfflineConversionFeed feed = new OfflineConversionFeed();
feed.setConversionName(conversionName);
feed.setConversionTime(conversionTime);
feed.setConversionValue(conversionValue);
feed.setGoogleClickId(gClid);

OfflineConversionFeedOperation offlineConversionOperation =
new OfflineConversionFeedOperation();
offlineConversionOperation.setOperator(Operator.ADD);
offlineConversionOperation.setOperand(feed);

OfflineConversionFeedReturnValue offlineConversionReturnValue = null;
try {
offlineConversionReturnValue = offlineConversionFeedService
.mutate(new OfflineConversionFeedOperation[] {offlineConversionOperation});
} catch (RemoteException e) {
log.error("RemoteException while sending update to google, message : {}",e.getMessage());
log.error(ExceptionUtils.getStackTrace(e));
return false;
}catch (Exception e) {
log.error("Exception while sending update to google, message : {}",e.getMessage());
log.error(ExceptionUtils.getStackTrace(e));
return false;
}

Google Ads API Forum Advisor Prod

unread,
Aug 10, 2020, 3:06:24 PM8/10/20
to kolluru...@gmail.com, adwor...@googlegroups.com
Hi Revanth,

Thank you for reaching out! In order for me to further investigate this issue, can you please provide your customerClientId as well as the complete detailed logs of the request and response? You can enable logging by following this guide. Please ensure that you provide these details via the Reply privately to author option in order to protect any sensitive data. If this option is not available to you, you can send this information to us directly at googleadsa...@google.com.

Regards,
Danica, Google Ads API Team

ref:_00D1U1174p._5004Q23IeHE:ref

revanth kolluru

unread,
Sep 18, 2020, 9:36:53 AM9/18/20
to AdWords API and Google Ads API Forum
Reply privately to author is not working

Google Ads API Forum Advisor Prod

unread,
Sep 18, 2020, 2:27:53 PM9/18/20
to kolluru...@gmail.com, adwor...@googlegroups.com
Hi Revanth,

I am able to open the logging guide on my end with no issues. If possible, please try refreshing or open the link in an incognito window. I will post the URL below so that you can copy and paste it if you still need it:

https://developers.google.com/google-ads/api/docs/client-libs/java/logging

As for the sending the logs/other requested details, you can send this information directly to our support alias at googleadsa...@google.com

Regards,
Google Logo
Danica
Google Ads API Team
 


ref:_00D1U1174p._5004Q23IeHE:ref
Reply all
Reply to author
Forward
0 new messages