floatinghotpot / cordova-plugin-flurry

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

Flurry Account #6

Closed scgrant327 closed 10 years ago

scgrant327 commented 10 years ago

How do we need to set up our Flurry Account to be able to use your plugin?

floatinghotpot commented 10 years ago

go to www.flurry.com, create an app for android, create an app for ios, copy both app key or publisher id.

no need to create ad unit, it will be automatically created when plugin request ad.

then see the example in the test/index.html.

scgrant327 commented 10 years ago

Ok, I think I got everything set up OK.

I'm using this code but my ad does not show, and I get no errors. How do I get the Interstitial ad to show up? Your comment says 'showAd' is only for banner ads.

function showFlurryAd() { if( window.plugins && window.plugins.Flurry ) { var am = window.plugins.Flurry; am.createInterstitialView( { 'publisherId': adId, }, function() { am.requestInterstitialAd( { 'isTesting':true }, function() { //am.showAd( true ); // it's for banner ad only }, function() { navigator.notification.alert('failed to request ad',null,"Flurry Fail","OK"); }); }, function() { navigator.notification.alert("Interstitial failed",null,"Flurry Fail","OK"); } ); } else { navigator.notification.alert("Flurry Not Found",null,"Flurry Ads","OK"); } }

On Fri, Sep 19, 2014 at 9:58 AM, Raymond Xie notifications@github.com wrote:

go to www.flurry.com, create an app for android, create an app for ios, copy both app key or publisher id.

no need to create ad unit, it will be automatically created when plugin request ad.

then see the example in the test/index.html.

— Reply to this email directly or view it on GitHub https://github.com/floatinghotpot/cordova-plugin-flurry/issues/6#issuecomment-56188547 .

scgrant327 commented 10 years ago

Got it to work...and display an ad.

Now, what if I want to filter the ads to only be ones that relate to my App. I added filters to the "INTERSTITIAL_MAIN_VIEW" Ad Space that was created, but I still see ads for other things besides the categories I selected.

On Fri, Sep 19, 2014 at 9:58 AM, Raymond Xie notifications@github.com wrote:

go to www.flurry.com, create an app for android, create an app for ios, copy both app key or publisher id.

no need to create ad unit, it will be automatically created when plugin request ad.

then see the example in the test/index.html.

— Reply to this email directly or view it on GitHub https://github.com/floatinghotpot/cordova-plugin-flurry/issues/6#issuecomment-56188547 .

floatinghotpot commented 10 years ago

you need ask flurry about this...