নোঙর করা অভিযোজিত ব্যানার
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
অভিযোজিত ব্যানার হল প্রতিক্রিয়াশীল বিজ্ঞাপনের পরবর্তী প্রজন্ম, প্রতিটি ডিভাইসের জন্য বিজ্ঞাপনের আকার অপ্টিমাইজ করে পারফরম্যান্সকে সর্বোচ্চ করে। স্মার্ট ব্যানারগুলিতে উন্নতি করা, যা শুধুমাত্র নির্দিষ্ট উচ্চতা সমর্থন করে, অভিযোজিত ব্যানারগুলি আপনাকে বিজ্ঞাপনের প্রস্থ নির্দিষ্ট করতে দেয় এবং সর্বোত্তম বিজ্ঞাপনের আকার নির্ধারণ করতে এটি ব্যবহার করে৷
সর্বোত্তম বিজ্ঞাপনের আকার চয়ন করতে, অভিযোজিত ব্যানারগুলি নির্দিষ্ট উচ্চতার পরিবর্তে স্থির আকৃতির অনুপাত ব্যবহার করে৷ এর ফলে ব্যানার বিজ্ঞাপন হয় যা ডিভাইস জুড়ে স্ক্রীনের আরও সামঞ্জস্যপূর্ণ অংশ দখল করে এবং উন্নত কর্মক্ষমতার সুযোগ প্রদান করে।
অভিযোজিত ব্যানারগুলির সাথে কাজ করার সময়, মনে রাখবেন যে তারা সর্বদা একটি প্রদত্ত ডিভাইস এবং প্রস্থের জন্য একটি ধ্রুবক আকার প্রদান করবে। একবার আপনি একটি প্রদত্ত ডিভাইসে আপনার লেআউট পরীক্ষা করে নিলে, আপনি নিশ্চিত হতে পারেন যে বিজ্ঞাপনের আকার পরিবর্তন হবে না। যাইহোক, বিভিন্ন ডিভাইসে সৃজনশীল ব্যানারের আকার পরিবর্তন হতে পারে। ফলস্বরূপ, আমরা সুপারিশ করি যে আপনার লেআউট বিজ্ঞাপনের উচ্চতায় ভিন্নতাগুলিকে মিটমাট করে। বিরল ক্ষেত্রে, সম্পূর্ণ অভিযোজিত আকার পূরণ নাও হতে পারে এবং পরিবর্তে একটি আদর্শ আকারের সৃজনশীল এই স্লটে কেন্দ্রীভূত হবে।
পূর্বশর্ত
কখন অভিযোজিত ব্যানার ব্যবহার করবেন
অভিযোজিত ব্যানারগুলিকে ইন্ডাস্ট্রি স্ট্যান্ডার্ড 320x50 ব্যানার সাইজ এবং স্মার্ট ব্যানার ফর্ম্যাট উভয়ের জন্য ড্রপ-ইন প্রতিস্থাপনের জন্য ডিজাইন করা হয়েছে যা তারা স্থানান্তর করে।
এই ব্যানারের আকারগুলি সাধারণত অ্যাঙ্কর করা ব্যানার হিসাবে ব্যবহৃত হয়, যা সাধারণত স্ক্রিনের উপরে বা নীচে লক করা থাকে।
এই ধরনের অ্যাঙ্কর করা ব্যানারগুলির জন্য, অভিযোজিত ব্যানার ব্যবহার করার সময় আকৃতির অনুপাত একটি আদর্শ 320x50 বিজ্ঞাপনের অনুরূপ হবে, যা নীচের তিনটি উদাহরণে দেখা যাবে:
 320x50 ব্যানার |  অভিযোজিত ব্যানার |  স্মার্ট ব্যানার |
