over 3 years ago

-- Updated 2014-07-04 --
If you downloaded the sample project yesterday, you need to re-download the project.
This version fix the "applicationUI.hpp" can't be found problem.
And, don't forget this or your will got an erro of "cannot find -lSmaatoSDKDevice"
The Smaato static library included within the sample is from Smaato SDK for BlackBery 10 v1.1.2. To ensure you are running the latest, please download the latest SDK for Smaato's website and replace the SmaatoSDK folder within the project.

BlackBerry announced Smaato as their new Advertisement service partner on BlackBerry 10.
I've used Smaato in my apps for a long time (since 2013/10, after Jam Asia).

Let's see how to integrated Smaato SDK into your Cascades apps!

1. Read the introduction about Smaato!

http://devblog.blackberry.com/2014/07/smaato/

2. Download the Smaato sample project from BlackBerry Github

https://github.com/blackberry/Cascades-Community-Samples/tree/master/SmaatoAdSDKSample

3. Download the Smaato SDK

http://www.smaato.com/sdks/

<1> You need to sign up or login first


<2> Go to SDK Download page


<3> Select BlackBerry 10 SDK and download it!

<4> Check the downloaded folder and extract the file "Smaato-SmaatoSDK-BB10-v1.1.3-2014-07-02-A.zip"


<5> Copy the "SmaatoSDK" folder and replace the SmaatoSDK folder within the project.


4. Build the project and see how the AD works!


5. Input your own adSpaceId and publisherId and check the advertisements in your apps!

That's it! Actually it is really an easy way to put Ads in your apps.
You can also add more filters/ restrictions to help they provide much more precisely ads for your apps.

Sometimes due to the fillrate or regional issue, you may not receive ads...
Don't worry, try to change the category of ads you'd like to show.

Enjoy this new AD Service on BlackBerry 10!

← How to check debug messages in Cascades? BB10 VS. iOS 8 VS. Android L, Let's compare! →
 
comments powered by Disqus