Native Ads
REST API
Native Ads
Learn how to request native ads using the REST API.
GET
Native Ads
Native ads are returned as structured data, allowing you to implement custom UI that matches your app or website design.Documentation Index
Fetch the complete documentation index at: https://docs.adrop.io/llms.txt
Use this file to discover all available pages before exploring further.
Request Parameters
Headers
App Key (found in adrop_service.json)
Query Parameters
Native ad unit ID
User unique identifier. Used for frequency capping and targeting.
Platform. One of
android, ios, webLocale. e.g.,
en_US, ko_KRTheme mode.
light or darkContext targeting ID
Set to
1 to receive asset URLs and tracking pixels. You must implement impression and click tracking manually in this case.Advertising identifier (required for device preview)
Response
Response code.
0 indicates success.Response message
Ad data
Tracking Implementation
When usingtrackMode=1, you must track impression and click events manually.
Impression Tracking
Call theimprTracker URL when the ad is displayed on screen:
Click Tracking
Call theclickTracker URL first when the user clicks the ad, then navigate to destinationURL:
Custom Rendering Example
Related Documentation
Banner Ads
HTML banner ad implementation
Targeting Settings
User properties and targeting configuration