Comments (14)
AdMob native ads has a requirement where we had to overlay their SDK's GADNativeAdView
on top of the view the native ad is rendered on (adapter code ref: here).
I would advise moving the "Remove Ad" button outside or modifying the specified adapter code to fit your needs.
from applovin-max-sdk-ios.
@thomasmso I disabled admob from mediation. However, the sdk still seems to be putting this GADNativeAdView even when there is fill from applovin network?
also, the cta button for the ad is sometimes not clickable, despite it being correctly filled by the cta text from the sdk
from applovin-max-sdk-ios.
Technically impossible - please allow ~an hour for network changes from the UI to take place.
Can you inspect the MANativeAdView.callToActionButton.allTargets
? Did clicking on other elements result in a click through? It will be helpful to include verbose logs for us to debug the bad ad.
from applovin-max-sdk-ios.
Technically impossible - please allow ~an hour for network changes from the UI to take place.
Can you inspect the
MANativeAdView.callToActionButton.allTargets
? Did clicking on other elements result in a click through? It will be helpful to include verbose logs for us to debug the bad ad.
@thomasmso I will look at inspecting that later today
just wanted to drop a few lines and say:
-
that when this happens, my team has consistently noted that when the CTA button isn't clickable, the media component and icon usually are clickable.
-
we also have code in place such that if they swipe right on a card, we
click
the card.
func clickCard(){
self.nativeAdView?.callToActionButton?.sendActions(for: .touchUpInside)
}
This works some ads, the ones where the CTA button is correctly clickable. However, for the ones where they are not clickable, it seems to also be doing something to our custom "remove ads" button, making it not clickable either. Two different view layer inspection have shown different things. One showed there was still a GadNativeAdView, despite that we removed applovin-admob mediation library, and the other didn't seem to show anything special happening.
from applovin-max-sdk-ios.
AdMob does not allow for programmatic clicks - clicks come from the overlay on top of the entire native ad view - therefore you can observe that the CTA button does not have any targets attached. This is something you will have to bring up to your AdMob contact to see if they an enable for you (we'd still have to implement in our adapter thereafter).
from applovin-max-sdk-ios.
AdMob does not allow for programmatic clicks - clicks come from the overlay on top of the entire native ad view - therefore you can observe that the CTA button does not have any targets attached. This is something you will have to bring up to your AdMob contact to see if they an enable for you (we'd still have to implement in our adapter thereafter).
hi, i think you missed the part where I said "despite that we removed applovin-admob mediation library"
from applovin-max-sdk-ios.
If GADNativeAdView
is still being displayed - that means that it has been left over somewhere in your app. I suspect you left our adapter's dependency in your Podfile? Our adapter will transitively pull AdMob's SDK.
from applovin-max-sdk-ios.
AdMob native ads has a requirement where we had to overlay their SDK's
GADNativeAdView
on top of the view the native ad is rendered on (adapter code ref: here).I would advise moving the "Remove Ad" button outside or modifying the specified adapter code to fit your needs.
hi!
so, I went ad tested Admob directly. Admob also adds that overlay when using them, as seen here:
However, their overlay does NOT prevent non-associated view components from being clickable (so I am able to click the "Remove Ads" functionality there)
This seems like an incorrect mediation handling on Applovin's part.
from applovin-max-sdk-ios.
@thomasmso I reused the same xib, only swapped the types from applovin to admob and created & connected some outlets. See above.
from applovin-max-sdk-ios.
Hi - this only affects a subset of AdMob ads, and it's in our pipeline but perhaps it might be more efficient if you integrate the adapter as source code and attempt a fix there
from applovin-max-sdk-ios.
@thomasmso and @mmdock I have the google admob mediations in my app. Now I am planning to migrate to the Applovin.
Does the above is equivalent as the GoogleAdmobMediation. So the place which I have used the GADMediation is replaced by the above.
For example: I have the GAD Mopub Adapter supports to show the ads, If i use the above with the already available implementations, does it shows the applovin and the applovin mediation ad in the app?
from applovin-max-sdk-ios.
@thomasmso you mentioned this was in your pipeline about 5 months ago. Has it been resolved? I put internal tracking for this issue, and it looks like the % of effected mediated admob ads went up by a lot after i upgraded to more recent mobile ads sdk from google (via applovins mediation pod)
from applovin-max-sdk-ios.
Hey @mmdock - we have not been able to get to this due to the complex nature of AdMob's native ad requirements. We'll re-prioritize a renewed approach to this investigation, and update you in a few weeks.
from applovin-max-sdk-ios.
Hey @mmdock we've added a workaround that should allow you to add clickable views inside your custom native ad view. You'll need to update to the latest Google adapter v9.11.0.6 and/or Google Ad Manager adapter v9.11.0.5. We're working on adding this workaround to our docs. In the meantime here are the steps you'll need to take:
- Add a wrapper view inside of
MANativeAdView
that contains all of the ad assets and ensure that its "Custom Class" is set toGADNativeAdView
. Picture attached. - Make sure to give it a unique "Tag" that is not being used by other views. Picture attached.
- Set a local extra parameter for the native ad loader that contains the
tag
with corresponding keygoogle_native_ad_view_tag
. For example:
Swift:setLocalExtraParameterForKey("google_native_ad_view_tag", value: 1008)
Obj-C:-[setLocalExtraParameterForKey: "google_native_ad_view_tag" value: 1008]
from applovin-max-sdk-ios.
Related Issues (20)
- Crash when displaying DT Exchange Ad HOT 1
- [ALStoreProductViewControllerWrapper showStoreKitOverViewController:] crash HOT 11
- Unity Ad Mediator Crash during Initialization HOT 1
- [ALDataCollector collectBatteryInfoIfNeeded:] Crashes HOT 2
- Same delegate for banner and interstitials (MAAdDelegate) ? HOT 3
- Google CMP not working with AdColony HOT 1
- Documentation Update Needed: ENABLE_USER_SCRIPT_SANDBOXING Setting for AppLovin SDK in Xcode 15
- AppLovinQualityService Setup Script Fails with Unsupported productType Error in Xcode Project
- Documentation manual integration for open source adapters without CocoaPods
- The ad click cannot redirect, causing the application to freeze HOT 3
- App gets rejected because GDPR dialog always calls app tracking transparency dialog HOT 7
- After started loadAd in a MAAdView, there are consequences of main thread occupation which caused UI laggy. HOT 7
- Ads from FAM are not showing
- [ALDeviceMotionManager getAccelerationFromAccelerometerData:] crash HOT 4
- [CMP] Sometimes doesn't show gdpr from Admob UMP HOT 3
- AppLovinMediationByteDanceAdapter produce "Permission denied error" during cocoapods step HOT 4
- Crash when call initializeSdk after upgrade from 11.11.4 to 12.1.0 HOT 2
- Test mode doesn't work on device HOT 5
- Add option to silence all the logs HOT 9
- YandexMobileAds crashes on < 6.3.0 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from applovin-max-sdk-ios.