Ad provider, plugin and so on

Hello all,

I have implemented admob in my app, but I’m not happy with them.

So I think in changing…
I Heard about hyperbid, ironsource and so on…

I didn’t see how to implement them as there is no plugin for them.

From that, i Wonder where to go…
Is someone Could give me guidance for an ad provider easy to implement, ensuring médiation (wothout big job to do and contracts everywhere etc…)?

Thanks in advance

Yodo1 does multi-network mediation without needing to sign up for all the other networks, but they only have a Solar2D plugin for Android.

Appodeal requires you to sign up for AdMob and Facebook Audience Network, but I believe it handles the rest.

There are a couple of different developers with plugins for ironSource:


I recommend Appodeal too.
Also check Pollfish for surveys, couldn’t be easier to implement!
https://docs.coronalabs.com/plugin/pollfish/index.html

Thanks a lot for your lights :slight_smile:

Seems like Yodo1 is perfect for me and is really close from admob implementation, so code should not change a lot in fact :slight_smile:
Regarding the poll, that’s a funny aspect I might consider later on.

Thanks again for your help!

Hello I’ve gave a try to yodo1 but I have some trouble building the app :
Execution failed for task ‘:App:checkReleaseAarMetadata’.
22:02:40.751 > Could not resolve all files for configuration ‘:App:releaseRuntimeClasspath’.
22:02:40.751 > Could not resolve com.yodo1:advert-gp:3.13.0.
22:02:40.751 Required by:
22:02:40.751 project :App
22:02:40.751 > Could not resolve com.yodo1:advert-gp:3.13.0.
22:02:40.751 > Could not get resource ‘https://dl.bintray.com/yodo1/android-sdk/com/yodo1/advert-gp/3.13.0/advert-gp-3.13.0.pom’.
22:02:40.751 > Could not GET ‘https://dl.bintray.com/yodo1/android-sdk/com/yodo1/advert-gp/3.13.0/advert-gp-3.13.0.pom’. Received status code 403 from server: Forbidden

and many more error looking alike.
Any idea why ?
Maybe it’s because I just enroled my stuff on the website?

same thing here…just tried Yodo1

building the project fails with the below error … if you remove the plugin from build.settings build works perfectly but of course there will be no plugin to call if you run the app

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':App:checkReleaseAarMetadata'.
> Could not resolve all files for configuration ':App:releaseRuntimeClasspath'.
   > Could not resolve com.yodo1:advert-gp:3.13.0.
     Required by:
         project :App
      > Could not resolve com.yodo1:advert-gp:3.13.0.
         > Could not get resource 'https://dl.bintray.com/yodo1/android-sdk/com/yodo1/advert-gp/3.13.0/advert-gp-3.13.0.pom'.
            > Could not GET 'https://dl.bintray.com/yodo1/android-sdk/com/yodo1/advert-gp/3.13.0/advert-gp-3.13.0.pom'. Received status code 502 from server: Bad Gateway
   > Could not resolve com.google.firebase:firebase-messaging:[10.2.1, 17.3.99].
     Required by:
         project :App > com.onesignal:OneSignal:3.16.0
      > Skipped due to earlier error
      > Failed to list versions for com.google.firebase:firebase-messaging.
         > Unable to load Maven meta-data from https://applovin.bintray.com/Android-Adapter-SDKs/com/google/firebase/firebase-messaging/maven-metadata.xml.
            > Could not get resource 'https://applovin.bintray.com/Android-Adapter-SDKs/com/google/firebase/firebase-messaging/maven-metadata.xml'.
               > Could not GET 'https://applovin.bintray.com/Android-Adapter-SDKs/com/google/firebase/firebase-messaging/maven-metadata.xml'. Received status code 502 from server: Bad Gateway
   > Could not resolve com.google.android.gms:play-services-location:[10.2.1, 16.0.99].
     Required by:
         project :App > com.onesignal:OneSignal:3.16.0
      > Skipped due to earlier error
      > Skipped due to earlier error
      > Failed to list versions for com.google.android.gms:play-services-location.
         > Unable to load Maven meta-data from https://dl.bintray.com/ironsource-mobile/android-sdk/com/google/android/gms/play-services-location/maven-metadata.xml.
            > Could not get resource 'https://dl.bintray.com/ironsource-mobile/android-sdk/com/google/android/gms/play-services-location/maven-metadata.xml'.
               > Could not GET 'https://dl.bintray.com/ironsource-mobile/android-sdk/com/google/android/gms/play-services-location/maven-metadata.xml'. Received status code 502 from server: Bad Gateway
   > Could not resolve com.google.android.gms:play-services-ads-identifier:[15.0.0, 16.0.99].
     Required by:
         project :App > com.onesignal:OneSignal:3.16.0
      > Skipped due to earlier error
      > Skipped due to earlier error
      > Skipped due to earlier error
      > Failed to list versions for com.google.android.gms:play-services-ads-identifier.
         > Unable to load Maven meta-data from https://chartboostmobile.bintray.com/Chartboost/com/google/android/gms/play-services-ads-identifier/maven-metadata.xml.
            > Could not get resource 'https://chartboostmobile.bintray.com/Chartboost/com/google/android/gms/play-services-ads-identifier/maven-metadata.xml'.
               > Could not GET 'https://chartboostmobile.bintray.com/Chartboost/com/google/android/gms/play-services-ads-identifier/maven-metadata.xml'. Received status code 502 from server: Bad Gateway
   > Could not resolve com.google.android.gms:play-services-base:[10.2.1, 16.1.99].
     Required by:
         project :App > com.onesignal:OneSignal:3.16.0
      > Skipped due to earlier error
      > Skipped due to earlier error
      > Skipped due to earlier error
      > Skipped due to earlier error
      > Failed to list versions for com.google.android.gms:play-services-base.
         > Unable to load Maven meta-data from https://fyber.bintray.com/marketplace/com/google/android/gms/play-services-base/maven-metadata.xml.
            > Could not get resource 'https://fyber.bintray.com/marketplace/com/google/android/gms/play-services-base/maven-metadata.xml'.
               > Could not GET 'https://fyber.bintray.com/marketplace/com/google/android/gms/play-services-base/maven-metadata.xml'. Received status code 502 from server: Bad Gateway

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 30s
Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
Android build failed (1) after 32 seconds

