REST API
Banner Ads
Learn how to request banner ads using the REST API.
GET
Banner Ads
Banner ads are returned in HTML format, allowing direct rendering in web projects. For other platforms, you can use WebView for rendering.
Request Parameters
Headers
Query Parameters
Context ID for context targeting (optional). Must exactly match a value entered in a context targeting option in the console. See Targeting Settings.
Response
Rendering
Web Rendering
Carousel Banners
When using carousel banners, add the following script:Related Documentation
Native Ads
Implement ads with custom UI
Error Codes
Error handling guide
Banner Ads