farhan678 / adwhirl

Automatically exported from code.google.com/p/adwhirl
0 stars 0 forks source link

Adwhirl problem with iAd(rotate the banner view,and only left side is clickable) #157

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Integrated iAd
2.rotate the banner view
3.only left side is clickable

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Adwhirl 2.6.2

Please provide any additional information below.
Hi,

I integrated Adwhirl into my app and activated iAd only. My app is in always 
landscapeleft mode and I want to have all Ads in 320x50(48) mode. I added the 
banner view to the main menu,I managed to rotate it and the iAd looks right.I 
did this in the following way(I'm using cocos2d):

    AdWhirl *adView = [AdWhirlView requestAdWhirlViewWithDelegate:self];
    [[[Director sharedDirector] openGLView] addSubview:adView];
    CGAffineTransform transform = CGAffineTransformMakeTranslation(0, 150);
    transform = CGAffineTransformTranslate(transform, 10, 10);
    transform = CGAffineTransformRotate(transform, CC_DEGREES_TO_RADIANS(90));
    [adView setTransform:transform];

It works fine is iOS4.2.However,on device with iOS4.1,only left side of the 
banner view is clickable.I'm really confused about this behavior.Any hint would 
be highly appreciated!

Original issue reported on code.google.com by Kerry.We...@gmail.com on 9 Dec 2010 at 9:31

GoogleCodeExporter commented 9 years ago
Sound like an iAd issue. Have you tried taking AdWhirl out altogether and do 
transforms on the ADBannerView directly?

Original comment by nigelc...@google.com on 9 Dec 2010 at 9:55

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I tried integrating iAd without using AdWhirl,on iOS4.0,4.1,4.2,it's working 
fine...

Original comment by Kerry.We...@gmail.com on 11 Dec 2010 at 1:32

GoogleCodeExporter commented 9 years ago
2011-02-19 13:01:33.788 My App[3363:307] Fetched Ad network config: 
<AdWhirlConfig: 0x28cef0>:
location_access:0 fg_color:UIDeviceRGBColorSpace 0 0 0 1 
bg_color:UIDeviceRGBColorSpace 1 1 1 1 cycle_time:15.000000 transition:8 
networks:(
    "name:admob type:1 nid:66c3b0f2488a4466a2bab5cb718b2958 weight:0.000000 priority:2 creds:a14d063babb1ba7",
    "name:iad type:19 nid:11e73d0049c74b238bd1946f842ca00e weight:100.000000 priority:1 creds:*****************@me.com",
    "name:custom type:9 nid:085e438411564bf9a54a5217b4f4ec83 weight:0.000000 priority:3 creds:__CUSTOM__"
)
2011-02-19 13:01:33.796 My App[3363:307] >>>> By Percent chosen 
11e73d0049c74b238bd1946f842ca00e (iad), dart 1.449396 in 100.000000
2011-02-19 13:01:36.261 My App[3363:307] Failed to receive ad from adapter (nid 
11e73d0049c74b238bd1946f842ca00e): Error Domain=ADErrorDomain Code=3 "The 
operation couldn’t be completed. Werbeinventar nicht verfügbar" 
UserInfo=0x2ac740 {ADInternalErrorCode=3, 
NSLocalizedFailureReason=Werbeinventar nicht verfügbar}
2011-02-19 13:01:36.268 My App[3363:307] did Fail to get iAd: The operation 
couldn’t be completed. Werbeinventar nicht verfügbar
2011-02-19 13:01:36.388 My App[3363:307] Reachability flag status: tR------W
2011-02-19 13:01:36.389 My App[3363:307] >>>> By Priority chosen 
66c3b0f2488a4466a2bab5cb718b2958 (admob)
2011-02-19 13:02:21.360 My App[7983:207] requestFreshAdMobAd
2011-02-19 13:01:37.663 My App[3363:307] Received ad from adapter (nid 
66c3b0f2488a4466a2bab5cb718b2958)
2011-02-19 13:01:37.665 My App[3363:307] Sending metric ping to 
?appid=10eed39d74764f1ca011f9b04bdedbec&nid=66c3b0f2488a4466a2bab5cb718b2958&typ
e=1&country_code=de_DE&appver=262&client=1 -- http://met.adwhirl.com/exmet.php
2011-02-19 13:01:48.794 My App[3363:307] ======== Refreshing ad due to timer 
========
2011-02-19 13:01:48.796 My App[3363:307] >>>> By Percent chosen 
11e73d0049c74b238bd1946f842ca00e (iad), dart 39.625354 in 100.000000
2011-02-19 13:02:33.861 My App[7983:207] requestFreshAdMobAd
2011-02-19 13:02:46.361 My App[7983:207] requestFreshAdMobAd
2011-02-19 13:02:03.794 My App[3363:307] ======== Refreshing ad due to timer 
========
2011-02-19 13:02:03.796 My App[3363:307] Already has pending ad request for 
network type 19, not adding ad network config name:iad type:19 
nid:11e73d0049c74b238bd1946f842ca00e weight:100.000000 priority:1 
creds:*****************@me.com

Original comment by matthias...@me.com on 19 Feb 2011 at 12:04