Introduction
Cursor is a code editor with built-in AI.
It can automatically implement SDK integration by referencing the Adrop Help Center URL.
Copy the sample prompts below and just replace App Key and Unit ID to get started.
Getting Started
1. Install Cursor
Download and install from cursor.com.
2. Open your project
Open your project folder with Cursor.
3. Use Chat or Composer
- Chat (
Cmd/Ctrl + L): Ask questions or request code modifications
- Composer (
Cmd/Ctrl + I): Changes across multiple files
4. Enter a prompt
Copy and use the sample prompts below.
Sample Prompts
Android
iOS
Flutter
React Native
Web
Banner Ad
@Docs https://docs.adrop.io/sdk/android/banner
Add a banner ad at the bottom of MainActivity.
App Key: YOUR_APP_KEY
Unit ID: YOUR_UNIT_ID
Native Ad
@Docs https://docs.adrop.io/sdk/android/native
Add native ads between RecyclerView feed items.
App Key: YOUR_APP_KEY
Unit ID: YOUR_UNIT_ID
Interstitial Ad
@Docs https://docs.adrop.io/sdk/android/interstitial
Show an interstitial ad during screen transitions.
App Key: YOUR_APP_KEY
Unit ID: YOUR_UNIT_ID
Rewarded Ad
@Docs https://docs.adrop.io/sdk/android/rewarded
Show a rewarded ad when the reward button is clicked, and grant 100 coins on completion.
App Key: YOUR_APP_KEY
Unit ID: YOUR_UNIT_ID
Banner Ad
@Docs https://docs.adrop.io/sdk/ios/banner
Add a banner ad at the bottom of ViewController.
App Key: YOUR_APP_KEY
Unit ID: YOUR_UNIT_ID
Native Ad
@Docs https://docs.adrop.io/sdk/ios/native
Add native ads between TableView feed items.
App Key: YOUR_APP_KEY
Unit ID: YOUR_UNIT_ID
Interstitial Ad
@Docs https://docs.adrop.io/sdk/ios/interstitial
Show an interstitial ad during screen transitions.
App Key: YOUR_APP_KEY
Unit ID: YOUR_UNIT_ID
Rewarded Ad
@Docs https://docs.adrop.io/sdk/ios/rewarded
Show a rewarded ad when the reward button is clicked, and grant 100 coins on completion.
App Key: YOUR_APP_KEY
Unit ID: YOUR_UNIT_ID
Banner Ad
@Docs https://docs.adrop.io/sdk/flutter/banner
Add a banner ad widget at the bottom of the screen.
App Key: YOUR_APP_KEY
Unit ID: YOUR_UNIT_ID
Native Ad
@Docs https://docs.adrop.io/sdk/flutter/native
Add native ads between ListView feed items.
App Key: YOUR_APP_KEY
Unit ID: YOUR_UNIT_ID
Interstitial Ad
@Docs https://docs.adrop.io/sdk/flutter/interstitial
Show an interstitial ad during screen transitions.
App Key: YOUR_APP_KEY
Unit ID: YOUR_UNIT_ID
Rewarded Ad
@Docs https://docs.adrop.io/sdk/flutter/rewarded
Show a rewarded ad when the reward button is clicked, and grant 100 coins on completion.
App Key: YOUR_APP_KEY
Unit ID: YOUR_UNIT_ID
Banner Ad
@Docs https://docs.adrop.io/sdk/react-native/banner
Add a banner ad component at the bottom of the screen.
App Key: YOUR_APP_KEY
Unit ID: YOUR_UNIT_ID
Native Ad
@Docs https://docs.adrop.io/sdk/react-native/native
Add native ads between FlatList feed items.
App Key: YOUR_APP_KEY
Unit ID: YOUR_UNIT_ID
Interstitial Ad
@Docs https://docs.adrop.io/sdk/react-native/interstitial
Show an interstitial ad during screen transitions.
App Key: YOUR_APP_KEY
Unit ID: YOUR_UNIT_ID
Rewarded Ad
@Docs https://docs.adrop.io/sdk/react-native/rewarded
Show a rewarded ad when the reward button is clicked, and grant 100 coins on completion.
App Key: YOUR_APP_KEY
Unit ID: YOUR_UNIT_ID
Banner Ad (React)
@Docs https://docs.adrop.io/sdk/web/react
Add a banner ad component at the bottom of the page.
App Key: YOUR_APP_KEY
Unit ID: YOUR_UNIT_ID
Banner Ad (CDN)
@Docs https://docs.adrop.io/sdk/web/banner
Add a banner ad at the bottom of the page.
App Key: YOUR_APP_KEY
Unit ID: YOUR_UNIT_ID
Native Ad
@Docs https://docs.adrop.io/sdk/web/native
Add native ads between content feed items.
App Key: YOUR_APP_KEY
Unit ID: YOUR_UNIT_ID
Tips
Referencing docs with @DocsIn Cursor, use the @Docs command to directly reference external documentation.
Add @Docs URL at the beginning of your prompt to use that document as context.
Be specific about placementInstead of “at the bottom of MainActivity”, try “inside the ConstraintLayout in activity_main.xml, aligned to the bottom” for more accurate implementation.
Where to find App Key and Unit ID
Try with test keys firstYou can find test App Keys and Unit IDs in the Test Environment section of the Prerequisites page.