অভিযোজিত ব্যানার উপলব্ধ স্ক্রিন আকারের আরও ভাল ব্যবহার করে। উপরন্তু, একটি স্মার্ট ব্যানারের তুলনায়, একটি অভিযোজিত ব্যানার একটি ভাল পছন্দ কারণ:
এটি প্রস্থকে পূর্ণ স্ক্রীন হতে বাধ্য করার পরিবর্তে, আপনি যে প্রস্থ প্রদান করেন তা ব্যবহার করে, iOS-এ নিরাপদ এলাকার জন্য আপনাকে অ্যাকাউন্ট করতে সক্ষম করে এবং অ্যান্ড্রয়েডে কাটআউটগুলি প্রদর্শন করে৷
এটি বিভিন্ন আকারের ডিভাইস জুড়ে একটি ধ্রুবক উচ্চতা থাকার পরিবর্তে নির্দিষ্ট ডিভাইসের জন্য একটি সর্বোত্তম উচ্চতা নির্বাচন করে, ডিভাইসের খণ্ডিতকরণের প্রভাবগুলি হ্রাস করে।
বাস্তবায়ন নোট
আপনার অ্যাপে অভিযোজিত ব্যানার প্রয়োগ করার সময়, নিম্নলিখিত বিষয়গুলি মনে রাখবেন:
- বিজ্ঞাপনটি যে দৃশ্যে স্থাপন করা হবে তার প্রস্থ আপনাকে অবশ্যই জানতে হবে এবং এটি ডিভাইসের প্রস্থ এবং প্রযোজ্য যে কোনো নিরাপদ এলাকা বা কাটআউটগুলিকে বিবেচনায় রাখতে হবে ।
- নিশ্চিত করুন যে আপনার বিজ্ঞাপন দেখার পটভূমি AdMob নীতির সাথে সঙ্গতিপূর্ণ হওয়ার জন্য অস্বচ্ছ হয় যখন ছোট বিজ্ঞাপনের আকারগুলি বিজ্ঞাপনের স্লট পূরণ করে না।
- আপনি Google মোবাইল বিজ্ঞাপন ইউনিটি প্লাগইনের সর্বশেষ সংস্করণ ব্যবহার করছেন তা নিশ্চিত করুন। মধ্যস্থতার জন্য, প্রতিটি মধ্যস্থতা অ্যাডাপ্টারের সর্বশেষ সংস্করণ ব্যবহার করুন।
- অভিযোজিত ব্যানারের আকারগুলি সম্পূর্ণ উপলব্ধ প্রস্থ ব্যবহার করার সময় সর্বোত্তমভাবে কাজ করার জন্য ডিজাইন করা হয়েছে। বেশিরভাগ ক্ষেত্রে, এটি ব্যবহার করা ডিভাইসের স্ক্রিনের সম্পূর্ণ প্রস্থ হবে। একাউন্টে প্রযোজ্য নিরাপদ এলাকা নিতে ভুলবেন না.
- অ্যাডাপ্টিভ অ্যাডসাইজ API ব্যবহার করার সময় Google মোবাইল বিজ্ঞাপন SDK প্রদত্ত প্রস্থের জন্য একটি অপ্টিমাইজ করা বিজ্ঞাপনের উচ্চতা সহ ব্যানারটিকে আকার দেবে।
- অভিযোজিতের জন্য একটি বিজ্ঞাপনের আকার পেতে তিনটি পদ্ধতি রয়েছে: ল্যান্ডস্কেপের জন্য
AdSize.GetLandscapeAnchoredAdaptiveBannerAdSizeWithWidth
, প্রতিকৃতির জন্য AdSize.GetPortraitAnchoredAdaptiveBannerAdSizeWithWidth
এবং সম্পাদনের সময় বর্তমান অভিযোজনের জন্য AdSize.GetCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth
। - প্রদত্ত ডিভাইসে প্রদত্ত প্রস্থের জন্য যে আকার ফেরত দেওয়া হয়েছে তা সর্বদা একই থাকবে, তাই আপনি একবার প্রদত্ত ডিভাইসে আপনার বিন্যাস পরীক্ষা করে নিলে, আপনি নিশ্চিত হতে পারেন যে বিজ্ঞাপনের আকার পরিবর্তন হবে না।
- অ্যাঙ্কর করা ব্যানারের উচ্চতা কখনই ডিভাইসের উচ্চতার 15% বা 90 ঘনত্বের স্বাধীন পিক্সেলের কম এবং 50 ঘনত্বের স্বাধীন পিক্সেলের চেয়ে ছোট নয়।
- সম্পূর্ণ প্রস্থের ব্যানারের জন্য, আপনি একটি নির্দিষ্ট প্রস্থ সরবরাহ করার পরিবর্তে
AdSize.FullWidth
পতাকা ব্যবহার করতে পারেন।
কুইকস্টার্ট
একটি সাধারণ অভিযোজিত অ্যাঙ্কর ব্যানার বাস্তবায়ন করতে নীচের পদক্ষেপগুলি অনুসরণ করুন৷
- একটি অভিযোজিত ব্যানার বিজ্ঞাপন আকার পান. আপনি যে আকার পাবেন তা আপনার অভিযোজিত ব্যানারের অনুরোধ করতে ব্যবহার করা হবে। অভিযোজিত বিজ্ঞাপনের আকার পেতে, নিশ্চিত করুন যে আপনি:
- ঘনত্ব স্বাধীন পিক্সেলে ব্যবহৃত ডিভাইসের প্রস্থ পান, অথবা আপনি যদি স্ক্রিনের সম্পূর্ণ প্রস্থ ব্যবহার করতে না চান তবে আপনার নিজস্ব প্রস্থ সেট করুন। যেহেতু ইউনিটি এপিআই যেমন
Screen.width
পরম পিক্সেল প্রদান করে, তাই আপনাকে ডিভাইস স্কেল দ্বারা ভাগ করতে হবে ( MobileAds.Utils.GetDeviceScale()
থেকে পুনরুদ্ধারযোগ্য)। - সম্পূর্ণ প্রস্থের ব্যানারের জন্য
AdSize.FullWidth
পতাকা ব্যবহার করুন। - অ্যাড সাইজ ক্লাসে উপযুক্ত স্ট্যাটিক পদ্ধতি ব্যবহার করুন, যেমন
AdSize.getCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(width)
বর্তমান ওরিয়েন্টেশনের জন্য অ্যাডাপটিভ AdSize
অবজেক্ট পেতে।
- আপনার বিজ্ঞাপন ইউনিট আইডি, অভিযোজিত আকার এবং আপনার বিজ্ঞাপনের জন্য প্রাসঙ্গিক অবস্থান সহ একটি
BannerView
অবজেক্ট তৈরি করুন। - একটি বিজ্ঞাপন অনুরোধ অবজেক্ট তৈরি করুন এবং আপনার প্রস্তুত বিজ্ঞাপন ভিউতে
LoadAd()
পদ্ধতি ব্যবহার করে আপনার ব্যানার লোড করুন, ঠিক যেমন আপনি একটি সাধারণ ব্যানার অনুরোধের সাথে করেন।
কোড উদাহরণ
এখানে একটি উদাহরণ স্ক্রিপ্ট রয়েছে যা নিরাপদ এলাকা বিবেচনা করে স্ক্রিনের প্রস্থের সাথে মানানসই একটি অভিযোজিত ব্যানার লোড করে এবং পুনরায় লোড করে:
using UnityEngine;
using System;
using GoogleMobileAds.Api;
public class AdaptiveBannerSample : MonoBehaviour
{
private BannerView _bannerView;
// Use this for initialization
void Start()
{
// Set your test devices.
// https://developers.google.com/ad-manager/mobile-ads-sdk/unity/test-ads
RequestConfiguration requestConfiguration = new RequestConfiguration
{
TestDeviceIds = new List<string>
{
AdRequest.TestDeviceSimulator,
// Add your test device IDs (replace with your own device IDs).
#if UNITY_IPHONE
"96e23e80653bb28980d3f40beb58915c"
#elif UNITY_ANDROID
"75EF8D155528C04DACBBA6F36F433035"
#endif
}
};
MobileAds.SetRequestConfiguration(requestConfiguration);
// Initialize the Google Mobile Ads SDK.
MobileAds.Initialize((InitializationStatus status) =>
{
RequestBanner();
});
}
public void OnGUI()
{
GUI.skin.label.fontSize = 60;
Rect textOutputRect = new Rect(
0.15f * Screen.width,
0.25f * Screen.height,
0.7f * Screen.width,
0.3f * Screen.height);
GUI.Label(textOutputRect, "Adaptive Banner Example");
}
private void RequestBanner()
{
// These ad units are configured to always serve test ads.
#if UNITY_EDITOR
string adUnitId = "unused";
#elif UNITY_ANDROID
string adUnitId = "ca-app-pub-3212738706492790/6113697308";
#elif UNITY_IPHONE
string adUnitId = "ca-app-pub-3212738706492790/5381898163";
#else
string adUnitId = "unexpected_platform";
#endif
// Clean up banner ad before creating a new one.
if (_bannerView != null)
{
_bannerView.Destroy();
}
AdSize adaptiveSize =
AdSize.GetCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(AdSize.FullWidth);
_bannerView = new BannerView(adUnitId, adaptiveSize, AdPosition.Bottom);
// Register for ad events.
_bannerView.OnBannerAdLoaded += OnBannerAdLoaded;
_bannerView.OnBannerAdLoadFailed += OnBannerAdLoadFailed;
AdRequest adRequest = new AdRequest();
// Load a banner ad.
_bannerView.LoadAd(adRequest);
}
#region Banner callback handlers
private void OnBannerAdLoaded(object sender, EventArgs args)
{
Debug.Log("Banner view loaded an ad with response : "
+ _bannerView.GetResponseInfo());
Debug.Log("Ad Height: {0}, width: {1}",
_bannerView.GetHeightInPixels(),
_bannerView.GetWidthInPixels());
}
private void OnBannerAdLoadFailed(LoadAdError error)
{
Debug.LogError("Banner view failed to load an ad with error : "
+ error);
}
#endregion
}
এখানে AdSize.GetCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth
ফাংশনটি বর্তমান ইন্টারফেস ওরিয়েন্টেশনের জন্য একটি নোঙ্গরযুক্ত অবস্থানে একটি ব্যানারের আকার পেতে ব্যবহৃত হয়। একটি প্রদত্ত অভিযোজনে একটি অ্যাঙ্কর করা ব্যানার প্রি-লোড করার জন্য, AdSize.GetPortraitAnchoredAdaptiveBannerAdSizeWithWidth
এবং AdSize.GetLandscapeAnchoredAdaptiveBannerAdSizeWithWidth
থেকে প্রাসঙ্গিক ফাংশনটি ব্যবহার করুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-09-04 UTC-তে শেষবার আপডেট করা হয়েছে।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-09-04 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eAdaptive banners maximize ad performance by optimizing the ad size for each device, using fixed aspect ratios for the best ad size.\u003c/p\u003e\n"],["\u003cp\u003eThey are a drop-in replacement for standard 320x50 banners and smart banners, designed for anchored positions (top or bottom of the screen).\u003c/p\u003e\n"],["\u003cp\u003eAdaptive banners offer advantages over smart banners: using any provided width (accounting for safe areas), selecting optimal height per device (reducing fragmentation).\u003c/p\u003e\n"],["\u003cp\u003eWhen implementing, consider the view's width (including safe areas), use an opaque background, and use the latest SDK and adapter versions.\u003c/p\u003e\n"],["\u003cp\u003eTo get an adaptive banner size, use the provided static methods, such as \u003ccode\u003eAdSize.GetCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(width)\u003c/code\u003e, after calculating the device or desired width.\u003c/p\u003e\n"]]],[],null,["Adaptive banners are the next generation of responsive ads, maximizing\nperformance by optimizing ad size for each device. Improving on smart banners,\nwhich supported only fixed heights, adaptive banners let you specify the\nad width and use this to determine the optimal ad size.\n\nTo choose the best ad size, adaptive banners use fixed aspect ratios instead of\nfixed heights. This results in banner ads that occupy a more consistent portion\nof the screen across devices and provides opportunities for improved\nperformance.\n\nWhen working with adaptive banners, note that they will always return a\nconstant size for a given device and width. Once you've tested your layout on a\ngiven device, you can be sure that the ad size will not change. However, the\nsize of the banner creative may change across different devices. Consequently,\nwe recommend that your layout accommodate variances in ad height. In rare cases,\nthe full adaptive size may not be filled and a standard size creative will be\ncentered in this slot instead.\n\nPrerequisites\n\n- [Import the Mobile Ads Unity plugin](/ad-manager/mobile-ads-sdk/unity/quick-start#import_the_mobile_ads_unity_plugin)\n\n- [Include the Mobile Ads SDK](/ad-manager/mobile-ads-sdk/unity/quick-start#include_the_mobile_ads_sdk)\n\nWhen to use adaptive banners\n\nAdaptive banners are designed to be a drop-in replacement for both the industry\nstandard 320x50 banner size and the smart banner format which they supersede.\n\nThese banner sizes are commonly used as anchored banners, which are usually\nlocked to the top or bottom of the screen.\n\nFor such anchored banners, the aspect ratio when using adaptive banners will be\nsimilar to that of a standard 320x50 ad, as can be seen in the three examples\nbelow:\n\n|---------------|-----------------|--------------|\n| 320x50 banner | Adaptive banner | Smart banner |\n\nThe adaptive banner makes better use of the available screen size. Additionally,\ncompared to a smart banner, an adaptive banner is a better choice because:\n\n- It uses any width you provide, rather than forcing the width to be full\n screen, enabling you to account for the safe area on iOS, and display cutouts\n on Android.\n\n- It selects an optimal height for the specific device, rather than having a\n constant height across different size devices, mitigating the effects of\n device fragmentation.\n\nImplementation notes\n\nWhen implementing adaptive banners in your app, keep the following points in mind:\n\n- You must know the width of the view that the ad will be placed in, **and this should take into account the device width and any safe areas or\n cutouts that are applicable**.\n- Ensure that your ad view background is opaque to be compliant with AdMob policies when smaller ad sizes serve that do not fill the ad slot.\n- Ensure you are using the latest version of the Google Mobile Ads Unity plugin. For mediation, use the latest version of each mediation adapter.\n- The adaptive banner sizes are designed to work best when using the full available width. In most cases, this will be the full width of the screen of the device in use. Be sure to take into account applicable safe areas.\n- The Google Mobile Ads SDK will size the banner with an optimized ad height for the given width when using the adaptive AdSize APIs.\n- There are three methods to get an ad size for adaptive: `AdSize.GetLandscapeAnchoredAdaptiveBannerAdSizeWithWidth` for landscape, `AdSize.GetPortraitAnchoredAdaptiveBannerAdSizeWithWidth` for portrait, and `AdSize.GetCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth` for the current orientation at the time of execution.\n- The size returned for a given width on a given device will always be the same, hence once you've tested your layout on a given device, you can be sure that the ad size will not change.\n- Anchored banner height is never larger than the lesser of 15% of the device's height or 90 density independent pixels and never smaller than 50 density independent pixels.\n- For full width banners, you can use the `AdSize.FullWidth` flag instead of supplying a specific width.\n\nQuickstart\n\nFollow the steps below to implement a simple adaptive anchor banner.\n\n1. **Get an adaptive banner ad size.** The size you get will be used to request your adaptive banner. To get the adaptive ad size, make sure that you:\n 1. Get the width of the device in use in density independent pixels, or set your own width if you don't want to use the full width of the screen. Since Unity APIs such as `Screen.width` return absolute pixels, you need to divide by device scale (retrievable from `MobileAds.Utils.GetDeviceScale()`).\n 2. Use the `AdSize.FullWidth` flag for full width banners.\n 3. Use the appropriate static methods on the ad size class, such as `AdSize.getCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(width)` to get an adaptive `AdSize` object for the current orientation.\n2. Create a `BannerView` object with your ad unit ID, the adaptive size, and the relevant position for your ad.\n3. Create an ad request object and load your banner using the `LoadAd()` method on your prepared ad view, just like you would with a normal banner request.\n\nCode example\n\nHere's an example script that loads and reloads an adaptive banner to fit the\nwidth of the screen, taking into account safe area: \n\n using UnityEngine;\n using System;\n using GoogleMobileAds.Api;\n\n public class AdaptiveBannerSample : MonoBehaviour\n {\n private BannerView _bannerView;\n\n // Use this for initialization\n void Start()\n {\n // Set your test devices.\n // https://developers.google.com/ad-manager/mobile-ads-sdk/unity/test-ads\n RequestConfiguration requestConfiguration = new RequestConfiguration\n {\n TestDeviceIds = new List\u003cstring\u003e\n {\n AdRequest.TestDeviceSimulator,\n // Add your test device IDs (replace with your own device IDs).\n #if UNITY_IPHONE\n \"96e23e80653bb28980d3f40beb58915c\"\n #elif UNITY_ANDROID\n \"75EF8D155528C04DACBBA6F36F433035\"\n #endif\n }\n };\n MobileAds.SetRequestConfiguration(requestConfiguration);\n\n // Initialize the Google Mobile Ads SDK.\n MobileAds.Initialize((InitializationStatus status) =\u003e\n {\n RequestBanner();\n });\n }\n\n public void OnGUI()\n {\n GUI.skin.label.fontSize = 60;\n Rect textOutputRect = new Rect(\n 0.15f * Screen.width,\n 0.25f * Screen.height,\n 0.7f * Screen.width,\n 0.3f * Screen.height);\n GUI.Label(textOutputRect, \"Adaptive Banner Example\");\n }\n\n private void RequestBanner()\n {\n // These ad units are configured to always serve test ads.\n #if UNITY_EDITOR\n string adUnitId = \"unused\";\n #elif UNITY_ANDROID\n string adUnitId = \"ca-app-pub-3212738706492790/6113697308\";\n #elif UNITY_IPHONE\n string adUnitId = \"ca-app-pub-3212738706492790/5381898163\";\n #else\n string adUnitId = \"unexpected_platform\";\n #endif\n\n // Clean up banner ad before creating a new one.\n if (_bannerView != null)\n {\n _bannerView.Destroy();\n }\n\n AdSize adaptiveSize =\n AdSize.GetCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(AdSize.FullWidth);\n\n _bannerView = new BannerView(adUnitId, adaptiveSize, AdPosition.Bottom);\n\n // Register for ad events.\n _bannerView.OnBannerAdLoaded += OnBannerAdLoaded;\n _bannerView.OnBannerAdLoadFailed += OnBannerAdLoadFailed;\n\n AdRequest adRequest = new AdRequest();\n\n // Load a banner ad.\n _bannerView.LoadAd(adRequest);\n }\n\n #region Banner callback handlers\n\n private void OnBannerAdLoaded(object sender, EventArgs args)\n {\n Debug.Log(\"Banner view loaded an ad with response : \"\n + _bannerView.GetResponseInfo());\n Debug.Log(\"Ad Height: {0}, width: {1}\",\n _bannerView.GetHeightInPixels(),\n _bannerView.GetWidthInPixels());\n }\n\n private void OnBannerAdLoadFailed(LoadAdError error)\n {\n Debug.LogError(\"Banner view failed to load an ad with error : \"\n + error);\n }\n\n #endregion\n }\n\nHere the function\n`AdSize.GetCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth` is used\nto get the size for a banner in an anchored position for the current interface\norientation. For pre-loading an anchored banner in a given orientation, use the\nrelevant function from `AdSize.GetPortraitAnchoredAdaptiveBannerAdSizeWithWidth`\nand `AdSize.GetLandscapeAnchoredAdaptiveBannerAdSizeWithWidth`."]]