Hi guys
I may be missing something pretty simple here but I need help...
So I have been trying to use ad mediation through AdMob for quite some time with little success. Anyway owing to appalling fill rates I thought I will give it a go. The network of choice was Tappx. So using a mixture of the previous posts I have made good progress.
I now use pretty much the standard implementation of AdMob. With additions to the manifest editor
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
I have then added the additional lines
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
This is all pretty much as per the guides... and the great news is when I run the app I either get an Admob ad or a Tappx one.
So... Then it comes to using the adverts and my observation is that when you load the ad the Ad_ReceiveAd sub is run whether the loaded ad is Admob or Tappx...
However, when the ad is a Tappx ad other subs such as Ad_AdScreenDismissed, Sub ad_presentscreen do not fire when they should which currently limits my ability to control the flow of the app. When the ad is Admob the subs fire exactly as they always have and should. It is only on the Mediated Tappx ad's where this does not work :-(
So the question is guys what am I missing. If you need to know anything more from me please just ask.
Thanks in advance for any assistance
Chris
			
			I may be missing something pretty simple here but I need help...
So I have been trying to use ad mediation through AdMob for quite some time with little success. Anyway owing to appalling fill rates I thought I will give it a go. The network of choice was Tappx. So using a mixture of the previous posts I have made good progress.
I now use pretty much the standard implementation of AdMob. With additions to the manifest editor
			
				B4X:
			
		
		
		'************ Tappx (Start) *****************
CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)
AddPermission(android.permission.INTERNET)
AddPermission(android.permission.ACCESS_NETWORK_STATE)
AddApplicationText(
<!-- Tappx Activities -->
<activity
    android:name="com.tappx.sdk.android.AdActivity"
    android:configChanges="keyboardHidden|orientation|screenSize" />
<activity
    android:name="com.tappx.sdk.android.InterstitialAdActivity"
    android:configChanges="keyboardHidden|orientation|screenSize"
    android:theme="@style/Transparent" />
<activity
    android:name="com.tappx.sdk.android.VideoAdActivity"
    android:configChanges="keyboardHidden|orientation|screenSize" />
<service android:name="com.tappx.sdk.android.TrackInstallIntentService" />
<!-- AdActivity from Google Play Services,, needed by Tappx -->
<activity
    android:name="com.google.android.gms.ads.AdActivity"
            android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
    android:theme="@android:style/Theme.Translucent" />
<receiver
        android:name="com.tappx.sdk.android.TrackInstallReceiver"
        android:exported="true">
    <intent-filter>
        <action android:name="com.android.vending.INSTALL_REFERRER"/>
    </intent-filter>
</receiver>
)
'************ Tappx (End) *****************
	I have then added the additional lines
			
				B4X:
			
		
		
		    #AdditionalJar: tappx-sdk-3.1.3.aar
    #AdditionalJar: com.google.android.gms:play-services-ads
	This is all pretty much as per the guides... and the great news is when I run the app I either get an Admob ad or a Tappx one.
So... Then it comes to using the adverts and my observation is that when you load the ad the Ad_ReceiveAd sub is run whether the loaded ad is Admob or Tappx...
However, when the ad is a Tappx ad other subs such as Ad_AdScreenDismissed, Sub ad_presentscreen do not fire when they should which currently limits my ability to control the flow of the app. When the ad is Admob the subs fire exactly as they always have and should. It is only on the Mediated Tappx ad's where this does not work :-(
So the question is guys what am I missing. If you need to know anything more from me please just ask.
Thanks in advance for any assistance
Chris