event.event

What is the event.event equal on ad failure?

Here are the two I got:

success - > event.event = onReceiveAd

tap -> onTapAd

failure - > ???

Sorry about that, for some reason the documentation file is not in the table of contents on the corona website. I will fix that up.

 

The event is ‘fail’

 

failure - > event.event = fail

 

http://docs.coronalabs.com/daily/plugin/tapfortap/setAdViewListener.html

Just to be sure, because in the docs you have:

success - > event.event = receive

tap -> onTapAd = tap

This two are wrong in the docs ?

Yep the docs are wrong. The events are as follows:

onReceiveAd

onFailedToReceiveAd

onTapAd

I will update the docs ASAP. Thanks for bringing this to my attention and sorry for any confusion.

My apologies, on closer inspection there was actually a naming mismatch between the Android and iOS versions of the event. I have fixed the bug and will push a new release. The fail event is:

onFailToReceiveAd

Sorry about that, for some reason the documentation file is not in the table of contents on the corona website. I will fix that up.

 

The event is ‘fail’

 

failure - > event.event = fail

 

http://docs.coronalabs.com/daily/plugin/tapfortap/setAdViewListener.html

Just to be sure, because in the docs you have:

success - > event.event = receive

tap -> onTapAd = tap

This two are wrong in the docs ?

Yep the docs are wrong. The events are as follows:

onReceiveAd

onFailedToReceiveAd

onTapAd

I will update the docs ASAP. Thanks for bringing this to my attention and sorry for any confusion.

My apologies, on closer inspection there was actually a naming mismatch between the Android and iOS versions of the event. I have fixed the bug and will push a new release. The fail event is:

onFailToReceiveAd