4. Open Offerswall

Once the SDK is initialized, you can present the offerwall to the user by calling the appropriate method from the TyrAds SDK. This is done by creating an OffersRoutingData instance with a specific placementId and passing it to the ShowOffers method.

The placementId (for example, 123) defines the placement configured on the backend and determines which offerwall content will be shown.

OffersRoutingData offersRoutingData = new OffersRoutingData(placementId: 123); 
TyrSDKPlugin.Instance.ShowOffers(offersRoutingData);

This call opens the offerwall, where users can interact with available offers, advertisements, or promotions and earn rewards or incentives based on their engagement.

4.1 Deeplinking Routes

The Tyrads SDK supports deeplinking to specific sections of the offerwall. When initializing or interacting with the SDK, you can specify a route to open a particular page. For campaign-specific routes, you'll need to provide the campaignID as well. Available routes and their usage:

  • TyradsDeepRoutes.Offers - opens the Campaigns Page

  • TyradsDeepRoutes.ActiveOffers - opens the Activated Campaigns Page

  • TyradsDeepRoutes.Offer - opens the Campaign Details Page (requires campaignID)

  • TyradsDeepRoutes.Support - opens the Campaign Tickets Page (requires campaignID)

//Use TyradsDeepRoutes class to avoid typos
OffersRoutingData offersRoutingData = new OffersRoutingData(placementId: 345, TyradsDeepRoutes.Offers); 
TyrSDKPlugin.Instance.ShowOffers(offersRoutingData);

//Specify a route and campaignID
OffersRoutingData offersRoutingData = new OffersRoutingData(placementId: 231, TyradsDeepRoutes.Offer, campaignId: 111); 
TyrSDKPlugin.Instance.ShowOffers(offersRoutingData);

Last updated