Render Native Overlay Ad

256 views
Skip to first unread message

Đạt Đặng Bá

unread,
Nov 13, 2024, 4:59:04 AM11/13/24
to Google Mobile Ads SDK Developers
Hello,
I'm using the Sample HelloWorld and adjusting the size of the Native Overlay Ad, but the ad renders with the bottom part cut off. How can I render the ad in full at the size I want?

screenshot_3407793487001Q3_native_ad.png

I only changed the code in the RenderAd function.

public void RenderAd()
        {
            if (_nativeOverlayAd != null)
            {
                Debug.Log("Rendering Native Overlay ad.");

                // Renders a native overlay ad at the default size
                // and anchored to the bottom of the screne.

                //_nativeOverlayAd.RenderTemplate(Style, AdPosition.Bottom);

                _nativeOverlayAd.RenderTemplate(Style, new AdSize(600, 500), AdPosition.Bottom);
            }
        }

Message has been deleted

ELIANA GABRIEL

unread,
Nov 14, 2024, 7:14:38 PM11/14/24
to Đạt Đặng Bá, Google Mobile Ads SDK Developers
Okay how can I go about it 

On Wed, Nov 13, 2024, 11:07 AM Đạt Đặng Bá <dat.d...@tapbi.vn> wrote:
Hi,
--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-admob-ads-sdk/6e4fd80e-7e7e-4a01-9317-6178b2b612d7n%40googlegroups.com.

ELIANA GABRIEL

unread,
Nov 14, 2024, 7:14:38 PM11/14/24
to Đạt Đặng Bá, Google Mobile Ads SDK Developers
Okay am ready for that
Reply all
Reply to author
Forward
0 new messages