จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ใช้ Firebase กับ Google AdMob
plat_ios
plat_android
plat_cpp
plat_unity
Google AdMob เป็นวิธีง่ายๆ ในการสร้างรายได้จากแอปบนอุปกรณ์เคลื่อนที่
ด้วยการโฆษณาในแอป
Google AdMob
เป็นแพลตฟอร์มการโฆษณาบนอุปกรณ์เคลื่อนที่ที่คุณสามารถใช้เพื่อสร้างรายได้
จากแอปของคุณ การใช้ Firebase กับ
AdMob ช่วยให้คุณได้รับ
ข้อมูลการใช้งานแอปและความสามารถในการวิเคราะห์เพิ่มเติม
หากพร้อมที่จะเริ่มแล้ว เลือกแพลตฟอร์ม:
iOS
แอนดรอยด์
เอกภาพ
C++
ความสามารถที่สำคัญ
สร้างรายได้เพิ่มเติมจากโฆษณาในแอป |
แสดงโฆษณาจากผู้ลงโฆษณา Google หลายล้านรายแบบเรียลไทม์
หรือใช้สื่อกลาง AdMob เพื่อสร้างรายได้จากเครือข่ายพรีเมียมกว่า 40 เครือข่าย
ลดความซับซ้อนของการดำเนินการด้านโฆษณา
ปรับปรุงการแข่งขัน และสร้างรายได้
เพิ่มขึ้นได้ฟรี
สื่อกลาง AdMob รายการ
การเพิ่มประสิทธิภาพเครือข่ายโฆษณา
ในตัว
ซึ่งจะปรับตำแหน่งโดยอัตโนมัติ
ของเครือข่ายโฆษณาอื่นๆ ในกลุ่มสื่อกลาง
ซึ่งช่วยเพิ่มรายได้ของคุณ
|
ปรับปรุงประสบการณ์ของผู้ใช้ |
โฆษณาเนทีฟมอบประสบการณ์การใช้งานที่ดีให้แก่ผู้ใช้ในขณะที่คุณสร้างรายได้
โดยการจับคู่รูปลักษณ์ของแอป
เลือกจากเทมเพลตโฆษณาต่างๆ ปรับแต่ง
และทดลองใช้เลย์เอาต์แบบต่างๆ
|
ปรับขนาดอย่างรวดเร็ว |
เมื่อแอปของคุณเป็นที่นิยมทั่วโลกหรือในประเทศ
คุณสามารถสร้างรายได้จากผู้ใช้ได้อย่างรวดเร็วด้วย AdMob
ด้วยการแสดงโฆษณาต่อผู้ใช้ในตลาดกว่า 200 แห่ง
คุณมีแอปมากกว่า 1 รายการไหม โฆษณาเฮาส์แอ็ดจาก AdMob เป็นเครื่องมือฟรี
ที่ให้คุณโปรโมตแอปไปยังฐานผู้ใช้ของคุณได้แบบหลายช่องทาง
ในกลุ่มแอปของคุณ
|
เข้าถึงรายงานการสร้างรายได้ |
AdMob เป็นแพลตฟอร์มการสร้างรายได้ชั้นนำสำหรับอุปกรณ์เคลื่อนที่
ขณะสร้างรายได้จากโฆษณา AdMob ยังสร้าง
ในรายงานการสร้างรายได้ของตัวเอง
ตัดสินใจได้อย่างชาญฉลาดขึ้นเกี่ยวกับกลยุทธ์ผลิตภัณฑ์
|
วิธีการทำงาน
Google AdMob
ช่วยให้คุณสร้างรายได้จากแอปบนอุปกรณ์เคลื่อนที่ผ่านโฆษณาในแอป โฆษณาสามารถเป็น
แสดงโดยใช้ตัวเลือกรูปแบบที่หลากหลายซึ่งเพิ่มลงในแพลตฟอร์มได้อย่างราบรื่น
คอมโพเนนต์ UI แบบดั้งเดิม บน Android คุณยังแสดงการซื้อในแอป
เพื่อให้ผู้ใช้ซื้อผลิตภัณฑ์ที่โฆษณาได้จากภายในแอป
แบนเนอร์
|
โฆษณาคั่นระหว่างหน้า
|
เนทีฟ
|
โฆษณาที่มีการให้รางวัล
|
หากต้องการแสดงโฆษณา คุณจะต้องมีแอปที่ลงทะเบียน AdMob ที่ผสานรวมกับ
SDK Google Mobile Ads (iOS |
Android) จากนั้นคุณจะสามารถเปิดใช้งาน
รหัสหน่วยโฆษณาซึ่งเป็นตัวระบุที่ไม่ซ้ำกันสำหรับการแสดงตำแหน่งในแอป
ทั้งหมด
SDK Mobile Ads ช่วยให้คุณได้รับข้อมูลเชิงลึกเกี่ยวกับผู้ใช้ ไดรฟ์
การซื้อในแอปมากขึ้น และเพิ่มรายได้จากโฆษณาให้สูงสุด ในการดำเนินการนี้ ให้ใช้ค่าเริ่มต้น
การผสานรวม SDK จะรวบรวมข้อมูลอุปกรณ์ ตำแหน่งที่ตั้งที่ได้จากผู้เผยแพร่โฆษณา
และข้อมูลทั่วไปการซื้อในแอป (เช่น การซื้อรายการ
ราคาและสกุลเงิน)
เมตริกผู้ใช้, Firebase และ Google Analytics
เพื่อใช้ประกอบการตัดสินใจเกี่ยวกับการเพิ่มประสิทธิภาพประสบการณ์ของผู้ใช้แอปและ
คุณจะต้องใช้เมตริกและข้อมูลจากแอป ทำงานร่วมกัน
AdMob, Firebase และ Google Analytics เสนอระดับเพิ่มเติมของ
การกำหนดค่าเพื่อช่วยให้คุณบรรลุเป้าหมายการเพิ่มประสิทธิภาพ
ดูเมตริกผู้ใช้ในบัญชี AdMob
เปิดใช้งานผู้ใช้
เมตริกใน
AdMobบัญชีเพื่อเข้าถึงข้อมูลใหม่และรายงานที่มีประสิทธิภาพ เช่น
รายงานที่มีการให้รางวัล
ที่อาจช่วยให้ข้อมูลในการกำหนดกลยุทธ์การสร้างรายได้
สำรวจและทํางานกับข้อมูลการวิเคราะห์ผ่าน Firebase
ลิงก์แอป AdMob
ไปยัง Firebase
เพื่อช่วยคุณปรับปรุงการสร้างรายได้จากแอปและการมีส่วนร่วมของผู้ใช้ ตัวอย่างเช่น คุณสามารถ
สามารถสร้างกลุ่มเป้าหมายที่กำหนดเองและแม้แต่ใช้ BigQuery กับข้อมูลวิเคราะห์
เข้าถึงฟีเจอร์การปรับแต่งเพิ่มเติมสําหรับข้อมูลการวิเคราะห์
เพิ่ม Firebase SDK สำหรับ
Google Analyticsเพื่อนำไปใช้
การวิเคราะห์ที่กำหนดเองมากขึ้น (เช่น เหตุการณ์ที่กำหนดเอง) ดูผู้ใช้ที่สมบูรณ์มากขึ้น
ในบัญชี AdMob และเริ่มใช้ผลิตภัณฑ์อื่นๆ ของ Firebase
ดูข้อมูลเพิ่มเติมเกี่ยวกับประโยชน์ของ
ระดับการกำหนดค่าเพิ่มเติม
เส้นทางการใช้งาน
|
กำหนดค่าแอปให้ใช้ Firebase |
เพิ่ม Firebase ไปยังแอปใหม่หรือแอปที่มีอยู่ในคอนโซล Firebase
|
|
สร้างบัญชี AdMob และลงทะเบียนแอปของคุณ |
ลงชื่อสมัครใช้บัญชี AdMob
และลงทะเบียนแอปของคุณเป็นแอป AdMob ก่อนเผยแพร่ ให้เพิ่มลงใน
รหัสหน่วยโฆษณาที่คุณสร้างไว้
|
|
เปิดใช้เมตริกผู้ใช้และลิงก์แอป AdMob ของคุณกับ Firebase |
(ไม่บังคับแต่แนะนำอย่างยิ่ง)
ในบัญชี AdMob ให้เปิดใช้เมตริกผู้ใช้เพื่อดูเมตริกที่มีการดูแลจัดการ
และลิงก์แอป AdMob กับ Firebase เพื่อสำรวจและทำงานร่วมกับ
Analytics ผ่านทางคอนโซล Firebase ได้
|
|
อัปเดตทรัพยากร Dependency ของโปรเจ็กต์ |
เพิ่ม SDK Google Mobile Ads โดยใช้ CocoaPods ใน iOS หรือ Gradle ใน Android
|
|
ใช้โฆษณาแรกในแอป |
ใช้ Mobile Ads SDK เพื่อสร้างพื้นที่ใน UI ของแอปสำหรับแบนเนอร์
โฆษณา (เป็นจุดแรกที่ดีมาก) สามารถจัดเลย์เอาต์ได้ตามใจคุณ
กดชอบหรือใช้แบนเนอร์อัจฉริยะซึ่งจะปรับขนาดตามขนาดของอุปกรณ์
และการวางแนว
|
ขั้นตอนถัดไป
ดูวิธีเริ่มต้นใช้งานบน iOS หรือ
Android
ทำตามคู่มือเริ่มใช้งานฉบับย่อซึ่งจะแนะนำคุณตลอดขั้นตอนการตั้งค่า AdMob
ใน iOS
และ
Android
เพิ่มประสิทธิภาพการสร้างรายได้จากโฆษณาให้กับแอปของคุณโดยลองใช้โฆษณารูปแบบต่างๆ หรือ
กับกลุ่มผู้ใช้กลุ่มเล็กๆ ก่อน แล้วค่อยๆ ขับเคลื่อนด้วยข้อมูล
ตัดสินใจเกี่ยวกับการติดตั้งโฆษณาสำหรับผู้ใช้ทุกคน
หากต้องการเรียนรู้เพิ่มเติม โปรดดูบทแนะนำต่อไปนี้
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],[],null,["Use Firebase with Google AdMob \nplat_ios plat_android plat_cpp plat_unity \nGoogle AdMob is an easy way to monetize mobile apps\nwith targeted, in-app advertising. \n[Google AdMob](//admob.google.com/home/?utm_source=firebase&utm_medium=et&utm_campaign=firebase-docs&utm_content=2017Q1) is a mobile advertising platform that you can use to generate revenue from your app. Using Firebase with AdMob provides you with additional app usage data and analytics capabilities.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nReady to get started? Choose your platform:\n\n[iOS+](/docs/admob/ios/quick-start)\n[Android](/docs/admob/android/quick-start)\n[Unity](/docs/admob/unity/start)\n[C++](/docs/admob/cpp/quick-start)\n\n\u003cbr /\u003e\n\nKey capabilities\n\n|-----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Earn more from in-app ads | Show ads from millions of Google advertisers in real time or use AdMob mediation to earn from over 40 premium networks. Simplify your ad operations, improve competition, and earn more, for free. AdMob mediation has [ad network optimization](//support.google.com/admob/answer/3379794) built in, which automatically adjusts the positions of your other ad networks in your mediation stack, which maximizes your revenue. |\n| Improve user experience | Native ads create a positive user experience as you monetize by matching the look and feel of your app. Choose from different ad templates, customize them, and experiment with different layout. |\n| Scale fast | When your app is a global or domestic hit, you can monetize users quickly with AdMob, by showing ads to users in more than 200 markets. Do you have more than one app? House ads from AdMob is a free tool that enables you to cross-promote your apps to your user base, across your family of apps. |\n| Access monetization reports | AdMob is the premier monetization platform for mobile. While generating ad revenue, AdMob also produces its own monetization reports that you can use to make smarter decisions about product strategy. |\n\nHow does it work?\n\n[Google AdMob](//www.google.com/admob/?utm_source=firebase&utm_medium=et&utm_campaign=firebase-docs&utm_content=2017Q1)\nhelps you monetize your mobile app through in-app advertising. Ads can be\ndisplayed using various format options which are seamlessly added to platform\nnative UI components. On Android, you can additionally display in-app purchase\nads, allowing users to purchase advertised products from within your app.\n\n|--------|--------------|--------|----------|\n| Banner | Interstitial | Native | Rewarded |\n\nTo display ads, you'll need an AdMob-registered app that integrates the\nGoogle Mobile Ads SDK ([iOS](/docs/admob/ios/quick-start) \\|\n[Android](/docs/admob/android/quick-start)). You can then activate one or more\nAd Unit IDs which are unique identifiers for the places in your app to display\nads.\n\nThe Mobile Ads SDK helps you gain insights about your users, drive\nmore in-app purchases, and maximize ad revenue. To do all this, the default\nintegration of the SDK collects device information, publisher-provided location\ninformation, and general in-app purchase information (such as item purchase\nprice and currency).\n\nUser metrics, Firebase, and Google Analytics\n\nTo make informed decisions about optimizing your app's user experience and your\nad revenue, you'll need metrics and data from your app. Working together,\nAdMob, Firebase, and Google Analytics offer additional levels of\nconfiguration to help you achieve your optimization goals.\n\n1. **View user metrics in your AdMob account**\n\n [Enable user\n metrics](//support.google.com/admob/answer/9263723) in your\n AdMob account to access new data and powerful reports, such as the\n [rewarded report](//support.google.com/admob/answer/9005580),\n that may help inform your monetization strategy.\n2. **Explore and work with your analytics data via Firebase**\n\n [Link your AdMob app\n to Firebase](//support.google.com/admob/answer/6383165)\n to help you improve app monetization and user engagement. For example, you\n can build custom audiences and even use BigQuery with your analytics data.\n3. **Access more customization features for your analytics data**\n\n [Add the Firebase SDK for\n Google Analytics](/docs/admob/analytics-and-firebase) to implement\n more customized analytics (like custom events), view more complete user\n metrics in your AdMob account, and start using other Firebase products.\n\nLearn more about the [benefits](/docs/admob/analytics-and-firebase) of these\nadditional levels of configuration!\n\nImplementation path\n\n|---|---------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | Configure your app to use Firebase | Add Firebase to your new or existing app in the Firebase console. |\n| | Create an AdMob account and register your app | [Sign up for an AdMob account](http://www.google.com/admob/?subid=WW-EN-ET-firebase-docs&utm_source=internal&utm_medium=et&utm_campaign=firebase-docs) and register your app as an AdMob app. Before you publish, add to your app any Ad Unit IDs that you've created. |\n| | Enable user metrics and link your AdMob app to Firebase | *(Optional, but strongly recommended)* In your AdMob account, enable user metrics to view curated metrics. Also, link your AdMob app to Firebase to explore and work with your analytics data via the Firebase console. |\n| | Update project dependencies | Add the Google Mobile Ads SDK using CocoaPods on iOS or Gradle on Android. |\n| | Implement your first ad in your app | Use the Mobile Ads SDK to create space in your app UI for a banner ad (a great place to start!). You can set the layout to just the way you like it or use smart banners that will resize depending on the device size and orientation. |\n\nNext steps\n\n- Learn how to get started on [iOS](/docs/admob/ios/quick-start) or\n [Android](/docs/admob/android/quick-start).\n\n- Follow the quickstart, a tutorial that guides you through setting up AdMob\n on [iOS](//github.com/firebase/quickstart-ios/tree/master/admob/)\n and\n [Android](//github.com/firebase/quickstart-android/tree/master/admob/).\n\n- Optimize ad monetization for your app by trying out different ad formats or\n configurations with a small subset of users, and then making data driven\n decisions about implementing the ad for all your users.\n To learn more, check out the following tutorials:\n\n - *Test new ad format adoption*\n ([overview](/docs/tutorials/admob_test-new-ad-format-adoption_solution-overview) \\|\n [implementation](/docs/tutorials/admob_test-new-ad-format-adoption_implementation-guide)).\n\n - *Optimize ad frequency*\n ([overview](/docs/tutorials/optimize-ad-frequency/solution-overview) \\|\n [implementation](/docs/tutorials/optimize-ad-frequency))."]]