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

Native Development

Reply
Developer
Posts: 248
Registered: ‎11-22-2011
My Device: Blackberry Playbook
My Carrier: vodafone
Accepted Solution

Advertising Service Example

Hi,

i just try to use the Advertising Service for one of my app. I followed the instructions provided in the documentation here but the link to sampleApp is broken.

When i add "import bb.cascades.advertisement 1.0" to my qml file, i get an  "bb.cascades.advertisement is not installed error".  So what am i missing here? Does someone have a working example (QML)? Thanks!

 

Developer
Posts: 889
Registered: ‎08-31-2009
My Device: 9530, 9630, 9800, 8530, 9900, 9810, 9930, PlayBook, Dev Alpha
My Carrier: Verizon

Re: Advertising Service Example

You may need to add a reference in the .pro file


Read my thoughts on BlackBerry Development at news.ebscer.com
Developer
Posts: 262
Registered: ‎07-13-2012
My Device: PlayBook, DA B, DA C, LE Z10 #102, Q10, Z30
My Carrier: T-Mobile

Re: Advertising Service Example

I did a write up on in, here you go: http://bbcascadescode.tumblr.com/post/33665674393/blackberry-ad-services-for-cascades

 

-Brian

---
Check out my BB10 Cascades Coding site: BBcascades.com & Cascades Blog: bbcascadescode.tumblr.com

My Built for BlackBerry app: The Dive Plan
Developer
Posts: 248
Registered: ‎11-22-2011
My Device: Blackberry Playbook
My Carrier: vodafone

Re: Advertising Service Example

Great, thanks, Brian and Ebscer.