How to use AdWhirl Ad Network

June 27, 2009 § Leave a comment

Adding Ad Aggregate AdWhirl is easier if you can follow it step by step. Ad Aggregate is designed to optimize by rotating your Ad Network.

  • Add the AdWhirl SDK libraries into your project. 4 files (ARRollerProtcol.h, ARRollerView.h, libAdWhirlDevice.a, libAdWhirlSimulator.a) in the “AdWhirl” folder
  • Add supporting frameworks required by all supported Ad Networks. In addition to the defaulted UIKit.framework, Foundation.framework, CoreGraphics.framework, add the following frameworks.
    • AddressBook.framework
    • CoreLocation.framework
    • QuartzCore.framework
    • SystemConfiguration.framework
    • libsqlite3.dylib
    • libxml2.dylib
    • libz.dylib
  • Quattro Wireless requires that the ObjC flag is included under the “Other Linkers Flag” setting. App “Get Info” on Build tab 1) Set the configuration mode to “All Configurations” 2) Enter “ObjC” on Other Linker Flags section. ObjC is CASE-SENSITIVE. Capital-O, lowercase-b, lowercase-j, and Capital-C.
  • Add additional lines on AdRollSimpleViewController.h:18

#import “ARRollerView.h”
#import “ARRollerProtocol.h”

@interface AdRolloSimpleViewController : UIViewController <ARRollerDelegate> {

}

  • Add AdWhirl view to your app view and return AdWhirl application key from the required delegate method

In line 28 of AdWhirlSimpleViewController.m on -adWhirlApplicationKey method, add the following codes:

ARRollerView* rollerView = [ARRollerView requestRollerViewWithDelegate:self];
[self.view addSubview:rollerView];

#pragma mark ARRollerDelegate required delegate method implementation

– (NSString*) adWhirlApplicationKey
{

return @”xxxx”; // AdWhirl application key

}

Another issue relates to FBConnect. If you’re compiling FBConnect into your project, or if you’re using a platform that requires FBConnect, try using the workarounds above. Otherwise, since the Pinch Media library is the conflicting library, you can download a version without Pinch Media library.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

What’s this?

You are currently reading How to use AdWhirl Ad Network at Web Builders.

meta

%d bloggers like this: