Skip to content

Jetpack Compose Native Ad Example: Missing setNativeAd() call and AdMob Policy Compliance ConcernΒ #853

@KhunHtetzNaing

Description

@KhunHtetzNaing

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:

  1. Call setNativeAd() on the NativeAdView
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions