Haven't yet ventured in to iAd territory and don't know any of the data objects involved, so could be off in left field here.....
Since you will always get the -bannerViewDidLoadAd: delegate callback, even for the test ad, would it be possible to look inside the ad data to see if it is the test ad and just ignore it? - h On Thu, Aug 4, 2011 at 09:03, Conrad Shultz <[email protected]>wrote: > Wow, if that's really the behavior then I'd say you should definitely file > a bug. > > Not only should users never see debug/test junk, but it would be ridiculous > for you to have to hard code region support... without an API how would you > handle addition or removal of a region? You shouldn't have to push out a new > app. > > FWIW, given the absence of mention of iAd at WWDC this year and the > publicized lack of enthusiasm among advertisers (at least in the US), I > would not be surprised to see iAd revamped or even dropped. But this is > purely speculative. > > (Sent from my iPhone.) > > -- > Conrad Shultz > www.synthetiqsolutions.com > > On Aug 4, 2011, at 1:28, Sasikumar JP <[email protected]> wrote: > > > Cornad, > > I guess, "Test Advertisement" displays even your region App store > > does not support iAD. I have seen many application in my device > > displays "Test Advertisement", as iAD not supported in my region. > > > > I agree with your approach,only if the delegate > > method(bannerViewDidLoadAd:) is not getting invoked for iAD not > > supported regions. But thats not the case, if Appstore supports iAD, > > it Displays real ad. otherwise it will display "Test Ad". Either case > > your delegate method would be invoked. > > > > Any one can confirm the behaviour of iAD in the not supported region. > > > > Thanks > > Sasikumar JP > > > > On Thu, Aug 4, 2011 at 1:33 PM, Conrad Shultz > > <[email protected]> wrote: > >> Full disclosure: I don't use iAd, so this is based on WWDC recollection > and doc lookup. > >> > >> The "Test Advertisement" I believe only displays when you are testing > during development. Users will never see it. > >> > >> Keep the banner view hidden until you receive a bannerViewDidLoadAd: > message in the ad delegate. Presumably this just won't get called in regions > that don't support iAd. > >> > >> You could setup a timer to load from other ad networks if you don't > receive an iAd within some predetermined period. > >> > >> (Sent from my iPad.) > >> > >> -- > >> Conrad Shultz > >> www.synthetiqsolutions.com > >> > >> On Aug 3, 2011, at 20:46, Sasikumar JP <[email protected]> wrote: > >> > >>> I am planning to use iAD for my iOS application. As the iAD available > >>> only in USA,UK,France,Italia,Deutschland,EspaƱa AppStores. > >>> > >>> I want to display iAD only for supported regions. This will avoid > >>> displaying "Test Advertisement" from iAD.I can use AdMob for all other > >>> regions. > >>> > >>> I am not sure, how to identify the iOS Device is used in supported > region? > >>> > >>> Any help is highly appreciated. > >>> > >>> Thanks > >>> > >>> Sasikumar JP > >>> _______________________________________________ > >>> > >>> Cocoa-dev mailing list ([email protected]) > >>> > >>> Please do not post admin requests or moderator comments to the list. > >>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com > >>> > >>> Help/Unsubscribe/Update your Subscription: > >>> > http://lists.apple.com/mailman/options/cocoa-dev/conrad%40synthetiqsolutions.com > >>> > >>> This email sent to [email protected] > >> > _______________________________________________ > > Cocoa-dev mailing list ([email protected]) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/hsiegel%40gmail.com > > This email sent to [email protected] > _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
