Skip to content

Native Ad Issue #39

@adapana

Description

@adapana

Issue: Registering Small Native Ads Without MediaView in GMA Next-Gen SDK

The GMA Next-Gen SDK documentation states that the following method must be called to register a native ad:

// Inform GMA Next-Gen SDK that you have finished populating
// the native ad views with this native ad.
nativeAdView.registerNativeAd(nativeAd, nativeAdBinding.adMedia);

This requires passing a MediaView (adMedia) when registering the native ad.

Problem

For small native ad layouts that do not include a MediaView, it is unclear how to properly call registerNativeAd().

If I add a MediaView with 0dp size just to satisfy the method requirement:

The native ad renders correctly.

The native ad validator shows a warning stating that the MediaView must be at least 120dp.

Question

How should registerNativeAd() be handled for small native ads that are designed without a MediaView?

Is there a recommended or supported approach for this scenario?

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