keitaro3660: you did not explain your problem.
After some days, with 20000 impressions: eCPM = 0.50$
keitaro3660: you did not explain your problem.
After some days, with 20000 impressions: eCPM = 0.50$
You need to implement AdEventListener
what…?
didn’t you see i attach my code picture there in the post above???
how? @@
where i should put it? @@
@Override
public void onCreate() {
super.onCreate();
AndroidSDKProvider.initSDK(this);
AdPreferences adPreferences =
new AdPreferences(“104546727”, “205848147”, AdPreferences.TYPE_INAPP_EXIT);
htmlAd = new HtmlAd(this); htmlAd.load(adPreferences, null);} @Override public void onBackPressed() { if(htmlAd != null) { htmlAd.show(); } super.onBackPressed(); }
No sorry, there is not picture, at least with my browser.
If you don’t know how to create a listener you had better go and study a bit of Java and Android
Anyway, this is the code, automatically generated with eclipse:
htmlAd.load(adPreferences, new AdEventListener() {
@Override
public void onReceiveAd(Ad arg0) {
// TODO Auto-generated method stub
}
@Override
public void onFailedToReceiveAd(Ad arg0) {
// TODO Auto-generated method stub
}
});
okay no problem
hummm i only learned android dev via tutorial, i’m not a complete newbie, but yeah i think i never used that type of code before, so still confusing.
is this the place??
private HtmlAd htmlAd = null; @Override public void onCreate() { super.onCreate(); AndroidSDKProvider.initSDK(this); AdPreferences adPreferences = new AdPreferences("104546727", "205848147", AdPreferences.TYPE_INAPP_EXIT); htmlAd = new HtmlAd(this); htmlAd.load(adPreferences, null); htmlAd.load(adPreferences, new AdEventListener() {
@Override public void onFailedToReceiveAd(Ad arg0) { // TODO Auto-generated method stub
@Override public void onReceiveAd(Ad arg0) { // TODO Auto-generated method stub public void onBackPressed() { if(htmlAd != null) { htmlAd.show(); } super.onBackPressed(); }} );
but it still got errors
Can someone else report their earnings with Startapp Exit ads? Also I asked earlier if there is a way to stop exit ads from dashboard if we don’t want it and can enable it later rather than updating the app everytime?
Anyone knows
yeah full code here
impressions 2000
ecpm $0.95
how? @@
where i should put it? @@
public class YourClass extends Activity implements AdEventListener{
15k impressions, eCPM $.037, earnings $5.69
Gonna give it a few more days, but at this rate I am not going to be using StartApp’s exit ad any more.
I’m pretty sure you can’t do that. The Exit ad is just like any other interstitial with other networks.
I would help you if I could see, but unfortunately I still cannot see absolutely anything attached to your message… sorry.
There are two ways to implement listeners: either you implement them on the fly, defining the methods that should be called, like I did (try to press CTRL-SPACE inside eclipse and all the code that I pasted should be directly suggested), or you “implement” the listeners into your activity and then declare that your activity is the reference to call those listeners, like rixchow suggested.
But unfortunately without seeing the errors I cannot help you much more. BTW, the loadAd method works also without implementing any listener.
One thing: in your code you didn’t delete the line
htmlAd.load(adPreferences, null);
try deleting it.
For other hints, I strongly suggest you Stack Overflow
hmmm ok2 i will try it first
My eCPM´s is awful
impressions 5,681
eCPM $0.22
Total earnings $ 1.24
I thought it would be more money for 5k impressions… The app is targeted to south america. What do you say?
Yeah crap eCPM here too, but a bit better than yours at $0.34