- Use Xcode 11 or higher
- Target iOS 8.0 or higher
- Create an account on Doceree
Recommended: Create a Doceree publisher account and register your app.
This is a one time, 4-step process. Once your Mobile App is integrated, you can add any number of ad slots at any point of time. For adding each app, redo the same process. There is no limit to the number of apps that you may add
It’s not mandatory to complete the entire process in one go. All the information that you enter gets saved when you move to the next step
To start the integration process, please log in to your account and click on the ‘Add Platform’ tab on the left
Navigation Bar and click on Mobile App
STEP 1 – Basics
Enter the basic identification information about your Mobile App
- App Name: Enter the name of the Mobile App
App Link: Enter the link to your app
- App Type: Enter the type of app you are registering
- App Category: Select the best option from the dropdown list
- Market Choose: The market from where the majority of your app users come
- App Description: Enter a basic description of the app, how would you like to describe your Mobile App
The information you enter here will be used on the Dashboard. So, be careful that you enter information that is easy to understand and identifies each Mobile App uniquely (in case you are managing many Mobile Apps from a single account)
STEP 2 – ExclusionsAdvertisers to Exclude
You can select and blacklist a particular category of advertisers from advertising on your app. If there are no exclusions, leave it blank and click next to proceed. This section is completely optional
STEP 3 - Platform integration
Integrating the Doceree Mobile Ads SDK into an app is the first step toward displaying ads and earning revenue. Once you've integrated the SDK, you can proceed to implement one more of the supported ad formats.
- Update your info.plist
- For iOS 14 and later versions, adding
NSUserTrackingUsageDescriptionis a necessary and required step so, as to inform the user why an is requesting permission to use data for tracking the user of the device. Simply, add a row in info.plist and paste the
NSUserTrackingUsageDescriptionand then add a string value accordingly (such as "Would you allow us to track usage so we can tailor your ads for you?"). Please refer to the below screenshot.
Import the iOS Ads SDK
The simplest way of adding the SDK to your project is via cocoapods. Open your pod file and add this line to your app’s target.
Initialize mobile ads
Before loading ads, call the method DocereeMobileAds.shared(), which initializes the SDK. This only needs to be done once, ideally at app launch.
STEP 4 - Audience Identification
Post the login, you need to call the function given in the box below (an example). This will pass on the HCP profile that will hold the targeting information for Doceree Ads. It will help serve precision-targeted ads to the user.
After completing the above 4 steps, Doceree will verify if everything is set up properly and you shall receive a confirmation email that your platform is active. If there are any issues, Doceree support team will reach out to you on your registered email address.