Search code examples
androidgoogle-ads-apiconversion-tracking

Adwords conversion tracking doesn't work


I use following code to track a conversion:

AdWordsConversionReporter.reportWithConversionId(
                this.getApplicationContext(),
                "xxxxxxxxxx", "xxxxxxxxxxxxxxxxxx", "0.00", true);

It doesn't show any conversions in Adwords. It was working fine since my last update of the app. I rechecked conversionId and Label. They are correct. BTW, I added this code in onResume() of one of my activities.

And is there any other way to test it before production (Probably with adb)?

Edit:

I could see this message logged at info level:

09-29 15:37:34.061: I/GoogleConversionReporter(3757): Pinging: https://www.googleadservices.com/pagead/conversion/1007040578/?bundleid=com.xxxxxxxx&appversion=3.1.0&osversion=4.2.1&sdkversion=ct-sdk-a-v2.1.0&gms=1&lat=0&timestamp=1411988.853&auto=1&usage_tracking_enabled=1&rdid=xxxxxxxxxxxxxxxxx

Solution

  • There was no error, Just that it was taking time to update in dashboard.