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.

inside custom component

BlackBerry Advertising Service

Reply
Regular Contributor
fgoyti
Posts: 70
Registered: ‎06-15-2011
My Device: Bold 9900
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 Device: 8520
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 Device: Bold 9900
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 (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
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
@garettBeuk
--
Goodbye everybody!
Please use plain text.
Contributor
n-dev
Posts: 45
Registered: ‎12-27-2011
My Device: Developer
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 (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
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
@garettBeuk
--
Goodbye everybody!
Please use plain text.
Contributor
Scott56
Posts: 22
Registered: ‎01-05-2013
My Device: Dev Alpha
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: 201
Registered: ‎05-08-2012
My Device: PlayBook 64 Gb and Z10 LE
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.