Apparently at GDC google announced some improvements to admob because of the play services connection - it's all part of the masterplan I think - I haven't looked at the info yet but it's supposed to be very good.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
version 1.4 (Android)Fixed Amazon ad refreshing bug (Android)Fixed Millenial ad size bug (Android)Fixed Adcolony video loading bug (Android)Fixed rare nullpointer exception bug (Android)Added AD_DISPLAYED event (Android)Chartboost updated SDK (IOS)Updated all SDKs (IOS)Added AD_DISPLAYED event (IOS)Fixed Alignment bug (IOS)Added type to events to know for which ad event was dispatched (IOS)Implemented hiding specific ad using hideAd(type) (IOS)Added loadAd to preload ads but without showing them (can dispatch AD_RECEIVED)
It works (v4vc)!!! "video" doesn't though - that says still downloading.
if adcolony then adcolony:showAd("v4vc") end
Tested on S3, Kindle fire, Nexus 7, Evo 3D
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
@ar2rsawseen, in the new version of Ads Interface(1.4) is not the file GoogleAdMobAdsSdk-6.4.1 .jar file in the folder libs.
When we can use AdsAbmob_Oldjar.java or AdsAbmob.java? We can use google-play-services with Admob?I believe that there are new rules from the August 1.
till 1st of August you can use any version you want, either AdsAdmob_OldJar with jar lib or AdsAdmob with Google Play services
After 1st of August When submitting to Google Play, you MUST use AdsAdmob with Google Play Service lib To any other markets you may still use AdsAdmob_OldJar with jar lib if you want. They will still serve the impressions
@ar2rsawseen it was telling it to you for if to anybody it him does not work.
Thanks for your explanation. To work admob only with google-play-services, do I have to put three folders of google-play-services_lib (libs, res, src)?
You need to download Google Play Lib and put its project in the same directory/workspace where your exported project is. Then you need to import Goolge Play Lib into eclipse Then you will be able to add it as Android library, no need to add it as a jar
Note: Google Play services 4.0.30 (released November 2013) and newer versions require Android 2.3 or higher. If your app supports Android 2.2, you can continue development with the Google Play services SDK, but must instead install Google Play services for Froyo from the SDK Manager.
Updated the ipad os to the latest one, then needed to update the iOS sdk since it wouldn't detect the device.
Getting 'Lexical or preprocessor issue' now:
In file included from AdTest/Plugins/Ads/frameworks/AdsRevmob.m:9:
AdTest/Plugins/Ads/frameworks/AdsRevmob.h:11:9: fatal error: 'RevMobAds/RevMobAds.h' file not found
#import <RevMobAds/RevMobAds.h>
Step 1: Extracted plugin/ads.rar and plopped it in the exported project's plugin folder. Step 2: Right click the project explorer and added the 'Ads' folder to 'Plugins' Step 3: Checked that the revmob framework is listed in 'General' Step 4: Go gooo goo....aww shucks.
Step 5: Removed RevMob framework from Plugins/Ads/frameworks in xcode->Clean Project->Add it back->Clean Project->Go gooo g...:|
Edit: needed flags settings, for some reason any set in final, empty on debug. Sorted.
btw: -all_load not needed for heyzap and vungle.
I have AdColony, heyzap, iAd, chartboost, vungle on these flags: -ObjC -fobjc-arc
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Comments
heyzap:loadAd("interstitial") will preload interstitial
heyzap:showAd("interstitial") will show interstitial
heyzap:loadAd("video") will preload video
heyzap:showAd("video") will show video
so if you want to preload both, you should call both
heyzap:loadAd("interstitial") and heyzap:loadAd("video")
If what you say means, that they internally can show videos for interstitial when they are available, then yes you can simply use "interstitial"
It seems Admob is not working if Google Play Service is not installed. I have just discovered this issue.
I have tested in a tablet without Google Play Service installed and I always got the same error:
admob AD_FAILED Google Play services is not available
So go back to older Admob library.
There is also AdsAdmob_OldJar.java file which you can rename to AdsAdmob.java to use with old lib
https://deluxepixel.com
version 1.4
(Android)Fixed Amazon ad refreshing bug
(Android)Fixed Millenial ad size bug
(Android)Fixed Adcolony video loading bug
(Android)Fixed rare nullpointer exception bug
(Android)Added AD_DISPLAYED event
(Android)Chartboost updated SDK
(IOS)Updated all SDKs
(IOS)Added AD_DISPLAYED event
(IOS)Fixed Alignment bug
(IOS)Added type to events to know for which ad event was dispatched
(IOS)Implemented hiding specific ad using hideAd(type)
(IOS)Added loadAd to preload ads but without showing them (can dispatch AD_RECEIVED)
if adcolony then
adcolony:showAd("v4vc")
end
Tested on S3, Kindle fire, Nexus 7, Evo 3D
https://deluxepixel.com
When we can use AdsAbmob_Oldjar.java or AdsAbmob.java?
We can use google-play-services with Admob?I believe that there are new rules from the August 1.
https://developers.google.com/mobile-ads-sdk/download#downloadandroid
Basically
till 1st of August you can use any version you want, either
AdsAdmob_OldJar with jar lib or
AdsAdmob with Google Play services
After 1st of August
When submitting to Google Play, you MUST use AdsAdmob with Google Play Service lib
To any other markets you may still use AdsAdmob_OldJar with jar lib if you want. They will still serve the impressions
I got an error looking like this in XCode:
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_CTTelephonyNetworkInfo", referenced from:
in the new adgoogle lib.
I solved this by adding CoreTelephony.framework in "Link Binary With Libraries".
@ar2rsawseen, you should at this to the doc.
Thanks for your explanation. To work admob only with google-play-services, do I have to put three folders of google-play-services_lib (libs, res, src)?
Dislikes: plicatibu
http://developer.android.com/tools/projects/projects-eclipse.html#ReferencingLibraryProject
Another issue, in ProjectName --> Properties --> Android -- Library --> Add --> nothing, it is empty, does not give me choice, only cancel/close
is there something is wrong?
Then you need to import Goolge Play Lib into eclipse
Then you will be able to add it as Android library, no need to add it as a jar
I already did but leaves errors in the logcat, I'm going to keep trying and I tell you.
is it obligatory to put minSdkVersion in 9?
The bad thing is that it raised very much the weight of the application.
minSdkVersion, I was saying it to you because of it:
mindSdkVersion 9 or 10
http://developer.android.com/google/play-services/setup.html
Note: Google Play services 4.0.30 (released November 2013) and newer versions require Android 2.3 or higher. If your app supports Android 2.2, you can continue development with the Google Play services SDK, but must instead install Google Play services for Froyo from the SDK Manager.
Getting 'Lexical or preprocessor issue' now:
If that does not help, then there might be issues with RevMob and will check then
Step 2: Right click the project explorer and added the 'Ads' folder to 'Plugins'
Step 3: Checked that the revmob framework is listed in 'General'
Step 4: Go gooo goo....aww shucks.
Step 5: Removed RevMob framework from Plugins/Ads/frameworks in xcode->Clean Project->Add it back->Clean Project->Go gooo g...:|
http://stackoverflow.com/questions/17250638/revmobads-revmobads-h-file-not-found
http://giderosmobile.com/forum/discussion/2468/adcolony-plugin-for-ios-video-ads-network/p1
Edit: needed flags settings, for some reason any set in final, empty on debug. Sorted.
btw: -all_load not needed for heyzap and vungle.
I have AdColony, heyzap, iAd, chartboost, vungle on these flags: -ObjC -fobjc-arc
https://deluxepixel.com
Likes: SinisterSoft