Adwhirl SDK始终返回'Networkname - failure';适配器,调用句柄,一切都很好

时间:2010-11-22 12:24:57

标签: android networking admob adwhirl

嘿伙计们, sry,我的第三个问题属于这个主题,但它没有开始工作。

这是我的结果......每一次。 (包括所有罐子/适配器) - 它也是'有效适配器,调用句柄'的结果,但它也总是说'失败'

11-22 13:14:02.634: DEBUG/AdWhirl SDK(2621): Will call rotateAd() in 30 seconds
11-22 13:14:32.634: INFO/AdWhirl SDK(2621): Rotating Ad
11-22 13:14:32.634: DEBUG/AdWhirl SDK(2621): Dart is <48.07955443549056> of <100.0>
11-22 13:14:32.644: DEBUG/AdWhirl SDK(2621): Showing ad:
11-22 13:14:32.644: DEBUG/AdWhirl SDK(2621):     nid: 7e779e360983412dad4d46c180a3493c
11-22 13:14:32.644: DEBUG/AdWhirl SDK(2621):     name: admob
11-22 13:14:32.644: DEBUG/AdWhirl SDK(2621):     type: 1
11-22 13:14:32.644: DEBUG/AdWhirl SDK(2621):     key: a14c9xxxx1e3aacf01
11-22 13:14:32.644: DEBUG/AdWhirl SDK(2621):     key2: 
11-22 13:14:32.644: DEBUG/AdWhirl SDK(2621): Valid adapter, calling handle()
11-22 13:14:32.854: DEBUG/AdWhirl SDK(2621): AdMob failure
11-22 13:14:32.854: ERROR/AdWhirl SDK(2621): nextRation is null!
11-22 13:14:32.854: DEBUG/AdWhirl SDK(2621): Will call rotateAd() in 30 seconds
11-22 13:15:02.854: INFO/AdWhirl SDK(2621): Rotating Ad
11-22 13:15:02.854: DEBUG/AdWhirl SDK(2621): Dart is <31.576009879080946> of <100.0>
11-22 13:15:02.864: DEBUG/AdWhirl SDK(2621): Showing ad:
11-22 13:15:02.864: DEBUG/AdWhirl SDK(2621):     nid: 7e779e360983412dad4d46c180a3493c
11-22 13:15:02.864: DEBUG/AdWhirl SDK(2621):     name: admob
11-22 13:15:02.864: DEBUG/AdWhirl SDK(2621):     type: 1
11-22 13:15:02.864: DEBUG/AdWhirl SDK(2621):     key: a14cxxxxxacf01
11-22 13:15:02.864: DEBUG/AdWhirl SDK(2621):     key2: 
11-22 13:15:02.864: DEBUG/AdWhirl SDK(2621): Valid adapter, calling handle()
11-22 13:15:03.114: DEBUG/AdWhirl SDK(2621): AdMob failure
11-22 13:15:03.114: ERROR/AdWhirl SDK(2621): nextRation is null!
11-22 13:15:03.114: DEBUG/AdWhirl SDK(2621): Will call rotateAd() in 30 seconds
11-22 13:15:33.117: INFO/AdWhirl SDK(2621): Rotating Ad
11-22 13:15:33.117: DEBUG/AdWhirl SDK(2621): Dart is <74.7807305713731> of <100.0>
11-22 13:15:33.117: DEBUG/AdWhirl SDK(2621): Showing ad:
11-22 13:15:33.117: DEBUG/AdWhirl SDK(2621):     nid: 90728xxxx734a2669b1c15ebbfd9
11-22 13:15:33.117: DEBUG/AdWhirl SDK(2621):     name: zestadz
11-22 13:15:33.117: DEBUG/AdWhirl SDK(2621):     type: 20
11-22 13:15:33.117: DEBUG/AdWhirl SDK(2621):     key: 14131C047A50414B4Exxxxxxx146584xxx56838229
11-22 13:15:33.117: DEBUG/AdWhirl SDK(2621):     key2: 
11-22 13:15:33.117: DEBUG/AdWhirl SDK(2621): Valid adapter, calling handle()
11-22 13:15:36.274: DEBUG/AdWhirl SDK(2621): ZestADZ failure
11-22 13:15:36.274: ERROR/AdWhirl SDK(2621): nextRation is null!
11-22 13:15:36.274: DEBUG/AdWhirl SDK(2621): Will call rotateAd() in 30 seconds

我的代码,用于执行此操作:

AdWhirlTargeting.setTestMode(false);
AdManager.setTestDevices( new String[] { "5B7D2A0178D212B6E94E22A15725A3D3" } ); //my mobile

RelativeLayout layout = (RelativeLayout) this.findViewById(R.id.widget54xx);
AdWhirlLayout adWhirlLayout = new AdWhirlLayout(this, "548feca89xxadWhirlIDf482a");
adWhirlLayout.setAdWhirlInterface(this);

final int DIP_WIDTH = 320; 
final int DIP_HEIGHT = 52; 
final float DENSITY = getResources().getDisplayMetrics().density; 
int scaledWidth = (int) (DENSITY * DIP_WIDTH + 0.5f); 
int scaledHeight = (int) (DENSITY * DIP_HEIGHT + 0.5f); 

RelativeLayout.LayoutParams adWhirlLayoutParams =
 new RelativeLayout.LayoutParams(scaledWidth, scaledHeight);
adWhirlLayout.setBackgroundColor(Color.BLACK); //just for debug

layout.addView(adWhirlLayout, adWhirlLayoutParams);
layout.invalidate();

布局,一切似乎都很好。高度,应该工作(我的设备上的结果是52px),我真的不知道,这是什么问题。

最好的问候, 我会非常感谢任何提示, cV /迈克

1 个答案:

答案 0 :(得分:1)

如果没有可用于您的应用的广告,我认为这是结果。由于每个“最小的应用程序”都有广告,我真的不知道为什么我的应用程序没有可用的广告(大约7000个用户)

......不知道。

我通过adwhirl更改为千禧广告网络(同时使用两者)它总是提供广告..可惜那些不像admob广告......但至少有广告。

祝你好运,对于一个关于adob广告填充率的提示,也会非常高兴。