You will need to rotate the frame that you created. Try something like this:
UIViewController *controller = [[UIViewController alloc] init];
controller.view.frame = CGRectMake(136, 135, 320, 32);
controller.view.transform = CGAffineTransformMakeRotation(M_PI / 2.0);
ADBannerView *adView = [[ADBannerView alloc] initWithFrame:CGRectZero];
adView.requiredContentSizeIdentifiers = [NSSet setWithObject:ADBannerContentSizeIdentifier480x32];
adView.currentContentSizeIdentifier = ADBannerContentSizeIdentifier480x32;
[controller.view addSubview:adView];
[[Director sharedDirector] openGLView] addSubview:controller.view];
M_PI is defined in math.h in the cocos2d library, it's just pi. Once you get it, just play with the first two numbers in the rectangle to place it where you need it.
source
share