setBannerExtraParameter static method

void setBannerExtraParameter(
  1. String adUnitId,
  2. String key,
  3. String value
)

Sets an extra parameter to the banner with the specified adUnitId.

For example, pass "adaptive_banner" and "false" to this method as the key/value pair to disable Adaptive Banners for the specified [adUnitId.

Adaptive Banners

Implementation

static void setBannerExtraParameter(String adUnitId, String key, String value) {
  channel.invokeMethod('setBannerExtraParameter', {
    'ad_unit_id': adUnitId,
    'key': key,
    'value': value,
  });
}