REST APIs
Connect to external APIs for data, payments, and third-party services.
Google AdMob lets you earn revenue by displaying ads in your app. Primio’s Prompt Library includes templates for consent flow, banner ads, and interstitial ads — covering the most common ad formats.
The order matters. You must implement the consent flow before adding any ad units.
Consent flow (required first)
Use Prompt Library → AdMob Consent Flow. This sets up the GDPR/ATT consent dialog that asks users for permission to show personalized ads.
Banner ads
Use Prompt Library → AdMob Banner Ad. Adds a persistent ad banner, typically at the bottom of a screen.
Interstitial ads
Use Prompt Library → AdMob Interstitial Ad. Adds full-screen ads that appear at natural transition points (between screens, after completing an action).
Sign up at admob.google.com
Use your Google account. AdMob will ask for payment information to pay you earnings.
Create an app in AdMob
Add your app (you can do this before it’s published — select “No, I haven’t published it yet”).
Create ad units
Create the ad units you need: banner, interstitial, rewarded, etc. Each unit gets a unique ID.
Note your ad unit IDs
You’ll need these to replace the test IDs in your app before publishing.
The Prompt Library templates use test ad unit IDs by default. These show placeholder ads during development but generate no revenue.
Before publishing, replace them with your real AdMob ad unit IDs:
“Replace the test AdMob ad unit IDs with my real IDs: banner: ca-app-pub-xxx/yyy, interstitial: ca-app-pub-xxx/zzz”
Ads aren’t the only way to monetize. You can ask Primio to add other revenue models:
In-app purchases:
Subscriptions:
Paywalls:
REST APIs
Connect to external APIs for data, payments, and third-party services.
Publishing Overview
Publish your app to Google Play, the App Store, or the web.