Widget
The Tyr SDK offers multiple widgets to embed campaigns within your app, each designed for different use cases and campaign types.
This widget is accessible via the /widget
route and supports different layout:
https://sdk.tyrads.com/widget?token=<TOKEN>&layout=<LAYOUT_NAME>
🧩 Premium Widget
The Premium Widget is designed specifically to showcase premium campaigns within your app. It uses predefined template layouts to present these campaigns with a polished, high-quality appearance.
🚩 Available Widget
Layout Name
Description
Example
With Currency Sales
premium_1
(default)
Default premium widget template with standard layout.
premium_2
Alternative premium template with a different design.


no_offers
Default layout when there are no offers available

Example Usage
You can load the widget by using the /widget
route and specifying a layout:
<!-- This URL will load the Premium Widget using the `premium_2` layout -->
https://sdk.tyrads.com/widget?token=<TOKEN>&layout=premium_2
Last updated