I am a bit confused about what to do.
I have installed Moblicx SDK 4.4.4.
I read here (http://blog.mobclix.com/2010/07/13/mobclix-ios-sdk-4-1-now-available/) that nothing special is necessary to implement iAd and AdMob, just enable iAds and add the framework (I did that) and add the AdMob SDK to my projet (also did that). And make all the calls to Mobclix functions. I did all that too.
But it is confusing since in my dashboard when I enabled those networks it said "You are responsible for implementing the logic in your application to handle the requests from this network".
So now.. my question is.. is it enough just to do this, so the Mobclix will handle everything else?
-(BOOL)adView:(MobclixAdView*)adView shouldHandleSuballocationRequest:(MCAdsSuballocationType)suballocationType
{
if (suballocationType == kMCAdsSuballocationAdMob) return YES;
if (suballocationType == kMCAdsSuballocationIAd) return YES;
return NO;
}
When I run my app I see the test add, but how do I know the iAds and AdMob are setup correctly?
Thanks for any help
Ok, the answers are actually in the Documentation folder when you downloaded Mobclix SDK. I just copied the actual SDK folder and did not really see other folder in the ZIP file. Anyway, after reading the documentation, what you did is right. But you are missing one more delegate, and that is to handle admob ads publisher id.
-(NSString *)adView:(MobclixAdView *)adView publisherKeyForSuballocationRequest:(MCAdsSuballocationType)suballocationType {
return #"You Admob ID Here";
}
Also to answer about why you are just getting test ads - have you properly set the Test Ads settings in mobclix dashboard to off for the ad size that you are using? Check the settings properly. Also, for testing admob, you can just put allocation for admob to 100%. I just did this and admob is showing fine in my app through mobclix. Hope that helps.
Related
first, I hope I understand because I can not speak English well.
I am using Unity. Unity version is 5.6.1f1.
Admob version and Adcolony version is latest.
Originally, Using Admob + Unity Ads mediation.
At this time, admob banner load and show successfull.
after, i'm add the AdColoy.
but, admob banner load fail.
so, Test the admob test banner, result is load succeeded.
I do not know why the banner failed ad requests.
adUnitId is no problem.
Please help me if you have any experience with this or if you know the solution.
Let me get this straight. After you integrated AdColony, your admob banners stopped showing. But they do work when you try to show test banners. I'm assuming this is on android.
If test ads work, and real ads don't, then there's probably something wrong on the Admob dashboard. For example, you may have an X ads limit for the active campaign, perhaps you hit that limit while testing the app - if that is the case, the change in behavior has nothing to do with adding AdColony.
If Admob and AdColony have no conflicting jars that you deleted while trying to make the build work, then it's either a problem on the dashboard or with your AdManager that is loading/showing the ads.
I have configured admob first time with my IOS app. When I run the app in the simulator it looks like in the image.I don't whether admob is configured correctly or not.Any help will be appreciable.Thanks in advance.
Here is my code :
self.viewAdvertisement.adUnitID = AD_BANNER_ID;
self.viewAdvertisement.rootViewController = self;
[self.viewAdvertisement loadRequest:[GADRequest request]];
Here it seems that you have configured correctly. And the latest Admob SDK now providing by default test Ads when running in the simulator. And when you run in your device then it will provide the real advertisement if ad identifier is not added in the test devices array.
So, just make sure you added the correct Admob ID which you registered using your account. The rest of the things are absolutely correct without any problem. Cheers :)
http://bees4honey.com/blog/tutorial/how-to-add-iad-banner-in-iphoneipad-app/
I already do something like that link.. and it is working..
but I am still confuse, is the IAd already done? or I have to setting first become my simple application launch?
because when I run that application at simulator the banner show "Test Advertisement" and also with a real device..
If I have to setting the IAd, can anyone tell me how I can do that?
firstly, thanks
basically we put that iad thingy. insert that in application. publish the application and wait money coming in?
Am I seeing test ads because I haven't published my ads yet?
You said that iAd is running on your simulator and real device. So you are done with iAd. I thought you have configured iAd in iTunes account. So no need to change any settings.
I want to integrate iAd and adMob in My application.
I have also integrate it successfully. when iAd in not able to load at that time adMob is come. adMob is working fine when I have test is using test Mode .
But when I have upload to appstore and download in my device It show me the iAd with "Test Advertisement" and not able to load adMob in device when test mode is off.
Can any one help me to find out solution of this problem.
If you aren't using it already you should integrate adwhirl into your app, it will choose between iad and admob automatically. Now, just because you have requests being sent doesn't necessarily mean they are going to get filled, so admob won't always show. Also make sure that you have all the requirements for iad filled out on itunes connect, if you don't have taxes, etc filled out apple will not send you any ads.
Hope that answers your question, sorry I'm a little unclear as to what you're asking.
This has been driving me insane, so any help would be massively appreciated...
A client wants me to develop a prototype iAd-supported version of their existing iPhone app. They have done all the admin side of things to set up iAds. I have created a new target for the app with the iAd code added, but when I run it either in the simulator or on the device I just get bannerView:didFailToReceiveAdWithError: invoked with the message "The operation couldn’t be completed. Ad inventory unavailable".
Question 1: Should test ads appear in any old app, or do even test ads depend on the app being somehow registered for iAds?
Question 2: How can I enable the iAd Network in iTunes Connect for an app still in development? When I go to ITC and try to enable the iAd Network, it seems to expect me to do it on an existing (released) app, but it won't let me change the settings because the app is not in an "editable" state. And I don't want to edit the app anyway, since the iAds are intended for a new, as yet unreleased version. So what do I do for an unreleased app?
I'm amazed that I can't find an answer on these - they seem like fundamental questions...
Question 2: When you get the editable state error on itunesconnect, this is because it's trying to setup iAds on the current version (which if submitted will never had iAds as it has been submitted! - this is what it means by not an editible state).
You need to add a new version (which will be the next version you upload) and then click on the 'Set Up iAd Network' button. Then it will work!
There must be something wrong. I just create a test project, and added 3 lines of code. And I can see test ads.
And I can't remember that I configured anything for my app which is in the app store. Neither in itunes connect nor in the developer portal.
But I usually forget where I put my keys, so YMMV.
To confirm that this is a problem with your app and not your computer and/or internet connection I would create a new View based Project.
Add this to your viewDidLoad method
ADBannerView *adView = [[[ADBannerView alloc] initWithFrame:CGRectZero] autorelease];
adView.delegate = self;
[self.view addSubview:adView];
add the iAd framework and import the <iAd/iAd.h> header.
And see if this works. For me it does.