(Optional) Outbrain Publisher Imp id in Bridge
Outbrain Publisher Imp id in Bridge
info
Outbrain uses the odb parameter pubImpId to get the session ID/ click identifier from the publisher.
warning
OBPubImp ID in the Bridge is supported from SDK v4.30.4.
Step 1
In the "Article Activity" the app developer should implement the SFWebViewParamsDelegate
interface which is basically:
public interface SFWebViewParamsDelegate {
String getExternalId(); //Optional
String getExternalSecondaryId(); //Optional
String getPubImpId();
}
For example:
@Override
public String getPubImpId() {
return "exampleID";
}
Step 2
Before initializing the widget, the app developer should set the delegate as detailed below:
SFWebViewWidget.setParamsDelegate(this);