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
anditsung
Posts: 246
Registered: ‎09-30-2010
My Device: Z10, Onyx2
Accepted Solution

ads only show white space

Banner bannerAd = new Banner(ZoneId, null);
bannerAd.setMMASize(Banner.MMA_SIZE_EXTRA_LARGE);

add(bannerAd);

 

been add the application for 1 week but only show white space on the ads field.

 

is there a problem?

 

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

Re: ads only show white space

Hi anditsung,

 

There are a few reasons why this could happen:

1) Does the application have permission to access the Internet?

2) If there are no ads currently available then none will be displayed

 

For #2, this can happen occassionally. You can go into the Ad Services vendor portal and try to optimize the ad feeds for your application.

 

Also, are you using a production or test Zone ID?

Garett
@garettBeuk
--
Goodbye everybody!
Developer
anditsung
Posts: 246
Registered: ‎09-30-2010
My Device: Z10, Onyx2

Re: ads only show white space

1. Already set all permission to allow.
2. How to optimize? My ad feeds was read only mode

Im using production id on the app. It was zone id right?
Test zone id works fine. Can display ads
Retired
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10

Re: ads only show white space

There is a doc that walks through how to manage ad services through the web portal:

http://docs.blackberry.com/en/developers/deliverables/29369/

Garett
@garettBeuk
--
Goodbye everybody!
Developer
anditsung
Posts: 246
Registered: ‎09-30-2010
My Device: Z10, Onyx2

Re: ads only show white space

Read that before but still didnt help.
And my ad feeds configuration was on read-only mode.

I test my app using appid it works on simulator
But dont works on real device. Real strange
Retired
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10

Re: ads only show white space

To clarify, you can load real, non-test, ads in the simulator?

Garett
@garettBeuk
--
Goodbye everybody!
Developer
anditsung
Posts: 246
Registered: ‎09-30-2010
My Device: Z10, Onyx2

Re: ads only show white space

Yes using appid only. It show gameloft ads on the simulator but not works on real device. Real device just white space then the space become smaller. On simulator it will display the ads but only gameloft
Retired
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10

Re: ads only show white space

Does your current smartphone's plan include data? Can you use the BlackBerry Browsern when not connected to WiFi? If so, please private message me your zone ID and app ID and I can run some tests.

Garett
@garettBeuk
--
Goodbye everybody!
Developer
anditsung
Posts: 246
Registered: ‎09-30-2010
My Device: Z10, Onyx2

Re: ads only show white space

My smartphone cannot use browser when not connected to WiFi. But i try it with my friend device that include data plan the ads look same as on my device.
Sending you my id
Retired
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10

Re: ads only show white space

Thanks, I am investigating now and will reply as soon as I have further information.

Garett
@garettBeuk
--
Goodbye everybody!