farhan678 / adwhirl

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

House Ads not displaying correctly on iPhone 4 / iPad #211

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is preventing my team from using House Ads. Adwhirls house ads would be 
the best if they actually worked correctly! :)

Recreation steps:
1. Go to: https://www.adwhirl.com/houseAds/houseAds
2. Click Add House Ad
3. Enter name (Test House Ads), Goal (iPhone App Store), Goal URL 
(http://itunes.apple.com/us/app/facely-hd-for-facebook/id392550341?mt=8), Type 
(Banner)
4. Create 3 different sized ads (320x50 red, 480x75 green, 640x100 blue) each a 
different color with dimensions in text so you can tell for sure which one is 
displayed.
5. In Ad Network Settings, set house ads to 100% and run ads on 
iPhone/iPad/iPhone 4 to see them displayed.

Expected results:
1. 320x50 ad shows up only on iPhone
2. 480x75 ad shows up only on iPad
3. 640x100 ad shows up only on iPhone 4

Actual results:
1. 320x50 ad shows up on iPhone, iPad (unexpected), and iPhone 4 occasionally 
(unexpected)
2. 480x75 ad does not appear anywhere (unexpected)
3. 640x100 ad shows up at half width/height on iPhone 4 (unexpected)

Screenshots:
http://dl.dropbox.com/u/10203/Screenshots/AdWhirl-House-Ad-iPad-320x50.png
http://dl.dropbox.com/u/10203/Screenshots/AdWhirl-House-Ad-iPhone4-320x50.png
http://dl.dropbox.com/u/10203/Screenshots/AdWhirl-House-Ad-iPhone4-640x100-shrun
k.png

Ads uploaded:
http://dl.dropbox.com/u/10203/Screenshots/BannerAd-320x50.png
http://dl.dropbox.com/u/10203/Screenshots/BannerAd-480x75.png
http://dl.dropbox.com/u/10203/Screenshots/BannerAd-640x100.png

Image URLs returned to app by AdWhirl match URLs of images shown in the 
browser, which are all shrunk to 320x50:
{
    "img_url":"http://s3.amazonaws.com/adrollo-custom-images/c2220f68cb63640fa3ebd5e421459455.jpg",
    "img_url_640x100":"http://s3.amazonaws.com/adrollo-custom-images/5f14469bc5f1b8099b019184ea81a227.jpg", // actual size is 320x50
    "img_url_480x75":"http://s3.amazonaws.com/adrollo-custom-images/3262329ca4e869bea7866b217bfb50ad.jpg"   // actual size is 320x50
}

Other notes:

A little debugging with a proxy like Charles or Fiddler sheds further light on 
the problem. 
1. iPhone is grabbing the correct image
2. iPad is only requesting the iPhone image url
3. iPhone 4 is attempting to hit what appears to be the right url 
(img_url_640x100), but the image at that URL has been shrunk on the server: 
{"img_url_640x100":"http://s3.amazonaws.com/adrollo-custom-images/5f14469bc5f1b8
099b019184ea81a227.jpg"}
4. Mapping the remote "img_url_640x100" to a local file with the correct 
dimensions causes the ad to display correctly.

iPad:

http://mob.adwhirl.com/custom.php?appver=300&country_code=en_US&appid=6cf5a86b19
2245c387c02bb0cda90923&nid=6e1020f773444905bf0cd8c8242ab89f&client=1
{"img_url":"http://s3.amazonaws.com/adrollo-custom-images/c2220f68cb63640fa3ebd5
e421459455.jpg","img_url_640x100":"http://s3.amazonaws.com/adrollo-custom-images
/5f14469bc5f1b8099b019184ea81a227.jpg","img_url_480x75":"http://s3.amazonaws.com
/adrollo-custom-images/3262329ca4e869bea7866b217bfb50ad.jpg","redirect_url":"htt
p://bit.ly/facebookHD","metrics_url":"http://AdWhirlLB-473732162.us-east-1.elb.a
mazonaws.com/exclick.php?nid=6e1020f773444905bf0cd8c8242ab89f&appid=6cf5a86b1922
45c387c02bb0cda90923&type=9&appver=200","metrics_url2":"","ad_type":1,"ad_text":
"","link_type":2,"launch_type":1,"subtext":"","webview_animation_type":4}

320x50 icon displayed:
http://s3.amazonaws.com/adrollo-custom-images/c2220f68cb63640fa3ebd5e421459455.j
pg

iPhone:

http://mob.adwhirl.com/custom.php?appver=300&country_code=en_US&appid=bf827cdc53
5d466e8c5507060ae70150&nid=6e1020f773444905bf0cd8c8242ab89f&client=1
{"img_url":"http://s3.amazonaws.com/adrollo-custom-images/c2220f68cb63640fa3ebd5
e421459455.jpg","img_url_640x100":"http://s3.amazonaws.com/adrollo-custom-images
/5f14469bc5f1b8099b019184ea81a227.jpg","img_url_480x75":"http://s3.amazonaws.com
/adrollo-custom-images/3262329ca4e869bea7866b217bfb50ad.jpg","redirect_url":"htt
p://bit.ly/facebookHD","metrics_url":"http://AdWhirlLB-473732162.us-east-1.elb.a
mazonaws.com/exclick.php?nid=6e1020f773444905bf0cd8c8242ab89f&appid=bf827cdc535d
466e8c5507060ae70150&type=9&appver=200","metrics_url2":"","ad_type":1,"ad_text":
"","link_type":2,"launch_type":1,"subtext":"","webview_animation_type":4}

320x50 icon displayed:
http://s3.amazonaws.com/adrollo-custom-images/c2220f68cb63640fa3ebd5e421459455.j
pg

iPhone 4:

http://mob.adwhirl.com/custom.php?appver=300&country_code=en_US&appid=bf827cdc53
5d466e8c5507060ae70150&nid=6e1020f773444905bf0cd8c8242ab89f&client=1

{"img_url":"http://s3.amazonaws.com/adrollo-custom-images/c2220f68cb63640fa3ebd5
e421459455.jpg","img_url_640x100":"http://s3.amazonaws.com/adrollo-custom-images
/5f14469bc5f1b8099b019184ea81a227.jpg","img_url_480x75":"http://s3.amazonaws.com
/adrollo-custom-images/3262329ca4e869bea7866b217bfb50ad.jpg","redirect_url":"htt
p://bit.ly/facebookHD","metrics_url":"http://AdWhirlLB-473732162.us-east-1.elb.a
mazonaws.com/exclick.php?nid=6e1020f773444905bf0cd8c8242ab89f&appid=bf827cdc535d
466e8c5507060ae70150&type=9&appver=200","metrics_url2":"","ad_type":1,"ad_text":
"","link_type":2,"launch_type":1,"subtext":"","webview_animation_type":4}

Shrunk 320x50 version of 640x100 icon is displayed:
http://s3.amazonaws.com/adrollo-custom-images/5f14469bc5f1b8099b019184ea81a227.j
pg

http://mob.adwhirl.com/custom.php?appver=300&country_code=en_US&appid=bf827cdc53
5d466e8c5507060ae70150&nid=6e1020f773444905bf0cd8c8242ab89f&client=1
{"img_url":"http://s3.amazonaws.com/adrollo-custom-images/c2220f68cb63640fa3ebd5
e421459455.jpg","redirect_url":"http://bit.ly/facebookHD","metrics_url":"http://
AdWhirlLB-473732162.us-east-1.elb.amazonaws.com/exclick.php?nid=6e1020f773444905
bf0cd8c8242ab89f&appid=bf827cdc535d466e8c5507060ae70150&type=9&appver=200","metr
ics_url2":"","ad_type":1,"ad_text":"","link_type":2,"launch_type":1,"subtext":""
,"webview_animation_type":4}

Stretched 320x50 icon is displayed:
http://s3.amazonaws.com/adrollo-custom-images/c2220f68cb63640fa3ebd5e421459455.j
pg

Original issue reported on code.google.com by mos...@gmail.com on 14 Apr 2011 at 12:30

GoogleCodeExporter commented 9 years ago
We also can't use non-banner style house ads because of this bug:

http://code.google.com/p/adwhirl/issues/detail?id=209

Original comment by mos...@gmail.com on 14 Apr 2011 at 12:33

GoogleCodeExporter commented 9 years ago
Using the latest SDK:  
http://code.google.com/p/adwhirl/downloads/detail?name=AdWhirlSDK_iPhone_3.0.0.z
ip

Is there any way we can workaround this? I tried just uploading the 320x50 ad 
size, but then it appeared that no house ads were displayed on iPhone 4...

Original comment by mos...@gmail.com on 14 Apr 2011 at 12:34

GoogleCodeExporter commented 9 years ago
Taking a look now, thanks for all the debugging information.

Original comment by wesgood...@google.com on 14 Apr 2011 at 6:40

GoogleCodeExporter commented 9 years ago
This should be fixed now, you'll have to re-upload your 480x75 and 640x100 
creatives though.

Additionally, out of the box I imagine creatives will be 320x50 on the iPad, 
since its display scale defaults to 1.0.  However, if they run the app in 2x 
mode, it should pull the 640x100 creative.

Original comment by wesgood...@google.com on 14 Apr 2011 at 7:07