Show Sidebar

Global Ad Settings – VMAX SDK for iOS

The VMaxAdSDK class provides global settings through which you can enable various features.
Targeting:
1. Passing Custom Data to all ad requests

Objective-CSwift

Note: If invalid data is passed in any of the above parameters the SDK would ignore the data.

Note:
1. The above api would apply on all VMaxAdView objects used in the project
2. To pass custom data at adView level(on VMaxAdView object) you can refer Ad view Settings
3.In the case where key’s of the dict passed to [adView setCustomData:dict] and [VMaxAdSDK setCustomData:dict]; conflict, then the dict passed to [adView setCustomData:dict] would be given priority.

2. Targeting for specifics
The VMAX SDK allows you to pass extra data to identify users for serving targeted campaign ads. For example, if your app users sign in using an email address, you can send this information to the server and create a campaign to target only specific user email addresses with ads.

Objective-CSwift


Note:
If invalid data is passed in any of the above parameters the SDK would ignore the data.

3. Setting log Level:
By default console logs are disabled. To enable debug logs you need to make use of below API.

Objective-CSwift