bbads_banner_load()

Load the ad banner and begins requesting ads.

Synopsis:

#include <bbads/bbads.h>
 
bbads_error_t bbads_banner_load(bbads_banner_t *banner)

Since:

BlackBerry 10.0.0

Arguments:

banner

The bbads_banner_t* as created in the call to bbads_banner_create().

Library:

libbbads

Description:

Use this function to start loading ads. Ads are supplied by the ad networks that you specify in the Advertising Service web portal.

Returns:

  • BBADS_EOK on success.
  • BBADS_EBANNER if the bbads_banner_t* provided is invalid.
  • BBADS_ESTATE if the banner has already been loaded.