Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

BlackBerry Advertising Service

Reply
Regular Contributor
fgoyti
Posts: 70
Registered: ‎06-15-2011
My Carrier: Bell Canada

Ads on the Playbook with WebWorks

I recently found out that the ADs API is not supported on the Playbook with WebWorks.  That's too bad and I hope they are working on it. 

 

In the meantime, has anyone had any experience with an Ad network that would be suitable for use with WebWorks? I tried one yesterday which gave me a javascript code, but as expected, it doesn't launch the browser.  Instead, it *replaces* my app with the target Ad.  (since clicking a link in a WebWorks app changes your app's page, not opens in a browser)

 

Looking for advice here.  If anyknow knows when the WebWorks API code will be released, that would be very much appreciated as well

 

Thanks

Please use plain text.
New Developer
ideanesia
Posts: 11
Registered: ‎07-04-2011
My Carrier: TSEL

Re: Ads on the Playbook with WebWorks

Me too, I'm looking for Ads model business over Playbook and BB10?

Any help here? Thanks before/

Please use plain text.
Regular Contributor
fgoyti
Posts: 70
Registered: ‎06-15-2011
My Carrier: Bell Canada

Re: Ads on the Playbook with WebWorks

I gave up trying after I used an html ad and ran into the problem of clicking. It opens the ad in the same screen as the webworks app instead of a new window/browser. So the app is replaced by the ad with no way to get back
Please use plain text.
BlackBerry Development Advisor
gbeukeboom
Posts: 1,940
Registered: ‎10-16-2009
My Carrier: Bell

Re: Ads on the Playbook with WebWorks

Have you tried LeadBolt? http://www.leadbolt.com/

 

You will need to know the URL the ads are being served from so you can white-list approproately.

Garett Beukeboom
BlackBerry Development Advisor
Developer Zone
@garettbeukeboom

--
Think of a great new feature? Find a bug?
Log and track them using the Developer Issue Tracker
Please use plain text.
Contributor
n-dev
Posts: 45
Registered: ‎12-27-2011
My Carrier: None

Re: Ads on the Playbook with WebWorks

gbeukeboom: can you give us some info on how to capture the banner click and direct it to a browser instance?

 

instead of it taking over the webview as mentioned earlier in the tread

 

Please use plain text.
BlackBerry Development Advisor
gbeukeboom
Posts: 1,940
Registered: ‎10-16-2009
My Carrier: Bell

Re: Ads on the Playbook with WebWorks

You can use target=”_blank” in the <a>, this should open the link in the browser currently.

Garett Beukeboom
BlackBerry Development Advisor
Developer Zone
@garettbeukeboom

--
Think of a great new feature? Find a bug?
Log and track them using the Developer Issue Tracker
Please use plain text.
Contributor
Scott56
Posts: 19
Registered: ‎01-05-2013
My Carrier: Bell

Re: Ads on the Playbook with WebWorks

Find whatever part of your ad services javascript file that opens the link, and replace it with something like this: 

var args = new blackberry.invoke.BrowserArguments(obj.href);
    blackberry.invoke.invoke(blackberry.invoke.APP_BROWSER, args);

 with obj.href beink the link to open.

Please use plain text.
Developer
Zukka
Posts: 173
Registered: ‎05-08-2012
My Carrier: Vodafone

Re: Ads on the Playbook with WebWorks

[ Edited ]

Hello, I tried with leadbolt.
I downloaded the script and when I launch the app, the banner is displayed for 5 seconds and then disappears.
How do I hook it to the htm page?
If you want to place the code to be more clear ...

_______________________________________________

If U like my post click on LIKE :smileywink:
Please use plain text.