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
Developer
Posts: 78
Registered: ‎12-12-2012
My Device: playbook
My Carrier: free

ad service with opengl game

Hello,

 

can I use native ads service library with my native c++/opengl game?

Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: ad service with opengl game

You can, check out this sample:

https://github.com/blackberry/NDK-Samples/tree/master/AdSample

Garett
@garettBeuk
--
Goodbye everybody!
Developer
Posts: 78
Registered: ‎12-12-2012
My Device: playbook
My Carrier: free

Re: ad service with opengl game

Ok,

 

I will test with my opengl game. Playbook support is not planned?

Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: ad service with opengl game


TobyKaos wrote:

Ok,

 

I will test with my opengl game. Playbook support is not planned?


No, there won't be any added support for official ad services for PlayBook.

Garett
@garettBeuk
--
Goodbye everybody!
Developer
Posts: 78
Registered: ‎12-12-2012
My Device: playbook
My Carrier: free

Re: ad service with opengl game

I have tried and ads crash when I call bbads_banner_create in my opengl game.

On android or ios we must create a view. Are they a such feature?
Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: ad service with opengl game

No such feature. Does the sample ad service crash for you as well?

Garett
@garettBeuk
--
Goodbye everybody!
Developer
Posts: 78
Registered: ‎12-12-2012
My Device: playbook
My Carrier: free

Re: ad service with opengl game

 the sample works well bu do not use an EGLSurface.

Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: ad service with opengl game

I wouldn't recommend investing a large amount of effort into the current Ad Service, it requires a fair amount of modification at the API and service level in order to provide more desirable results. At this point even if able to be implemented the adverts would be much smaller than expected without an easy way to scale, and lower than expected fill/eCPM.

Garett
@garettBeuk
--
Goodbye everybody!
Developer
Posts: 78
Registered: ‎12-12-2012
My Device: playbook
My Carrier: free

Re: ad service with opengl game

ok, I will concentrate on other stuff. (adding game pad...)