Setters

iOS Classic - Setters

Taboola

Setter property

Description

logLevel

Possible values:

LogLevelDebug
LogLevelInfo
LogLevelWarning
LogLevelError (default - this is the least verbose)

globalExtraProperties

Pass optional feature flags as a list of key-value pairs - e.g.:

// Objective-C:
[Taboola setGlobalExtraProperties:@{@"<key1>":@"<val1>",@"<key2>":@"<val2>"}];

TBLClassicPage

πŸ“˜

All setter methods are optional.

Setter property

Description

targetType

Sets the target type of the Page instance (default is "mix").

Do not update unless instructed to do so by your Taboola Account Manager.

pageId

Sets the Page ID of the Page instance

By default, the system auto-generates an ID, based on pageUrl. If desired, you can set your own internal ID.

pageExtraProperties

A Dictionary that can store multiple properties for the Page instance. E.g. "darkMode":"true".

serialDelay

Allows you to override the default interval for serial loading.

See: Advanced Options > Multiple units on 1 page

fetchingPolicy

Allows you to override serial loading (default) with parallel loading.

See: Advanced Options > Multiple units on 1 page

TBLClassicUnit

πŸ“˜

All setter methods are optional.


InSDK 4, there is no need to implement a manual scroll switch or progress bar. Properties relating to those features have been removed.

Setter propertyDescription
optionalWidgetStyleSets additional styling CSS rules for the widget. (e.g. Use it to control the widget's background.)