googleads-mobile-android-examples
googleads-mobile-android-examples copied to clipboard
Jetpack Compose Native Ad Example: Missing `setNativeAd()` call and AdMob Policy Compliance Concern
Affected Files:
Description
I noticed that setNativeAd() is not being called in the affected files, and I'm concerned this might violate AdMob policies.
As someone new to Compose but experienced with Android Views, I understand that we typically need to:
- Call
setNativeAd()on theNativeAdView - Populate each child view within the
NativeAdView
However, I don't see this implementation in the current code.
Questions:
- Is this a bug that needs to be addressed?
- Or can you confirm that this implementation is compliant with AdMob policies?
I want to ensure the code follows best practices and doesn't risk policy violations.
Expected Behavior
The native ad implementation should properly call setNativeAd() and register child views as per AdMob guidelines.
Current Behavior
The setNativeAd() method call appears to be missing from the implementation.