farhan678 / adwhirl

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

House Ad "Custom" adapter get priority even with low backfill priority #116

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set iAd 100% traffic, adMob 0% traffic and backfill priority 1
2. Set House Ads 0% traffic and backfill priority 2
3.

What is the expected output? What do you see instead?
I expect AdMob to be displayed if iAd fails, instead if iAd fails, AdWhirl is 
requesting House Ads withouth trying AdMob (see logs). It works as expected if 
the first call to iAd succeed.

What version of the product are you using? On what operating system?
Adwhirl 2.6.0 - IPhone SDK

Please provide any additional information below.
<Warning>: Fetched Ad network config: <AdWhirlConfig: 0x244010>:
    location_access:0 fg_color:UIDeviceRGBColorSpace 1 1 1 1 bg_color:UIDeviceRGBColorSpace 0 0 0 1 cycle_time:30.000000 transition:0 networks:(
        "name:admob type:1 nid:2350d41422144ce19279441ee9968e1b weight:0.000000 priority:1 creds:a14a60686d8f740",
        "name:iad type:19 nid:5a77b5bd509742b18cc8f6840da28410 weight:100.000000 priority:2 creds:288548458",
        "name:custom type:9 nid:b4fa0b4ae051476bb5078dba3c97288d weight:0.000000 priority:3 creds:__CUSTOM__",
        "name:custom type:9 nid:9ae1fbaa990f4262b7b514980ee3b33e weight:0.000000 priority:3 creds:__CUSTOM__",
        "name:custom type:9 nid:f71ffdd938be4441bb18dd71f99d1164 weight:0.000000 priority:3 creds:__CUSTOM__",
        "name:custom type:9 nid:e6533a73c2dc45eda40beb30eb8569c8 weight:0.000000 priority:3 creds:__CUSTOM__",
        "name:custom type:9 nid:32b0717635874133ae8351ed26a99e58 weight:0.000000 priority:3 creds:__CUSTOM__"
    )
 <Warning>: >>>> By Percent chosen 5a77b5bd509742b18cc8f6840da28410 (iad), dart 70.549571 in 100.000000
] <Warning>: ======== Refreshing ad due to timer ========
 <Warning>: Already has pending ad request for network type 19, not adding ad network config name:iad type:19 nid:5a77b5bd509742b18cc8f6840da28410 weight:100.000000 priority:2 creds:288548458
 <Warning>: Already requesting ad, will request a new one.
 <Warning>: >>>> By Percent chosen 32b0717635874133ae8351ed26a99e58 (custom), dart 0.000000 in 0.000000
<Warning>: Do not allow location access in custom ad
 <Warning>: Requesting custom ad at ?appver=260&country_code=fr_CH&appid=8080189b759647b7ad6bcd36386c107e&nid=32b0717635874133ae8351ed26a99e58&client=1 -- http://mob.adwhirl.com/custom.php
<Warning>: Got custom ad 'Get Name That Song Full Version' 
http://itunes.apple.com/us/app/name-that-song/id319392538?mt=8 
http://AdWhirlLB-473732162.us-east-1.elb.amazonaws.com/exclick.php?nid=b4fa0b4ae
051476bb5078dba3c97288d&appid=8080189b759647b7ad6bcd36386c107e&type=9&appver=200
 2 1 4
<Warning>: Request custom ad image at 
http://s3.amazonaws.com/adrollo-custom-images/9376c5c860fca16e6f590a077e5038b2.j
pg
 <Warning>: Received ad from adapter (nid 32b0717635874133ae8351ed26a99e58)

Original issue reported on code.google.com by stephane...@gmail.com on 2 Oct 2010 at 10:50

GoogleCodeExporter commented 9 years ago

Original comment by nigelc...@google.com on 7 Oct 2010 at 12:43

GoogleCodeExporter commented 9 years ago

Original comment by nigelc...@google.com on 7 Oct 2010 at 5:59

GoogleCodeExporter commented 9 years ago
This issue was closed by revision be65c5d6c5.

Original comment by nigelc...@google.com on 7 Oct 2010 at 9:47

GoogleCodeExporter commented 9 years ago
The issue is not fixed - iAd: 100%, AdMob:0%, Custom 0%
Priority: AdMob:1 Custom:2 iAd:3

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:07