User profile
If you know the user's gender and/or birthday, you can share them with us so that we can suggest better matching apps to the user.
1
// where did you get the user's profile information from? "facebook", "google", ...
2
const source = '';
3
4
// the birthday must be a string in the format yyyy-MM-dd
5
// if you don't know the month or day, you can set them to 01
6
const birthday = getUserBirthday();
7
8
// the gender must be one of 'male', 'female' or 'unknown'
9
const gender = getUserGender();
10
11
adjoe.setProfile(source, gender, birthday);
Copied!
This method call has no effect if the SDK is not initialized, user has not accepted the adjoe Terms of Service or is blocked by the adjoe services.

Adjoe Parameters

You can pass additional UA and placement parameters when you send the user profile:
1
Adjoe.setProfile(source, gender, birthday, {
2
'uaNetwork': "uaNetwork_value",
3
'uaChannel': "uaChannel_value",
4
'uaSubPublisherCleartext': "uaSubPublisherCleartext_value",
5
'uaSubPublisherEncrypted': "uaSubPublisherEncrypted_value",
6
'placement': 'placement_value'
7
});
Copied!
Last modified 7mo ago
Copy link