Support Forum

Ask a Question
ANSWERED

Show/hide "Sponsored Links by ..."

Hi there! I was wondering if there is any way to configure the TaboolaView from iOS side to obtain the "Sponsored Links by Taboola" or if the way to do it is by asking to Taboola account manager. Thanks!
ANSWERED

Why can I not see my latest post/comment?

Hi, all There is a caching issue with the platform that hosts our Community. As a result, new posts/comments might not be visible for you. This issue is under investigation. Our profuse apologies for the temporary inconvenience. Mobile SDK community team
ANSWERED

Will the feed available in regional languages?

My application feed available in different languages, I want to show the taboola feed in that the user selected language. Will it serve the feed fir different languages.
ANSWERED

Android Native Implementation Question

I have a TaboolaWidget inside a RecyclerView. Right now the widget has a fixed height with a nested scroll to view all the overflowing ads. What I want is to make the widget's size to be as large as needed in order to fit all the ads WITHOUT having to use the nested scroll that the widget provides. Thanks.
ANSWERED
ANSWERED

[iOS] How do I get my app to build on my M1 Mac (iOS Simulator) when Taboola is installed via Carthage?

I think the question says it all. I recently updated my machine, went to install the TaboolaSDK via Carthage, and got the error during build (for simulator): This is a known issue, well described here: https://medium.com/@quentinfasquel/carthage-issues-xcode-12-xcframeworks-apple-silicon-etc-1c60d8635dbc ``` [email protected] iOS-App % ./carthage.sh bootstrap --platform iOS *** No Cartfile.resolved found, updating dependencies *** Downloading binary-only framework TaboolaSDK at "https://cdn.taboola.com/taboola-mobile-sdk/ios/carthage/TaboolaSDK.json" *** xcodebuild output can be found in /var/folders/22/62ggb_8x21l87nh68dc2hm6w0000gp/T/carthage-xcodebuild.9PI6S7.log *** Downloading binary-only framework TaboolaSDK at "https://cdn.taboola.com/taboola-mobile-sdk/ios/carthage/TaboolaSDK.json" ``` As far as I understand, 2 solution paths would be to support building .xcframeworks (and provide some support documentation about this issue), and/or additionally installing via Swift Package Manager (SPM). Anyway, is there a way forward here? I currently use the 'carthage.sh' script, given here: https://github.com/Carthage/Carthage/blob/master/Documentation/Xcode12Workaround.md Where it explicitly says "this won't work on Apple Silicon" i.e. the simulator. So I'm basically stuck.
ANSWERED

feed code null exception

taboolaWidget = new TaboolaWidget(MoreActivity.this); taboolaWidget.getLayoutParams().height = SdkDetailsHelper.getDisplayHeight(MoreActivity.this) * 2; when i set above code, there is a exception as follow: Caused by: java.lang.NullPointerException: Attempt to write to field 'int android.view.ViewGroup$LayoutParams.height' on a null object reference How can i to update code?
ANSWERED

Android Taboola Classic Unit Implementation only loading single item

Hi, I am loading tblclassicunit in the following way and I am getting only one view layout structure <ObservableScrollView android:id="@+id/scroll_view" android:layout_width="match_parent" android:layout_height="match_parent" android:fillViewport="true" android:overScrollMode="never"> <FrameLayout android:id="@+id/scroll_view_child" android:layout_width="match_parent" android:layout_height="wrap_content" android:clipChildren="false"> <LinearLayout android:id="@+id/linearTaboolaContainer" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" android:paddingTop="4dp" android:paddingLeft="16dp" android:paddingRight="16dp" android:paddingBottom="22dp" /> </FrameLayout> </ObservableScrollView> and I am inflating a tblClassic in this container code that I am using is, private void buildBelowArticleWidget(TBLClassicUnit tblClassicUnit, final int position, final HashMap<Integer, Boolean> nativePositions) { tblClassicUnit .setTargetType("mix"); //optional if (!TextUtils.isEmpty(mWidgetProperties.get(Constants.PAGE_URL_KEY))) { tblClassicUnit.setPageId(mWidgetProperties.get(Constants.PAGE_URL_KEY)); } //used for enable horizontal scroll HashMap<String, String> extraProperties = new HashMap<>(); extraProperties.put("enableHorizontalScroll", "true"); extraProperties.put("useOnlineTemplate", "true"); extraProperties.put("darkMode", "true"); tblClassicUnit.getLayoutParams().height = TBLSdkDetailsHelper.getDisplayHeight(tblClassicUnit.getContext()); TBLClassicPage tblClassicPage= Taboola.getClassicPage(mWidgetProperties.get(Constants.PAGE_URL_KEY), "article"); tblClassicUnit.setAutoResizeHeight(true); enableFeedContentScrolling(true); tblClassicUnit.setUnitExtraProperties(extraProperties); HashMap<String, String> extraProperties1 = new HashMap<>(); extraProperties1.put("setFetchPolicy", "1"); tblClassicPage.setPageExtraProperties(extraProperties1); TBLClassicListener tblClassicListener; tblClassicListener=new TBLClassicListener() { @Override public void onTaboolaWidgetOnTop() { super.onTaboolaWidgetOnTop(); Log.e("taboola","onTaboolaWidgetOnTop"); // enableFeedContentScrolling(false); } @Override public void onAdReceiveSuccess() { Log.e("taboola","onAdReceiveSuccess"); mLoadTaboolaListener.onTaboolaAdLoaded(); super.onAdReceiveSuccess(); } @Override public void onAdReceiveFail(String error) { Log.e("taboola","onAdReceiveSuccess"); mLoadTaboolaListener.onTaboolaAdFailed(); super.onAdReceiveFail(error); } @Override public void onResize(int height) { super.onResize(height); } @Override public boolean onItemClick(String placementName, String itemId, String clickUrl, boolean isOrganic, String customData) { //return super.onItemClick(placementName, itemId, clickUrl, isOrganic, customData); if (isOrganic) { //do something return false; } return true; } }; tblClassicPage.addUnitToPage(tblClassicUnit,mWidgetProperties.get(Constants.PLACEMENT_KEY),mWidgetProperties.get(Constants.MODE_KEY),TBL_PLACEMENT_TYPE.FEED,tblClassicListener); // tblClassicPage.addUnitToPage(tblClassicUnit,"Feed without video","thumbs-feed-01", TBL_PLACEMENT_TYPE.FEED,tblClassicListener); fetchIfRequired(); }
ANSWERED

error: ITMS-90809: Deprecated API Usage by Apple. Use of Deprecated UIWebView in Taboola.

Hi, I am currently using the latest version(2.6.1) of Taboola in my project but inspite of that I am unable to upload the project to Appstore. When I searched for the presence of UIWebView in my project then I have received the below stated issue. Please do the needful. Pods/TaboolaSDK/TaboolaSDK.framework/Headers/TaboolaView.h: Optional. Force legacy UIWebView. Thanks in advance.
ANSWERED

Ads are not loading in devices which has android version 10+ or target Sdk version 30

Ads are not loading and It gives an error like below E/SdkDetailsHelper: createSdkDetailsJSON() failed, sdkType = [Taboola Android SDK] java.lang.SecurityException: getDataNetworkTypeForSubscriber: getDataNetworkTypeForSubscriber