IdxDmpSdk
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
Installation
IdxDmpSdk is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'IdxDmpSdk'
Integration example
class ViewController: UIViewController {
var dmp: DataManagerProvider?
...
override func viewDidLoad() {
super.viewDidLoad()
self.dmp = DataManagerProvider(providerId: providerId) {_ in
// Success callback
}
}
...
@IBAction func handleShowAd() {
guard let dmp = self.dmp else {
return
}
let adRequest: GAMRequest = GAMRequest()
adRequest.customTargeting = ["dxseg": dmp.getDefinitionIds()]
}
...
}
Author
Brainway LTD, https://brainway.co.il/
License
IdxDmpSdk is available under the MIT license. See the LICENSE file for more info.