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.

// set the gender
AdjoeGender gender;
switch (GetUserGender()) {
    case "male":
        gender = AdjoeGender.MALE;
    case "female":
        gender = AdjoeGender.FEMALE;
        gender = AdjoeGender.UNKNOWN;

// set the birthday
// note that if you don't know the user's exact birthday, the year is already enough
DateTime birthday = GetUserBirthday();

string source = ""; // where did you get the user's profile information from? "facebook", "google", ...

// send the profile information to adjoe
Adjoe.SetProfile(source, gender, birthday);

This method call has no effect if the SDK is not initialized, the 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:

AdjoeUserProfile adjoeUserProfile = new AdjoeUserProfile();

AdjoeParams adjoeParams = new AdjoeParams();

Adjoe.setProfile(source, adjoeUserProfile, adjoeParams);

It is also possible to only set the AdjoeParams object using the setUAParams method: