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;
}