Hi, I’m looking for some way to tell if an ad has been clicked. Is there any way to achieve this in corona? Any help would be appreciated. [import]uid: 109535 topic_id: 24117 reply_id: 324117[/import]
I’ve asked about this and at least with Inneractive, there isn’t as far as I’m aware. I requested that Inneractive implement a callback but who knows how long that might take. You can’t put an invisible object over an ad to detect an incoming touch because the Ansca ad window makes itself the frontmost object.
I can’t use Inneractive ads without a callback because clicking on them does not immediately open mobile Safari, which pauses an active game.
If you write your own house ad routine, with its own listener, then detecting a click is not a problem. [import]uid: 1560 topic_id: 24117 reply_id: 97324[/import]
Hey thanks for the reply. I had a look at the guide that came with the IOS sdk download from inneractive. It says it is able to return a number of useful events using NSNotificationsCentre. IaAdFailed, IaAdClicked etc. But I assume we don’t have access to those events in the corona version right?
I’m not sure what you mean by a house ad routine. Do you know anybody who has done this in corona?
I hope you’ve found a decent solution/alternative for your own apps. I can appreciate that most developers don’t require this event to be fired, but it is crucial for my current app. [import]uid: 109535 topic_id: 24117 reply_id: 97441[/import]
If you want to run house ads along with other ad networks, try AdMediator:
http://developer.anscamobile.com/code/ad-mediator-corona
It’s pretty good but it seems to interfere with a Twitter intent URL I was trying to use.
I opted to implement Inmobi but I’m hoping Ansca will roll out native support for AdMob. [import]uid: 1560 topic_id: 24117 reply_id: 97452[/import]
Thanks for the tip. Did this solve the issue for you? Does ad mediator have a function to tell when the ads are clicked? [import]uid: 109535 topic_id: 24117 reply_id: 97457[/import]
Yes. It uses a regular Corona listener event function to handle clicks and ad calls. I didn’t need this though since it opens ads in mobile Safari, which triggers a system pause event in the calling app. The problem I had was specifically with Inneractive ads, which place an overlay over the game screen without pausing the underlying game. [import]uid: 1560 topic_id: 24117 reply_id: 97527[/import]