Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
04-22-2013 02:28 PM - edited 04-22-2013 02:29 PM
Hi Erik, I followed the implementation and example on github....
Ripple is displaying this error in config.xml
rim : permit value is not recognized as being valid it was
I copied community.deviceinfo folder into the webworks/framework/ext directory.
<rim : permissions>
<rim : permit>read_cellular_data</rim : permit>
</rim : permissions>
04-22-2013 06:34 PM
Hi J4y, you can ignore that warning/error. It's not a standard permission yet but we're looking to get it recognized. It is required though in order for the community API to function.
04-22-2013 07:35 PM
Just to confirm, I only need to provide the zone id correct? I think it's working, I can see in the console that there is some error, no ad available, but I don't see anything on the ad service portal, it should show some requests. I turned off the testing flag. May be the ad service is not updated near real time.
04-22-2013 09:25 PM - edited 04-22-2013 09:33 PM
Re: ripple - that makes sense.
Having issue here "no ads available" when using my zoneId. I setup my app and zone, and selected all categories to be safe. Tried with both test 0/1.
Here is the console output:
04-22-2013 10:50 PM
I have seen the adservices logging my requests, hopefully I'll see some served ad soon.
04-23-2013 01:24 PM - edited 04-23-2013 01:26 PM
Hi all, regarding the fill-rate (i.e. when does an ad actually get shown), it's still fairly low. The community implementation works through the same service as BBOS so technically the fill-rate should be very similar.
I can't guarantee the details as the Mocean Ad Request service is external to BlackBerry, but here's what I've gathered so far. Mocean will require roughly one thousand requests before it will consider displaying an ad. When the ad request is made, the request goes to Mocean, who then relay that request to all of their various ad providers. Those ad providers decide whether or not they want to display an ad; each time an ad is displayed, they need to make a payment. Their criteria may include:
1) How many unique locations ad requests are coming from for a particular zone id; and
2) The volume of requests coming in.
Basically, an application with wider-spread usage will have a higher chance of displaying ads since it appears more "popular". If just one app instance is requesting ads, there will be very little fill rate. Because of this, think of the advertising service as another potential revenue stream, but don't count on it as your primary source of revenue.
Again, the above is the best I could gather regarding the process, but the information is not confirmed. Our services teams are working on increasing the fill-rate across all platforms for our official ad SDK. Because this API used the same web service, I am expecting to see positive results as well once those fill-rates increase. If not, we can investigate more deeply as to what is missing in order to mimic that same request.
In the meantime, I would advise expecting to rely on the "default" ad image / URL / HTML to be served.
EDIT: On an error of no ads being available, does the default ad not show up either? The intent was that it should.
04-23-2013 02:03 PM - edited 04-23-2013 02:12 PM
Thanks for the insight into mOcean, good to know and we would not find this out on our own I'm sure.
Regarding my issue of no ads -
In Ripple -
the default mOcean logo does not appear when using my ZoneID, it does show my fallback image/Url.
Remote Web Inspector on the page calling advertising.js - indicates this
"ReferenceError: Can't find variable: blackberry "
(does not refer to any .js file/line reference)
04-23-2013 02:12 PM
@J4y: Just to confirm, have you included the webworks.js script?
Also, are you waiting for the webworksready event before calling the API? Ripple creates its own instance of the blackberry object which is why it would work there, if it's not working on the device the above would seem the most likely culprit.
04-23-2013 02:24 PM - edited 04-23-2013 02:59 PM
Hi Erik, nice quick reply.
I did not include webworks.js as you indicated. Including that alleviates the blackberry issue above and the mOcean test logo appears. (test 1) If set to test to 0 my fallback url/image is displayed too.
So based on what you indicated about mOcean calls, what I have in place is now functioning (no way to view real ads until app is installed by large user base?)