Skip to main content
Rectangular ad format (320x50) that occupies part of your app layout. Supported by most ad networks. Banner Example Pn

MREC Ads

Medium Rectangle format (300x250) with similar characteristics to banner ads. Mrec Example Pn

Creating Banner/MREC Components

  • Non-Reward
  • Reward
import { AdFormat, AdBannerView } from "react-native-daro";
import { Platform } from "react-native";

const BANNER_AD_UNIT_ID = Platform.select({
    ios: ${iOS unit Id},
    android: ${Android unit id},
    default: '',
});

<AdBannerView
  style={styles.bannerView} // You must pass the ad unit ID when creating the component. Please set the style size to 320x50.
  adFormat={AdFormat.BANNER}
  adUnitId={BANNER_AD_UNIT_ID}
/>
  • When using the same AdUnitId across multiple placements, be sure to enter a placement to distinguish each placement.