iOS setup - cleveradssolutions/CAS-ReactNative GitHub Wiki

Before this steps, make sure that you done instructions from Project setup page


You could enable necessary modules via passings ENV variables to pod install command, for example:

ENABLE_OPTIMAL=1 pod install
  • An Optimal Ads Solutions contains a number of stable partner networks that are recommended for use in most applications, install by passing ENABLE_OPTIMAL=1.
  • A Families Ads Solutions designed for applications tagged at a children's audience, install by passing ENABLE_FAMILIES=1
    The solution is fully compatible with apps in the [Google Families Ads Program], read more below.
  • A Base SDK of CleverAdsSolutions only without dependencies on third party adapters. Using only the base SDK, you can add any adapters separately. Already included into library.

Automatically configure project

Your project requires additional configurations that can be performed automatically by a special script. Just download the script and run the command. Repeat the script before every update of the application to make sure you are using up-to-date configurations.

  1. Download the casconfig.rb
  2. Place the script in the directory with the app .xcodeproj file
  3. Open the terminal window and run command:
ruby casconfig.rb CASID

In most cases, a CASID is the same as your app store ID.
You can find an app store ID in the URL of your app’s Apple App Store URL. For example, the URL is apps.apple.com/us/app/id123456789 then app store ID is 123456789.

If you haven't created an CAS account and registered an app yet, now's a great time to do so at https://cleveradssolutions.com
If you just want to experiment or test the SDK, you can skip the configuration your project.

Check the additional features of the script by running the command:

ruby casconfig.rb --help

Manually configure project

Instead of using a script, you can manually complete additional steps to configure your project (iOS SDK Wiki).

Available networks

In the following table, you can see all the ad networks supported by Clever Ads Solutions, and a list of partners that are included in the Optimal and Families Ads solutions.

Network Optimal Families Notes
Google Ads :ballot_box_with_check: :ballot_box_with_check: Notes
Unity Ads :ballot_box_with_check: :ballot_box_with_check: Notes
IronSource :ballot_box_with_check: :ballot_box_with_check: Notes
LiftoffMonetize :ballot_box_with_check: :ballot_box_with_check: Notes
InMobi :ballot_box_with_check: :ballot_box_with_check: Notes
Yandex Ads :ballot_box_with_check: :ballot_box_with_check: Notes
Mintegral :ballot_box_with_check: :ballot_box_with_check: Notes
Pangle :ballot_box_with_check: :heavy_minus_sign: :heavy_minus_sign:
Chartboost :ballot_box_with_check: :ballot_box_with_check: Notes
DTEchange :ballot_box_with_check: :ballot_box_with_check: Notes
AppLovin :ballot_box_with_check: :heavy_minus_sign: Notes
AudienceNetwork :ballot_box_with_check: :heavy_minus_sign: Notes
Bigo :ballot_box_with_check: :heavy_minus_sign: Notes
Kidoz :heavy_minus_sign: :ballot_box_with_check: Notes
SuperAwesome :heavy_minus_sign: :ballot_box_with_check: Notes
MyTarget :heavy_minus_sign: :heavy_minus_sign: Notes