Bravo uses Google Admob service to integrate advertising for iOS & Android apps.
Include advertising in your app with Admob and start monetizing from your Bravo apps. This feature is a perfect option to push users to purchase your app subscription plans.
//Ad Banner component
[component:admob]
//Interstitial Ad type (require link or an action to trigger)
[admob:interstitial]
//Android ad platform
[admob:ad:android:<ad_unit_id>]
//iOS ad platform
[admob:ad:ios:<ad_unit_id>]
Ads Type
There are 2 types of Ads supported currently in Bravo: Banner and Interstitial.
[component:admob]
Use it for the Banner Admob type
[admob:interstitial]
Use this tag to open an interstitial before a link or action, and when the interstitial is closed the link or action will be executed. For example, to open a new page of the app.
Ads per device (Android and iOS)
Using these tags are necessary in case you want to display the ad only on iOS, only on Android, or on both. It is necessary because we need the Ad unit ID per each platform separated. The ad-unit-id can be obtained when creating the ad units on the Admob page.
[admob:ad:android:<AD-UNIT-ID>]
In this data you will need to add the Ad Id If you use this tag alone, the ad component will be only visible on Android.
π‘ Use both Android & iOS tags in the same Figma element to show on both platforms
[admob:ad:ios:<AD-UNIT-ID>]
If you use this tag alone, the ad component will be only visible on iOS.
π‘ Use both Android & iOS tags in the same Figma element to show on both platforms
βοΈ Setup Bravo + Admob
In order to set up Admobs, there are some steps that need to be followed, both in Admob and in Bravo Studio.
Figma file
Add the component that will be your ad banner or that will trigger the interstitial ad when the user taps on it.
If you are looking to have a Banner Ad type of ad you should add the following tags all in the same component in Figma:
[component:admob] For the Banner ads
[admob:ad:android:<ad-unit-ID>] to show on Android
[admob:ad:ios:<ad-unit-ID>] to show on iOS
If you are looking to have an Interstitial Ad type of ad you should add the following tags all in the same component in Figma:
[admob:interstitial] for the Interstitial ads
[admob:ad:android:<ad-unit-ID>] to show in Android
[admob:ad:ios:<ad-unit-ID>] to show in iOS
Here is an example (you can copy and paste it into the Figma frame):
Ad container [layer][component:admob][admob:ad:android:][admob:ad:ios:]
Note: Add the Layer tag to make it fix. You can also add it to the topbar or in any container supported in Bravo.
π¨ Sample design file
You can use the file below to see how to set up these tags.