floatinghotpot / cordova-plugin-flurry

Cordova plugin to support Flurry (analytics and advertisement)
MIT License
19 stars 13 forks source link

Banner view doesn't show up, must set the Placement manually #7

Closed rahmadid closed 9 years ago

rahmadid commented 9 years ago

Hi, first of all, thanks for the great plugin :) I want to report a possible bug.

Problem: In my android app, the banner view didn't show up, I got these messages on Eclipse log:

09-23 14:17:06.158: W/Flurry(1468): executeRequestAd 09-23 14:17:06.158: W/Flurry(1468): fetchAd for TOP_BANNER, 1 09-23 14:17:06.578: E/FlurryAgent(1468): Ad server responded with the following error(s): 09-23 14:17:06.578: W/Flurry(1468): spaceDidFailToReceiveAd: TOP_BANNER 09-23 14:17:06.578: E/FlurryAgent(1468): Unknown Error 09-23 14:17:06.866: E/FlurryAgent(1468): Ad server responded with the following error(s): 09-23 14:17:06.866: E/FlurryAgent(1468): Unknown placement type in test ads 09-23 14:17:09.166: W/Flurry(1468): executeShowAd 09-23 14:17:09.166: W/Flurry(1468): fetchAd for TOP_BANNER, 1 09-23 14:17:09.462: E/FlurryAgent(1468): Ad server responded with the following error(s): 09-23 14:17:09.462: E/FlurryAgent(1468): Unknown Error 09-23 14:17:09.466: W/Flurry(1468): spaceDidFailToReceiveAd: TOP_BANNER 09-23 14:17:09.730: E/FlurryAgent(1468): Ad server responded with the following error(s): 09-23 14:17:09.730: E/FlurryAgent(1468): Unknown placement type in test ads

My solution: I had to go to Flurry website, opened the automatically-created "TOP_BANNER" ad space, then set the "Placement" field to "Banner Top" manually. Only then the banner view (and the ads) shows up.

Tested on: -Flurry SDK 4.0.0, installed from github using cordova CLI on 2014-09-20. -Flurry SDK 4.1.0, downloaded from Flurry website.

floatinghotpot commented 9 years ago

plugin re-written, should be fixed.