การผสานรวม Flurry กับสื่อกลาง
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
คู่มือนี้มีไว้สำหรับผู้เผยแพร่โฆษณาที่สนใจใช้สื่อกลางโฆษณาในอุปกรณ์เคลื่อนที่ของ Google กับ Flurry คู่มือแนะนำการตั้งค่าอะแดปเตอร์สื่อกลางกับแอปปัจจุบัน ตลอดจนการตั้งค่าพารามิเตอร์คำขอเพิ่มเติม
ข้อกำหนดเบื้องต้น
เกริ่นนำที่เป็นประโยชน์
บทความต่อไปนี้ในศูนย์ช่วยเหลือให้ข้อมูลความเป็นมาเกี่ยวกับสื่อกลาง
รวมอะแดปเตอร์เครือข่ายและ SDK
ดาวน์โหลด SDK และอะแดปเตอร์สำหรับ Flurry จากลิงก์ที่ให้ไว้ด้านบน
SDK บางรายการมีอะแดปเตอร์โฆษณาบนอุปกรณ์เคลื่อนที่ของ Google อยู่แล้ว ขณะที่ SDK อื่นๆ เสนอเป็นไฟล์แยกต่างหาก ดูคำแนะนำในการผสานรวมหรือ README ที่มากับอะแดปเตอร์แต่ละตัว
ใส่ SDK และไฟล์อะแดปเตอร์ของเครือข่ายที่ใช้สื่อกลางไว้ในไดเรกทอรีที่เหมาะสมของโปรเจ็กต์ Unity ดังนี้
- Android:
Assets/Plugins/Android
- iOS:
Assets/Plugins/iOS
รวมการกำหนดค่าเครือข่าย
- Android
- เครือข่ายโฆษณาบางเครือข่ายจำเป็นต้องมีการกำหนดค่าเพิ่มเติมลงในไฟล์
AndroidManifest.xml
ของคุณ คุณทำการแก้ไขเหล่านี้กับ AndroidManifest.xml
ภายในไดเรกทอรี Assets/Plugins/Android/GoogleMobileAds
ได้
- iOS
- หลังจากสร้าง Xcode จาก Unity แล้ว ให้ใส่เฟรมเวิร์ก แฟล็กคอมไพเลอร์ หรือแฟล็กตัวลิงก์ทั้งหมดที่เครือข่ายที่คุณเลือกต้องการ
แอปไม่จำเป็นต้องเรียกใช้โค้ดเครือข่ายโฆษณาของบุคคลที่สามโดยตรง เพราะ SDK โฆษณาในอุปกรณ์เคลื่อนที่ของ Google จะโต้ตอบกับอะแดปเตอร์ของเครือข่ายที่เป็นสื่อกลางเพื่อดึงโฆษณาของบุคคลที่สามในนามของคุณ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-05-07 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"]],["อัปเดตล่าสุด 2024-05-07 UTC"],[[["This guide explains how to integrate Flurry ads into your app using Google Mobile Ads mediation."],["You'll need an AdMob account with ad units configured and the Google Mobile Ads SDK integrated into your app before starting."],["Download the Flurry SDK and adapter, then integrate them into your Unity project within the designated Android or iOS directories."],["Configure any necessary network settings for Android within your AndroidManifest.xml file and for iOS within your Xcode project generated from Unity."],["The Google Mobile Ads SDK manages communication with Flurry, eliminating the need for direct calls to the Flurry SDK."]]],["Publishers integrate Flurry into Google Mobile Ads mediation by downloading Flurry's SDK and adapter. Integrate the SDK and adapter files into your app's Android (`Assets/Plugins/Android`) or iOS (`Assets/Plugins/iOS`) project directory. For Android, modify the `AndroidManifest.xml` file with network configurations. iOS projects require adding any necessary frameworks, compiler or linker flags in the generated Xcode project. The Google Mobile Ads SDK manages interactions with Flurry, no direct third-party ad network code is needed.\n"]]