farhan678 / adwhirl

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

issue ads are not showing #200

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.hey i am android developer and i am using admob and millennial media.
admob giving invalid adapter and millennial media is not giving Exception but 
it is not showing ads also using adwhirl integration. but when  i am using 
millennial media's own MMAdView den it is showing ads properly. so i want to 
know we should use each ad networks own Ad View.
2.
3.i am giving my LOG cat

03-29 11:26:01.950: INFO/System.out(224): PAKGEcom.advert.view
03-29 11:26:01.981: INFO/AdWhirl SDK(224): Creating adWhirlManager...
03-29 11:26:01.981: DEBUG/AdWhirl SDK(224): Locale is: en_US
03-29 11:26:01.981: DEBUG/AdWhirl SDK(224): Hashed device ID is: 
7d1dd13a2fa91c0ad174cb69a11549a3
03-29 11:26:01.981: INFO/AdWhirl SDK(224): Finished creating adWhirlManager
03-29 11:26:02.201: DEBUG/AdWhirl SDK(224): 
Prefs{740419a201c54115b531bd521a901b69}: {"config": 
"{"extra":{"location_on":0,"background_color_rgb":{"red":255,"green":255,"blue":
255,"alpha":1},"text_color_rgb":{"red":0,"green":0,"blue":0,"alpha":1},"cycle_ti
me":30,"transition":8},"rations":[{"nid":"33957f59b23c4ea4b9b35b38b828b20c","typ
e":6,"nname":"millennial","weight":100,"priority":1,"key":"39614"}]}
03-29 11:26:02.201: DEBUG/AdWhirl SDK(224): ", "timestamp": 1301320052704}
03-29 11:26:02.201: INFO/AdWhirl SDK(224): Stored config info not present or 
expired, fetching fresh data
03-29 11:26:02.220: DEBUG/AdWhirl SDK(224): Hashed device ID is: 
7d1dd13a2fa91c0ad174cb69a11549a3
03-29 11:26:02.220: INFO/AdWhirl SDK(224): Finished creating adWhirlManager
03-29 11:26:02.220: DEBUG/AdWhirl SDK(224): 
Prefs{740419a201c54115b531bd521a901b69}: {"config": 
"{"extra":{"location_on":0,"background_color_rgb":{"red":255,"green":255,"blue":
255,"alpha":1},"text_color_rgb":{"red":0,"green":0,"blue":0,"alpha":1},"cycle_ti
me":30,"transition":8},"rations":[{"nid":"33957f59b23c4ea4b9b35b38b828b20c","typ
e":6,"nname":"millennial","weight":100,"priority":1,"key":"39614"}]}
03-29 11:26:02.220: DEBUG/AdWhirl SDK(224): ", "timestamp": 1301320052704}
03-29 11:26:02.220: INFO/AdWhirl SDK(224): Stored config info not present or 
expired, fetching fresh data
03-29 11:26:02.620: INFO/ActivityManager(53): Displayed activity 
com.android.launcher/.Launcher: 33828 ms (total 33828 ms)
03-29 11:26:02.690: DEBUG/ddm-heap(190): Got feature list request
03-29 11:26:02.700: DEBUG/ddm-heap(209): Got feature list request
03-29 11:26:02.731: DEBUG/ddm-heap(174): Got feature list request
03-29 11:26:02.751: DEBUG/ddm-heap(120): Got feature list request
03-29 11:26:02.761: DEBUG/ddm-heap(154): Got feature list request
03-29 11:26:02.830: DEBUG/ddm-heap(139): Got feature list request
03-29 11:26:03.521: DEBUG/dalvikvm(224): GC freed 2789 objects / 201512 bytes 
in 118ms
03-29 11:26:03.640: DEBUG/AdWhirl SDK(224): HTTP/1.1 200 OK
03-29 11:26:03.691: DEBUG/AdWhirl SDK(224): Received jsonString: 
{"extra":{"location_on":0,"background_color_rgb":{"red":255,"green":255,"blue":2
55,"alpha":1},"text_color_rgb":{"red":0,"green":0,"blue":0,"alpha":1},"cycle_tim
e":30,"transition":8},"rations":[{"nid":"33957f59b23c4ea4b9b35b38b828b20c","type
":6,"nname":"millennial","weight":50,"priority":1,"key":"39614"},{"nid":"624286b
14fc244b482545b8cf6c01535","type":1,"nname":"admob","weight":50,"priority":2,"ke
y":"a14d908eaec29a1"}]}
03-29 11:26:03.711: INFO/AdWhirl SDK(224): Rotating Ad
03-29 11:26:03.720: DEBUG/AdWhirl SDK(224): Dart is <92.79953766019719> of 
<100.0>
03-29 11:26:03.740: DEBUG/AdWhirl SDK(224): Showing ad:
03-29 11:26:03.740: DEBUG/AdWhirl SDK(224):     nid: 
624286b14fc244b482545b8cf6c01535
03-29 11:26:03.740: DEBUG/AdWhirl SDK(224):     name: admob
03-29 11:26:03.740: DEBUG/AdWhirl SDK(224):     type: 1
03-29 11:26:03.740: DEBUG/AdWhirl SDK(224):     key: a14d908eaec29a1
03-29 11:26:03.740: DEBUG/AdWhirl SDK(224):     key2: 
03-29 11:26:03.761: INFO/dalvikvm(224): Failed resolving 
Lcom/adwhirl/adapters/AdMobAdapter; interface 248 
'Lcom/admob/android/ads/AdListener;'
03-29 11:26:03.761: WARN/dalvikvm(224): Link of class 
'Lcom/adwhirl/adapters/AdMobAdapter;' failed
03-29 11:26:03.771: WARN/AdWhirl SDK(224): Caught an exception in adapter:
03-29 11:26:03.771: WARN/AdWhirl SDK(224): java.lang.Exception: Invalid adapter
03-29 11:26:03.771: WARN/AdWhirl SDK(224):     at 
com.adwhirl.adapters.AdWhirlAdapter.handle(AdWhirlAdapter.java:163)
03-29 11:26:03.771: WARN/AdWhirl SDK(224):     at 
com.adwhirl.AdWhirlLayout.handleAd(AdWhirlLayout.java:222)
03-29 11:26:03.771: WARN/AdWhirl SDK(224):     at 
com.adwhirl.AdWhirlLayout.access$3(AdWhirlLayout.java:205)
03-29 11:26:03.771: WARN/AdWhirl SDK(224):     at 
com.adwhirl.AdWhirlLayout$HandleAdRunnable.run(AdWhirlLayout.java:390)
03-29 11:26:03.771: WARN/AdWhirl SDK(224):     at 
android.os.Handler.handleCallback(Handler.java:587)
03-29 11:26:03.771: WARN/AdWhirl SDK(224):     at 
android.os.Handler.dispatchMessage(Handler.java:92)
03-29 11:26:03.771: WARN/AdWhirl SDK(224):     at 
android.os.Looper.loop(Looper.java:123)
03-29 11:26:03.771: WARN/AdWhirl SDK(224):     at 
android.app.ActivityThread.main(ActivityThread.java:4363)
03-29 11:26:03.771: WARN/AdWhirl SDK(224):     at 
java.lang.reflect.Method.invokeNative(Native Method)
03-29 11:26:03.771: WARN/AdWhirl SDK(224):     at 
java.lang.reflect.Method.invoke(Method.java:521)
03-29 11:26:03.771: WARN/AdWhirl SDK(224):     at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
03-29 11:26:03.771: WARN/AdWhirl SDK(224):     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
03-29 11:26:03.771: WARN/AdWhirl SDK(224):     at 
dalvik.system.NativeStart.main(Native Method)
03-29 11:26:03.781: DEBUG/AdWhirl SDK(224): Showing ad:
03-29 11:26:03.781: DEBUG/AdWhirl SDK(224):     nid: 
33957f59b23c4ea4b9b35b38b828b20c
03-29 11:26:03.781: DEBUG/AdWhirl SDK(224):     name: millennial
03-29 11:26:03.781: DEBUG/AdWhirl SDK(224):     type: 6
03-29 11:26:03.781: DEBUG/AdWhirl SDK(224):     key: 39614
03-29 11:26:03.781: DEBUG/AdWhirl SDK(224):     key2: 
03-29 11:26:03.791: DEBUG/AdWhirl SDK(224): Valid adapter, calling handle()
03-29 11:26:03.791: DEBUG/MillennialMediaAdSDK(224): New MMAdView Started
03-29 11:26:03.820: INFO/MillennialMediaAdSDK(224): Activity: 
ActivityInfo{43b7e010 com.millennialmedia.android.VideoPlayer}
03-29 11:26:03.830: INFO/MillennialMediaAdSDK(224): Activity: 
ActivityInfo{43b984f0 com.millennialmedia.android.MMAdViewOverlayActivity}
03-29 11:26:03.871: DEBUG/MillennialMediaAdSDK(224): callForAd
03-29 11:26:03.880: ERROR/MillennialMediaAdSDK(224): MMAdView found without a 
view id. Ad requests on this MMAdView are disabled.
03-29 11:26:03.957: DEBUG/AdWhirl SDK(224): HTTP/1.1 200 OK
03-29 11:26:03.970: DEBUG/AdWhirl SDK(224): Received jsonString: 
{"extra":{"location_on":0,"background_color_rgb":{"red":255,"green":255,"blue":2
55,"alpha":1},"text_color_rgb":{"red":0,"green":0,"blue":0,"alpha":1},"cycle_tim
e":30,"transition":8},"rations":[{"nid":"33957f59b23c4ea4b9b35b38b828b20c","type
":6,"nname":"millennial","weight":50,"priority":1,"key":"39614"},{"nid":"624286b
14fc244b482545b8cf6c01535","type":1,"nname":"admob","weight":50,"priority":2,"ke
y":"a14d908eaec29a1"}]}
03-29 11:26:03.980: INFO/AdWhirl SDK(224): Rotating Ad
03-29 11:26:03.980: DEBUG/AdWhirl SDK(224): Dart is <80.72741393054451> of 
<100.0>
03-29 11:26:03.990: DEBUG/AdWhirl SDK(224): Showing ad:
03-29 11:26:03.990: DEBUG/AdWhirl SDK(224):     nid: 
624286b14fc244b482545b8cf6c01535
03-29 11:26:03.990: DEBUG/AdWhirl SDK(224):     name: admob
03-29 11:26:03.990: DEBUG/AdWhirl SDK(224):     type: 1
03-29 11:26:03.990: DEBUG/AdWhirl SDK(224):     key: a14d908eaec29a1
03-29 11:26:03.990: DEBUG/AdWhirl SDK(224):     key2: 
03-29 11:26:03.990: INFO/dalvikvm(224): Failed resolving 
Lcom/adwhirl/adapters/AdMobAdapter; interface 248 
'Lcom/admob/android/ads/AdListener;'
03-29 11:26:03.990: WARN/dalvikvm(224): Link of class 
'Lcom/adwhirl/adapters/AdMobAdapter;' failed
03-29 11:26:04.000: WARN/AdWhirl SDK(224): Caught an exception in adapter:
03-29 11:26:04.000: WARN/AdWhirl SDK(224): java.lang.Exception: Invalid adapter
03-29 11:26:04.000: WARN/AdWhirl SDK(224):     at 
com.adwhirl.adapters.AdWhirlAdapter.handle(AdWhirlAdapter.java:163)
03-29 11:26:04.000: WARN/AdWhirl SDK(224):     at 
com.adwhirl.AdWhirlLayout.handleAd(AdWhirlLayout.java:222)
03-29 11:26:04.000: WARN/AdWhirl SDK(224):     at 
com.adwhirl.AdWhirlLayout.access$3(AdWhirlLayout.java:205)
03-29 11:26:04.000: WARN/AdWhirl SDK(224):     at 
com.adwhirl.AdWhirlLayout$HandleAdRunnable.run(AdWhirlLayout.java:390)
03-29 11:26:04.000: WARN/AdWhirl SDK(224):     at 
android.os.Handler.handleCallback(Handler.java:587)
03-29 11:26:04.000: WARN/AdWhirl SDK(224):     at 
android.os.Handler.dispatchMessage(Handler.java:92)
03-29 11:26:04.000: WARN/AdWhirl SDK(224):     at 
android.os.Looper.loop(Looper.java:123)
03-29 11:26:04.000: WARN/AdWhirl SDK(224):     at 
android.app.ActivityThread.main(ActivityThread.java:4363)
03-29 11:26:04.000: WARN/AdWhirl SDK(224):     at 
java.lang.reflect.Method.invokeNative(Native Method)
03-29 11:26:04.000: WARN/AdWhirl SDK(224):     at 
java.lang.reflect.Method.invoke(Method.java:521)
03-29 11:26:04.000: WARN/AdWhirl SDK(224):     at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
03-29 11:26:04.000: WARN/AdWhirl SDK(224):     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
03-29 11:26:04.000: WARN/AdWhirl SDK(224):     at 
dalvik.system.NativeStart.main(Native Method)
03-29 11:26:04.011: DEBUG/AdWhirl SDK(224): Showing ad:
03-29 11:26:04.011: DEBUG/AdWhirl SDK(224):     nid: 
33957f59b23c4ea4b9b35b38b828b20c
03-29 11:26:04.011: DEBUG/AdWhirl SDK(224):     name: millennial
03-29 11:26:04.011: DEBUG/AdWhirl SDK(224):     type: 6
03-29 11:26:04.011: DEBUG/AdWhirl SDK(224):     key: 39614
03-29 11:26:04.011: DEBUG/AdWhirl SDK(224):     key2: 
03-29 11:26:04.011: DEBUG/AdWhirl SDK(224): Valid adapter, calling handle()
03-29 11:26:04.021: DEBUG/MillennialMediaAdSDK(224): New MMAdView Started
03-29 11:26:04.041: INFO/MillennialMediaAdSDK(224): Activity: 
ActivityInfo{43c32360 com.millennialmedia.android.VideoPlayer}
03-29 11:26:04.041: INFO/MillennialMediaAdSDK(224): Activity: 
ActivityInfo{43c32c58 com.millennialmedia.android.MMAdViewOverlayActivity}
03-29 11:26:04.051: DEBUG/MillennialMediaAdSDK(224): callForAd
03-29 11:26:04.051: ERROR/MillennialMediaAdSDK(224): MMAdView found without a 
view id. Ad requests on this MMAdView are disabled.
03-29 11:27:52.920: DEBUG/KeyguardViewMediator(53): pokeWakelock(5000)
03-29 11:27:53.020: INFO/ActivityManager(53): Displayed activity 
com.advert.view/.advert: 111812 ms (total 111812 ms)
03-29 11:27:53.040: INFO/ARMAssembler(53): generated 
scanline__00000077:03545404_00000A04_00000000 [ 29 ipp] (51 ins) at 
[0x2ffc38:0x2ffd04] in 1004403 ns
03-29 11:27:53.080: INFO/ARMAssembler(53): generated 
scanline__00000177:03515104_00001A01_00000000 [ 73 ipp] (98 ins) at 
[0x3022a8:0x302430] in 1470160 ns

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

What version of the product are you using? On what operating system?
i am using android 2.1

Please provide any additional information below.

Original issue reported on code.google.com by bhagyash...@gmail.com on 29 Mar 2011 at 6:01

GoogleCodeExporter commented 9 years ago
We need to make an update to the MM adapter so that it will work with their 
latest SDK release.  The adapter for the Google AdMob Ads SDK hasn't been 
released yet, which is why you're getting an error with that one.  There are 
already bugs for these things, so I'm closing this one out.

Original comment by wesgood...@google.com on 29 Mar 2011 at 2:49