You must initialize the FairBid SDK using your Fyber App ID. This only needs to be performed once, ideally when the app is launched.
In the initialization code, replace the your_app_id value with the your App ID . This value is passed as a string.
The Fyber App ID can be found in the App Management dashboard. For more information on how to obtain your App ID, visit our guide.
// recommended [FairBid user].userId = @"user_id";
// recommended FairBid.user().userId
The User_ID is a unique Identifier that allows you to recognize your different users.
It is highly recommended to set a User ID, as it greatly assists with key functions such as server side rewarding, counting unique users accurately and user level reporting.
You can provide your own internal User ID. If you don’t already have one, we recommend you create one by assigning incremental numbers to each of your users or a similar method.
The User ID length must not exceed 256 characters.