Params
Android Classic - Params
This page provides a reference for the various Taboola SDK params.
During onboarding, Taboola will provide you with the param values for your integration.
If you need to troubleshoot, you can also test with the param values used in our sample app.
Params Cheatsheet
Java param | XML attribute | Description |
---|---|---|
<publisherId> | taboola:tb_publisher | Your publisher ID, as provided by Taboola - e.g. "<<publisherID>>" . |
<mode> | taboola:tb_mode | The UI Mode ID of the widget, as provided by Taboola - e.g. "<<mode>>" , "thumbnails-feed" , etc. |
<placementName> | taboola:tb_placement | The placement name, as provided by Taboola - e.g. "<<placementName>>" , "stories-prod" , etc. |
<url> | taboola:tb_url | A fully-qualified, public URL, with the same content as the screen. e.g. "<<pageURL>>" . |
<pageType> | taboola:tb_page_type | The page type, as provided by Taboola - e.g. "<<pageType>>" . |
<targetType> | taboola:tb_target_type | The target type, as provided by Taboola - e.g. "<<targetType>>" (default value).---- If targetType is not "<<targetType>>" , make sure to set it accordingly - e.g.: tblClassicUnit.setTargetType("video") . |
<placementType> | N/A | The Unit type that the Taboola SDK should return - see below. |
TBLClassicListener | N/A | An abstract class for event handing - see: Event Handing. |
Possible values for placementType
Value | Type | Description |
---|---|---|
TBL_PLACEMENT_TYPE.PAGE_MIDDLE | Int | Returns a mid-page Widget. |
TBL_PLACEMENT_TYPE.PAGE_BOTTOM | Int | Returns a page bottom Widget. |
TBL_PLACEMENT_TYPE.FEED | Int | Returns a Taboola Feed. |
Updated about 2 years ago