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

Web and WebWorks Development

Posts: 12
Registered: ‎06-04-2013
My Device: Z10
My Carrier: Vodafone

DoubleClick ads served via JavaScript in iframe

Using WebWorks i am building an app which has DoubleClick advertising.


The JavaScript for this works fine on the website but when i build to mobile with WebWorks the iframe content does not appear to be loaded.


I am wondering if it is simply the ascynchronous nature of the way that Doubleclick loads the adverts as i have an iframed video from another source that is hard coded which works fine.


Quite frustrating!



Posts: 1,561
Registered: ‎04-12-2010
My Device: BlackBerry Z10
My Carrier: Bell

Re: DoubleClick ads served via JavaScript in iframe

Have you white-listed the external URLs via <access> elements within your config.xml?


Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.
Posts: 1,230
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

Re: DoubleClick ads served via JavaScript in iframe

We had a problem with this a few months ago - ads in general


Have you considered trying the extension?


It doesn't use doubleclick but is an effective alternative using the proper BB ad networks


If you look at the stickys it's towards the bottom


Surprised you didn't mention this one yourself Erik

Click the like button if you find my posts useful!