0

I use Facebook ads (via the latest FB SDK for Android) in my Android app. Ads are working perfectly but there is one problem: customer whants to add additional tracking on ad clicks, so I need to get some callbacks when user clicks the ad.

Does anyone know how I can achieve that?

Thanks.

Alex
  • 1,319
  • 3
  • 15
  • 33
  • Are you referring to ads within your app via FB's Audience Network? https://developers.facebook.com/docs/audience-network – bjeavons Apr 09 '15 at 18:00
  • @bjeavons Yes. I use NativeAd class to load and to display ad. – Alex Apr 09 '15 at 18:25

1 Answers1

0
  1. Add AdListener object to NativeAd

    NativeAd.setAdListener(...)

  2. Use onAdClicked method

    public void onAdClicked(Ad ad) {...}

Alex
  • 1,319
  • 3
  • 15
  • 33