This is my entire build.settings file

settings =
{
	orientation =
	{
		default = "portrait",
		supported = { "portrait", }
	},
	
	excludeFiles =
	{
		iphone = { "Icon-*dpi.png", },
		android = { "Icon.png", "Icon-Small-*.png", "Icon*@2x.png", },
	},
	splashScreen = 
    {
        enable = false,
    },
	
	android =
	{
		useGoogleServicesJson = true,
		minSdkVersion = "16",
		
		applicationChildElements =
        {
        	[[
                <meta-data android:name="com.google.android.gms.ads.APPLICATION_ID"
                    android:value="[ca-app-pub-4379781817126535~9277948043]"/>
                <meta-data
                    android:name="Yodo1ChannelCode"
                    android:value="GooglePlay"
                    tools:replace="android:value" />
            ]],

        },
		usesPermissions =
		{
			"android.permission.INTERNET",
			"android.permission.GET_ACCOUNTS",
			"android.permission.RECEIVE_BOOT_COMPLETED",
			"com.google.android.c2dm.permission.RECEIVE",
			".permission.C2D_MESSAGE",
            "android.permission.ACCESS_FINE_LOCATION",
            "android.permission.ACCESS_COARSE_LOCATION",
            "android.permission.CALL_PHONE",
            "android.permission.CAMERA",
            "android.permission.WRITE_EXTERNAL_STORAGE",
            "android.permission.RECORD_AUDIO",
		},
		permissions =
		{
			{ name = ".permission.C2D_MESSAGE", protectionLevel = "signature" },
		},

	},

	excludeFiles =
	{
		-- Exclude unnecessary files for each platform
		all = { "Icon.png", "Icon-*dpi.png", "Images.xcassets", },
		android = { "LaunchScreen.storyboardc", },
	},
	plugins =
	{
		["plugin.OneSignal"] =
	    {
	        publisherId = "com.onesignal",
	    },
	    ["plugin.google.iap.billing"] =
        {
            publisherId = "com.coronalabs"
        },        
        ["plugin.yodo1"] = 
		{
            publisherId = "com.solar2d",
        },
	    
	},

	iphone =
    {
       xcassets = "Images.xcassets",
		plist =
		{
			
			--UIBackgroundModes = {"remote-notification"},
			--NSMicrophoneUsageDescription = "voice recording",
			--NSSpeechRecognitionUsageDescription="Speech recognition will be used to capture user input and search for spoken words inside database of diagnosis and procedures related to the app",

	 		NSCameraUsageDescription = "This App Uses your Camera to allow you to take photos of your productsand submit them to bond App",


			CFBundleIdentifier  ="com.mawenlyapp.app" ,

			NSAppTransportSecurity = { NSAllowsArbitraryLoads=true },
        	NSLocationAlwaysUsageDescription = "GPS Location" ,
        	NSLocationWhenInUseUsageDescription = "This app will capture your gps location and save it in our database to let us know your location for delivery" ,
			UIStatusBarHidden = false,
			UIPrerenderedIcon = true, -- set to false for "shine" overlay
			UILaunchStoryboardName = "LaunchScreen",  -- Required!
		}
	},
}

I’ve never built with Yodo1- one of their reps reached out to me, but I decided not to move forward once I learned that their Solar2D implementation was strictly Android, and, frankly, looked like a work in progress.
I’d give their support team a holler- I wouldn’t be surprised if they connect you with the guy who wrote the plugin: helpdesk@yodo1.com

I’ve got in touch with yodo1 team, solar2D is not more supported and likely not to be again…