Формат нативной рекламы можно использовать для создания рекламы любого размера, включая полноэкранную рекламу, которая очень популярна в социальных и развлекательных приложениях. Полноэкранная нативная реклама может повысить доход и удержание пользователей, либо за счёт соответствия стилю существующего полноэкранного контента, например, в социальных приложениях, либо за счёт возможности размещения рекламы в лентах «историй». Вот несколько примеров полноэкранной нативной рекламы:
Отдельного API для показа полноэкранной нативной рекламы, помимо инструкций для Native Advanced , не существует. Тем не менее, мы рекомендуем следующие рекомендации по созданию полноэкранной рекламы:
Сделайте активы кликабельными во время воспроизведения собственного видео
По умолчанию Google Mobile Ads SDK устанавливает для свойства userInteractionEnabled значение NO для всех рекламных объектов, кроме mediaView , пока медиа-представление воспроизводит видео. В результате при воспроизведении видео клики происходят на представлении, расположенном за представлением. В полноэкранной нативной реализации, где представления размещаются поверх медиа-представления, клики по медиа-представлению. Медиа-представление обрабатывает взаимодействие пользователя с элементами управления воспроизведением видео во время воспроизведения и переходит по целевому URL-адресу объявления только после завершения воспроизведения видео.
Чтобы другие элементы рекламы, такие как callToActionView, перенаправляли пользователя на целевой элемент рекламы во время воспроизведения видео, оберните каждый элемент в родительский UIView, который является подвидом нативного элемента рекламы. Структура нативного элемента рекламы должна выглядеть следующим образом:
-- Native Ad View
-- Media View
-- Container View 1
-- Call To Action View
-- Container View 2
-- Headline View
-- Container View 3
-- Body View
Настройте размещение значка AdChoices
По умолчанию значок AdChoices размещается в правом верхнем углу объявления, но вы можете указать любой угол, где он должен отображаться, настроив параметр GADAdChoicesPosition в зависимости от размещения объявления. На трёх изображениях в предыдущем разделе значок AdChoices размещён в углу, удалённом от кнопки «Установить» , кнопки меню и других элементов объявления, чтобы избежать случайных нажатий.
Используйте уникальные идентификаторы рекламных блоков для каждого размещения.
Обязательно создайте уникальный идентификатор рекламного блока для каждого места размещения рекламы в вашем приложении, даже если все места размещения имеют одинаковый формат. Например, если в вашем приложении уже есть нативное место размещения рекламы для неполноэкранного режима, используйте новый идентификатор рекламного блока для полноэкранного режима. Использование уникальных рекламных блоков:
максимизирует производительность
помогает Google возвращать рекламные ресурсы, которые лучше соответствуют вашим макетам
обеспечивает более полную отчетность.
Установите постоянный размер вашего медиа-представления
Google всегда старается показывать нативные ресурсы оптимального размера для достижения оптимальной производительности. Для этого размер ваших нативных объявлений должен быть предсказуемым и стабильным. Размер вашего медиа-представления должен быть одинаковым для всех запросов рекламы на одном устройстве. Для этого установите фиксированный размер медиа-представления или установите для медиа-представления значение MATCH_PARENT и установите фиксированный размер родительского представления. Повторите этот шаг для каждого родительского представления медиа-представления, размер которого не фиксирован.
Включить видеорекламу
Включите тип медиа Video при настройке нативной рекламы в интерфейсе AdMob. Разрешение видеорекламе конкурировать за ваш инвентарь может значительно повысить эффективность.
[Необязательно] Запросите конкретные соотношения сторон для медиаресурса
По умолчанию могут быть возвращены объявления с любым соотношением сторон. Например, вы можете получить основной креатив с альбомной или квадратной ориентацией, когда ваше приложение находится в портретном режиме. В зависимости от макета вашего нативного объявления, вам может потребоваться показывать только объявления с портретной, альбомной или квадратной ориентацией. Вы можете запросить ресурсы с определёнными соотношениями сторон , которые наилучшим образом подойдут к вашему макету.
Пейзаж
Квадрат
Портрет
Быстрый
letaspectRatioOption=NativeAdMediaAdLoaderOptions()aspectRatioOption.mediaAspectRatio=.portraitadLoader=AdLoader(adUnitID:"<var>your ad unit ID</var>",rootViewController:self,adTypes:adTypes,options:[aspectRatioOption])
Objective-C
GADNativeAdMediaAdLoaderOptions*aspectRatioOption=[[GADNativeAdMediaAdLoaderOptionsalloc]init];aspectRatioOption.mediaAspectRatio=GADMediaAspectRatioPortrait;self.adLoader=[[GADAdLoaderalloc]initWithAdUnitID:@"<var>your ad unit ID</var>"rootViewController:selfadTypes:@[GADAdLoaderAdTypeNative]options:@[aspectRatioOption]];
[null,null,["Последнее обновление: 2025-09-02 UTC."],[[["\u003cp\u003eFull-screen native ads, ideal for social and entertainment apps, can enhance revenue and user retention by mirroring existing full-screen content or integrating into "stories" formats.\u003c/p\u003e\n"],["\u003cp\u003eTo optimize full-screen native ads, ensure ad assets remain clickable during video playback by wrapping them in container UIViews within the native ad view.\u003c/p\u003e\n"],["\u003cp\u003eCustomize the AdChoices icon's position to minimize accidental clicks and enhance user experience.\u003c/p\u003e\n"],["\u003cp\u003eUtilize unique ad unit IDs for each ad placement, including full-screen and non-full-screen, to improve performance, ad relevance, and reporting accuracy.\u003c/p\u003e\n"],["\u003cp\u003eMaintain consistent media view sizing by setting it to a fixed size or using \u003ccode\u003eMATCH_PARENT\u003c/code\u003e with a fixed-size parent view to aid optimal ad serving.\u003c/p\u003e\n"]]],["Full-screen native ads can enhance revenue and user retention. To optimize these ads, make all assets clickable during video playback by wrapping them in parent `UIViews`. Customize the AdChoices icon's placement to avoid accidental clicks. Use unique ad unit IDs for each placement to maximize performance and reporting. Ensure the media view has a consistent size, enable video ads, and optionally request specific aspect ratios. Note that setting aspect ratios might reduce ad availability and revenue.\n"],null,["Select platform: [Android](/admob/android/native/full-screen \"View this page for the Android platform docs.\") [iOS](/admob/ios/native/full-screen \"View this page for the iOS platform docs.\")\n\n\u003cbr /\u003e\n\nThe [native ad format](/admob/ios/native) can be used\nto create any size of ad, including full-screen ads like those that are highly\npopular in social and entertainment apps. Full-screen native ads can improve\nrevenue and retention, either through matching the style of existing\nfull-screen content experiences such as in social apps, or through providing a\nmeans to place ads in \"stories\" feeds. Here are some examples of\nfull-screen native ads:\n\n\nThere is no separate API to call to enable full-screen native ads to serve\nbeyond the instructions for [Native\nAdvanced](/admob/ios/native/advanced). However,\nthere are best practices we recommend when creating full-screen ad experiences:\n\nMake assets clickable during native video playback\n\n: By default the Google Mobile Ads SDK sets [userInteractionEnabled](//developer.apple.com/documentation/uikit/uiview/1622577-userinteractionenabled)\n to `NO` on all ad assets other than [mediaView](/admob/ios/api/reference/Classes/GADNativeAdView#mediaview)\n while the media view is playing video. As a result, when a video is playing,\n clicks occur on the view sitting behind the asset view. In a full screen\n native implementation, where asset views are placed on top of the media view,\n the media view gets the click. The media view handles user interaction for\n video playback controls during video playback, and only clicks through to the\n ad's destination URL once video completes playback.\n\n To make your other ad assets such as [callToActionView](/admob/ios/api/reference/Classes/GADNativeAdView#calltoactionview)\n click through to the user to the ad's destination while the video is playing,\n wrap each asset view in a parent UIView that is a subview of the native ad\n view. Your native ad view structure should look like this: \n\n -- Native Ad View\n -- Media View\n -- Container View 1\n -- Call To Action View\n -- Container View 2\n -- Headline View\n -- Container View 3\n -- Body View\n\nCustomize the AdChoices icon placement\n: By default, the AdChoices icon is placed at the top-right corner of the ad,\n but you can specify any corner where the AdChoices icon should appear by\n setting the `GADAdChoicesPosition` based on placement of the ad. In the\n three images in the previous section, the AdChoices icon is placed in a\n corner far away from the **Install** button, the menu button and other ad\n assets to avoid accidental clicks.\n\nUse unique ad unit IDs for each placement\n\n: Be sure to [create a unique ad unit\n ID](//support.google.com/admob/answer/7187428) for each different ad placement\n in your app, even if all ad placements are the same format. For example, if\n you have an existing native ad placement in your app for a non-full screen\n experience, use a new ad unit ID for the full screen experience. Using unique\n ad units:\n\n - maximizes performance\n - helps Google return ad assets that better fit your layouts\n - enables more comprehensive reporting.\n\nSet your media view to a consistent size\n\n: Google always tries to serve the best-sized native assets for optimal\n performance. To facilitate this, the sizing for your native ads should be\n predictable and consistent. Your media view asset should be the same size for\n every ad request on the same device. To accomplish this, set your media view\n to a fixed size, or set the media view to `MATCH_PARENT` and make the parent\n view a fixed size. Repeat this step for every parent view of the media view\n that is not a fixed size.\n\nEnable video ads\n\n: Enable the `Video` media type when\n\n [configuring native ads](//support.google.com/admob/answer/7187428)\n\n in the AdMob UI. Allowing video ads to compete for your\n inventory can significantly improve performance.\n\n\\[Optional\\] Request specific aspect ratios for the media asset\n\n: By default, ads of any aspect ratio may be returned. For example, you may get\n a landscape or square main creative asset when your app is in portrait\n mode. Depending on your native ad layout, you may want to serve only\n portrait, landscape, or square ads. You can request assets of specific\n [aspect ratios](/admob/ios/api/reference/Enums/GADMediaAspectRatio) to best suit your\n layout.\n\n |-----------|--------|----------|\n | Landscape | Square | Portrait |\n\n \u003cbr /\u003e\n\n Swift \n\n let aspectRatioOption = NativeAdMediaAdLoaderOptions()\n aspectRatioOption.mediaAspectRatio = .portrait\n adLoader = AdLoader(\n adUnitID: \"\u003cvar\u003eyour ad unit ID\u003c/var\u003e\",\n rootViewController: self,\n adTypes: adTypes,\n options: [aspectRatioOption])\n\n Objective-C \n\n GADNativeAdMediaAdLoaderOptions *aspectRatioOption = [[GADNativeAdMediaAdLoaderOptions alloc] init];\n aspectRatioOption.mediaAspectRatio = GADMediaAspectRatioPortrait;\n self.adLoader = [[GADAdLoader alloc] initWithAdUnitID:@\"\u003cvar\u003eyour ad unit ID\u003c/var\u003e\"\n rootViewController:self\n adTypes:@[ GADAdLoaderAdTypeNative ]\n options:@[ aspectRatioOption ]];\n\n | **Caution:** Setting media aspect ratio to portrait, landscape, or square will limit ad availability, and may reduce revenue. To optimize revenue, we recommend leaving the media aspect ratio to the default value of `GADMediaAspectRatioAny`.\n\n Additional resources\n\n - Full Screen native examples: [Objective-C](//github.com/googleads/googleads-mobile-ios-examples/tree/main/Objective-C/admob/FullScreenNativeExample)"]]