নির্দিষ্ট আকারের ব্যানার বিজ্ঞাপন
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
প্ল্যাটফর্ম নির্বাচন করুন: অ্যান্ড্রয়েড আইওএস ফ্লাটার Google মোবাইল বিজ্ঞাপন SDK এমন পরিস্থিতিতে স্থির বিজ্ঞাপনের আকার সমর্থন করে যেখানে অভিযোজিত ব্যানার বিজ্ঞাপনগুলি আপনার চাহিদা পূরণ করে না।
নিম্নলিখিত সারণী মানক ব্যানার মাপ তালিকাভুক্ত.
dp তে আকার (WxH) | বর্ণনা | প্রাপ্যতা | বিজ্ঞাপনের আকার ধ্রুবক |
---|
320x50 | ব্যানার | ফোন এবং ট্যাবলেট | GADAdSizeBanner |
320x100 | বড় ব্যানার | ফোন এবং ট্যাবলেট | GADAdSizeLargeBanner |
300x250 | IAB মাঝারি আয়তক্ষেত্র | ফোন এবং ট্যাবলেট | GADAdSizeMediumRectangle |
468x60 | IAB পূর্ণ আকারের ব্যানার | ট্যাবলেট | GADAdSizeFullBanner |
728x90 | IAB লিডারবোর্ড | ট্যাবলেট | GADAdSizeLeaderboard |
একটি কাস্টম ব্যানার আকার সংজ্ঞায়িত করতে, GADAdSizeFromCGSize
ব্যবহার করে আপনার আকার সেট করুন:
সুইফট
let adSize = adSizeFor(cgSize: CGSize(width: 250, height: 250))
উদ্দেশ্য-C
GADAdSize size = GADAdSizeFromCGSize(CGSizeMake(250, 250));
নির্দিষ্ট আকারের ব্যানার বিজ্ঞাপনের উদাহরণ
সুইফট অবজেক্টিভ-C
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-21 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-08-21 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThe Google Mobile Ads SDK offers fixed ad sizes as an alternative to adaptive banners.\u003c/p\u003e\n"],["\u003cp\u003eStandard banner sizes include Banner (320x50), Large Banner (320x100), IAB medium rectangle (300x250), IAB full-size banner (468x60), and IAB leaderboard (728x90), each with specified availability for phones and/or tablets.\u003c/p\u003e\n"],["\u003cp\u003eCustom banner sizes can be defined using \u003ccode\u003eGADAdSizeFromCGSize\u003c/code\u003e by providing the desired width and height.\u003c/p\u003e\n"],["\u003cp\u003eCode examples for implementing fixed size banner ads are available in both Swift and Objective-C.\u003c/p\u003e\n"]]],["The Google Mobile Ads SDK supports fixed-size banner ads with standard sizes for phones and tablets. Available sizes include 320x50 (Banner), 320x100 (Large banner), 300x250 (IAB medium rectangle), 468x60 (IAB full-size banner), and 728x90 (IAB leaderboard), each with a corresponding `GADAdSize` constant. Custom sizes can be set using `GADAdSizeFromCGSize`, demonstrated in Swift and Objective-C examples provided in the documentation.\n"],null,["Select platform: [Android](/admob/android/banner/fixed-size \"View this page for the Android platform docs.\") [iOS](/admob/ios/banner/fixed-size \"View this page for the iOS platform docs.\") [Flutter](/admob/flutter/banner/fixed-size \"View this page for the Flutter platform docs.\")\n\n\u003cbr /\u003e\n\nThe Google Mobile Ads SDK supports fixed ad sizes for situations where adaptive\nbanners ads don't meet your needs.\n\nThe following table lists the standard banner sizes.\n\n| Size in dp (WxH) | Description | Availability | AdSize constant |\n|------------------|----------------------|--------------------|----------------------------|\n| 320x50 | Banner | Phones and tablets | `GADAdSizeBanner` |\n| 320x100 | Large banner | Phones and tablets | `GADAdSizeLargeBanner` |\n| 300x250 | IAB medium rectangle | Phones and tablets | `GADAdSizeMediumRectangle` |\n| 468x60 | IAB full-size banner | Tablets | `GADAdSizeFullBanner` |\n| 728x90 | IAB leaderboard | Tablets | `GADAdSizeLeaderboard` |\n\nTo define a custom banner size, set your size using [`GADAdSizeFromCGSize`](/admob/ios/api/reference/Functions): \n\nSwift \n\n let adSize = adSizeFor(cgSize: CGSize(width: 250, height: 250))\n\nObjective-C \n\n GADAdSize size = GADAdSizeFromCGSize(CGSizeMake(250, 250));\n\nFixed size banner ads example\n\n[Swift](//github.com/googleads/googleads-mobile-ios-examples/blob/main/Swift/advanced/APIDemo/APIDemo/AdMobBannerSizesViewController.swift)\n[Objective-C](//github.com/googleads/googleads-mobile-ios-examples/blob/main/Objective-C/advanced/APIDemo/APIDemo/AdMobBannerSizesViewController.m)"]]