Appodeal ad not showing

local appodeal = require( "plugin.appodeal" ) local function adListener( event ) for k,v in pairs( event ) do print( k, v ) end print( "No ads", system.getTimer() ) end appodeal.init( adListener, { appKey="appkey", testMode=true} ) --local composer = require( "composer" ) --composer.gotoScene("start")

figure out why you’re not getting an init response first.

Because the gotoscene should be on top ?

The console.log isn’t printing anything .

Then you have a mystery.

  1. Have you ever had this working?

  2. Have you run the example with your credentials?

https://github.com/coronalabs/plugins-sample-appodeal

  1. When you run the sample with your credentials does it work?

I think it’s because I used the wrong app key . I used my api key instead . The problem is , I don’t have an app in the app store so how am I suppose to get an appkey ?

I can’t help you with that.

Are you telling me you haven’t registered with AppoDeal yet?

If you haven’t registered with AppoDeal and gotten credentials yet, then this whole thread has been a waste of time.

This is STEP #1 right on the first page of the plugin docs:

https://docs.coronalabs.com/plugin/appodeal/index.html#registration

Registration

Before you can use this plugin, you must register with Appodeal.

I did register with them .

I got this error :

Oops !
You sent request from invalid bundle_id .
Please , make sure that app bundle_id matches what you have setup in dashboard .

Let’s back up…

I still want an answer for each of these questions:

  1. Have you ever had this working?

 

  1. Have you run the example with your credentials?

https://github.com/coronalabs/plugins-sample-appodeal

 

  1. When you run the sample with your credentials does it work?

  2. Have you ever had this working?

 

  1. Have you run the example with your credentials?

https://github.com/coronalabs/plugins-sample-appodeal

 

  1. When you run the sample with your credentials does it work?

No this is my first time testing this out . 

No I did not run that example with my credentials . Do I have to ?

Question #4 - If you don’t have a valid bundle ID, how did register your app with AppoDeal?

You can’t register your app till it is in the store(s).  It may also have to be published.

ohh well I guess that’s the problem . I don’t have a valid bundle id .

Are you kidding?  You’ve never used this and just expected to figure it out, and yet you didn’t even try the example first?

Yes, try your credentials with the demo FIRST.  This is learning and debugging 101.

If you get the sample to work with your credentials, then you know:

  1. Your credentials are good.

  2. The version of  the plugin + Corona you are using are working.

  3. You have something to compare your code to.

This is incredibly fundamental.

Really, you should still try your credentials with the demo.  Maybe, just maybe you’ll get some useful output.

but how will i do it without my app being in the google play store

Whatever the rules may be you at least need a valid bundle ID, and it seems AppoDeal is looking for it in the stores (based on the message you posted above)

Which app store?

Actually, I have to roll back… a little here.  Why are you monetizing your app?  I suggest you just release the app or game for free w/ no ads.

How will I monetize it ?