Custom Parameters for Adobe Air
The Supersonic SDK supports the ability for you to pass Custom Parameters on the initialization of your chosen Ad Units and to receive this data back upon user’s completion event.
- Custom parameters work only in conjunction with server-to-server completion callbacks. You will receive the parameter as part of the Callback string.
- You may insert more than one custom parameter to the Init request.
If in your application you would like to receive the IP of the user as a parameter in the Completion callback for users who engaged with the Offerwall Ad Unit, you would use:
Oren - Air example
You would receive a corresponding callback as such:
var customs:Array = new Array("key1", "val1", "key2", "val2"); Supersonic.getInstance.setRVCustomParameters(customs);
var customs:Array = new Array("key1", "val1", "key2", "val2"); Supersonic.getInstance.setOWCustomParameters(customs);