Giter Club home page Giter Club logo

Comments (14)

thomasmso avatar thomasmso commented on July 23, 2024

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.

mmdock avatar mmdock commented on July 23, 2024

@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.

thomasmso avatar thomasmso commented on July 23, 2024

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.

mmdock avatar mmdock commented on July 23, 2024

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.

thomasmso avatar thomasmso commented on July 23, 2024

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.

mmdock avatar mmdock commented on July 23, 2024

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.

thomasmso avatar thomasmso commented on July 23, 2024

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.

mmdock avatar mmdock commented on July 23, 2024

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:
Screen Shot 2022-05-17 at 2 46 51 PM

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.

mmdock avatar mmdock commented on July 23, 2024

@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.

thomasmso avatar thomasmso commented on July 23, 2024

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.

nihp avatar nihp commented on July 23, 2024

@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.

mmdock avatar mmdock commented on July 23, 2024

@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.

thomasmso avatar thomasmso commented on July 23, 2024

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.

tiandrew avatar tiandrew commented on July 23, 2024

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:

  1. Add a wrapper view inside of MANativeAdView that contains all of the ad assets and ensure that its "Custom Class" is set to GADNativeAdView. Picture attached.
  2. Make sure to give it a unique "Tag" that is not being used by other views. Picture attached.
  3. Set a local extra parameter for the native ad loader that contains the tag with corresponding key google_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]

custom_class
tag

from applovin-max-sdk-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.