farhan678 / adwhirl

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

ZestADZ ad aspect ratio distorted on WVGA800 (480x800) screens #163

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set up AdWhirl with ZestADZ SDK (plus others for comparison if desired) 
largely by following the Android Instructions, but with the following XML 
implementation instead of the programmatic View insertion:
2. Layout XML:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/mainlayout" android:layout_width="fill_parent"
    android:layout_height="fill_parent">
    <com.adwhirl.AdWhirlLayout android:id="@+id/adwhirl_layout"
        android:layout_width="wrap_content" android:layout_height="wrap_content"
        android:maxHeight="53dip" android:layout_centerHorizontal="true"
        android:layout_alignParentTop="@id/mainlayout" />
</RelativeLayout>
3. In onCreate():
        AdWhirlManager.setConfigExpireTimeout(1000 * 60 * 5);
        AdWhirlTargeting.setKeywords("games");
        AdWhirlTargeting.setTestMode(true);
4. Wait for a ZestADZ ad to be served on an Emulator with a WVGA800 skin (or a 
real device such as a Google Nexus One)
5. The ad looks horribly squashed, so is no good for production apps.

What is the expected output? What do you see instead?
* Actual: The ads take up the full width of the screen, but only half of the 
available height (53dps), so they appear stretched
* Expected: The ads should have the correct aspect ratio, either by taking up 
less width or (preferably) more height

What version of the product are you using? On what operating system?
* Android 2.1-update1 (see build from logcat)
* AdWhirl 2.6
* ZestADZ version 1.2
* AdMob: admob-sdk-android_20101109
* Millennial Media version 3.6.3-10.10.26

Please provide any additional information below.
1. All other ad networks show correct aspect ratio
2. Logcat from device:
I/AdWhirl SDK( 5659): Rotating Ad
D/AdWhirl SDK( 5659): Dart is <81.69501187913771> of <100.0>
D/AdWhirl SDK( 5659): Showing ad:
D/AdWhirl SDK( 5659):   nid: bbda567adb214b7d92482d0292e32513
D/AdWhirl SDK( 5659):   name: zestadz
D/AdWhirl SDK( 5659):   type: 20
D/AdWhirl SDK( 5659):   key: --------------------------
D/AdWhirl SDK( 5659):   key2: 
D/AdWhirl SDK( 5659): Valid adapter, calling handle()
I/ZestADZ SDK( 5659): Adclient ID set to --------------------------
V/Formed URL( 5659): 
http://a.zestadz.com/waphandler/deliverad?ua=Mozilla%2F5.0+%28Linux%3B+U%3B+Andr
oid+2.2.1%3B+en-gb%3B+Nexus+One+Build%2FFRG83D%29+AppleWebKit%2F533.1+%28KHTML%2
C+like+Gecko%29+Version%2F4.0+Mobile+Safari%2F533.1&ip=&cid=--------------------
------&meta=game&keyword=All

Original issue reported on code.google.com by d...@bigred5.com on 6 Jan 2011 at 12:12

Attachments:

GoogleCodeExporter commented 9 years ago
Have you been able to reproduce this issue with the latest version of the 
AdWhirl SDK?

Original comment by wesgood...@google.com on 30 Nov 2011 at 8:59