Callback from onClickAd event on Android?

Hi,

I saw some older threads about this but didn’t really find an answer…

I’m using inneractive ads and when watching the system logs with android debug monitor I see that inneractive component seems to be writing entries to log (tag=inneractive, text=onClickAd) when user clicks on ad.

Can I get somehow get a notification back to my own code from the ads library when a user clicks on an ad? And if not today, could it be possible that such a feature would be added in the near future?

-t

ps. Transparent overlay component on top of the ad area doesn’t seem to work as the ad is outside the object hierarchy I can reach…

I don’t use inneractive but I assume there is probably some kind of listener function associated with the clicks (an ad listener perhaps)?  If so, you should just be able to insert your own code there to do what you want.  

There is a way to register a listener function with the ads.init(…), but that listener get’s called only on events related to initialization. Then when there is actually something happening in the ad area created with ads.show(…) (ad fecthed, or clicked) my listener does not get those events.

Looking at the system logs with android debug monitor it looks like the inneractive component could be ready to send out events, but I don’t see a way to register a listener to get those events via Corona ads library. Inneractive’s own android SDK seems to have options to get notifications about events, but it looks like that feature is lost when Corona Ads library is in the middle.

Ahh, I see.  Sorry I’m not sure how to go about listening for clicks.  I wonder if the ads.show takes a param of optional options, and if it possible to register your own event listener there?  I doubt it, but might be worth a try.  

I don’t use inneractive but I assume there is probably some kind of listener function associated with the clicks (an ad listener perhaps)?  If so, you should just be able to insert your own code there to do what you want.  

There is a way to register a listener function with the ads.init(…), but that listener get’s called only on events related to initialization. Then when there is actually something happening in the ad area created with ads.show(…) (ad fecthed, or clicked) my listener does not get those events.

Looking at the system logs with android debug monitor it looks like the inneractive component could be ready to send out events, but I don’t see a way to register a listener to get those events via Corona ads library. Inneractive’s own android SDK seems to have options to get notifications about events, but it looks like that feature is lost when Corona Ads library is in the middle.

Ahh, I see.  Sorry I’m not sure how to go about listening for clicks.  I wonder if the ads.show takes a param of optional options, and if it possible to register your own event listener there?  I doubt it, but might be worth a try.