GoogleMobileAds.Api.NativeTemplateId
Defines ID constants for templates to render native ads.
Summary
Public attributes
|
Medium = "medium"
|
const string
Medium Layout.
|
Small = "small"
|
const string
Small Layout.
|
Public attributes
Medium
const string Medium = "medium"
Small
const string Small = "small"
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-21 UTC.
[null,null,["Last updated 2024-11-21 UTC."],[[["`GoogleMobileAds.Api.NativeTemplateId` defines ID constants for rendering native ads."],["It offers two layout options: \"medium\" and \"small,\" represented by the `Medium` and `Small` constants respectively."],["These constants are used to specify the desired layout when creating native ads."]]],["The content defines constants for native ad template IDs within the `GoogleMobileAds.Api.NativeTemplateId` class. It specifies two public attributes: `Medium` and `Small`. `Medium`, represented by the string \"medium\", denotes the medium layout. `Small`, represented by the string \"small\", denotes the small layout. These string values serve as identifiers for selecting the desired template for rendering native ads.\n"]]