-
Notifications
You must be signed in to change notification settings - Fork 0
Migrating from AdWhirl
Manny edited this page Oct 6, 2013
·
2 revisions
On iOS you can migrate from AdWhirl to AdFlake in a minute by changing only a few lines of code and updating your SDK key to an AdFlake SDK key.
Create your account and register your app on AdFlake.com and update your AdWhirl SDK key to an AdFlake SDK key.
Simply copy and paste the following code into your AdWhirlView's delegate implementation:
- (NSURL *)adWhirlConfigURL
{
return [NSURL URLWithString:@"http://api.adflake.com/get"];
}
- (NSURL *)adWhirlImpMetricURL
{
return [NSURL URLWithString:@"http://metrics.adflake.com/impression"];
}
- (NSURL *)adWhirlClickMetricURL
{
return [NSURL URLWithString:@"http://metrics.adflake.com/click"];
}
- (NSURL *)adWhirlCustomAdURL
{
return [NSURL URLWithString:@"http://api.adflake.com/custom"];
}
You are good to go. Fire up your app and you should be receiving ads from AdFlake.com!
Unfortunately the AdWhirl SDK on Android does not provide mechanisms to change the server endpoints. But swapping out a jar can be done in a minute, too :)