Getting Started with the Android SDK

Getting started with the Taboola Android SDK

Step 1: Add the library dependency to your project

Latest version: 2.4.0 (Released on February 23rd, 2020) Changelog

//Include the Taboola SDK binary
implementation 'com.taboola:android-sdk:2.4.0'

//Include the following dependencies (mandatory)
implementation ''
//Note: It is advised to use the same version for Custom Tabs
//and your project's compileSdkVersion. For example: 
//For 'compileSdkVersion' 27 use ''


  • Taboola SDK supports Android API 14 and above
  • The SDK size is 398.24 KB

Step 2: Verify the AndroidManifest.xml

Include this line in your app’s AndroidManifest.xml to allow Internet access and read the network state

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

Step 3: Proguard rules

Consumed Proguard Rules

Starting from Android SDK version 2.3.7, Taboola SDK will automaticly add the Proguard rules to the project. If you wish to work manually, you can use the following rules.

Add the following Proguard rules (relevant for Android SDK version 2.3.3 (including) and above)

###---------- Begin: proguard configuration for Taboola Android SDK 2.3.3 and above  ----------
-keepnames class
-keep class { *; }
###---------- End: proguard configuration for Taboola Android SDK 2.3.3 and above  ------------

For the PG rule for Android SDK versions 2.1.1 until SDK version 2.3.0 (including) - click here

For the PG rules for Android SDK versions before 2.1.0 - click here

Step 4: Allowing HTTP traffic (optional)

Starting with Android 9.0 (API level 28), HTTP traffic (non-secured) is disabled by default. We recommend allowing HTTP traffic to support Taboola's advertisers who are not using secure landing pages.

If you can allow HTTP traffic, please add the android:usesCleartextTraffic="true" setting to your AndroidManifest.xml file

<?xml version="1.0" encoding="utf-8"?>
<manifest ...>
    <uses-permission android:name="android.permission.INTERNET" />

Step 5: Updating the SDK (optional)

We encourage developers to use the latest SDK version. To stay up-to-date, please check our announcements and change log. We highly recommend updating to the latest SDK version once a quarter.

How to upgrade?

When upgrading the SDK please update your build.gradle file with the latest version - replace the [LATEST_SDK_VERSION_HERE] with the latest version number

implementation 'com.taboola:android-sdk:[LATEST_SDK_VERSION_HERE]'

Special Instructions for upgrading from a specific Android SDK versions

Upgrading from SDK version
Special instructions

2.0.0 until 2.2.1 (including)

When using Widget via Native (SDK Standard), the SDK will update the widget height more than once


Any upgrade from SDK 1.x.x to SDK 2.x.x should be considered as a new integration. Please go over all of the steps outlined on this documentation

Updated about a month ago

What's Next

Choose the type of Taboola asset you would like to integrate

Taboola Widget
Taboola Feed

Getting Started with the Android SDK

Getting started with the Taboola Android SDK

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.