Skip to main content

Documentation Index

Fetch the complete documentation index at: https://guide.daro.so/llms.txt

Use this file to discover all available pages before exploring further.

Rectangular ad format (320x50) that occupies part of your app layout. Supported by most ad demand sources. Banner Example Pn

MREC Ads

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

Creating Banner/MREC Components

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.