หากต้องการพูดคุยและแสดงความคิดเห็นเกี่ยวกับผลิตภัณฑ์ของเรา โปรดเข้าร่วมช่อง Discord อย่างเป็นทางการของ Ad Manager ในเซิร์ฟเวอร์ชุมชนการโฆษณาและการวัดผลของ Google
หากแอปใช้ IMA SDK เวอร์ชัน 3.25.1 ขึ้นไป SDK จะประกาศสิทธิ์ com.google.android.gms.permission.AD_ID โดยอัตโนมัติอยู่แล้วและสามารถเข้าถึงรหัสโฆษณาได้ทุกเมื่อที่พร้อมใช้งาน
สำหรับแอปที่ใช้ IMA SDK เวอร์ชัน 3.24.0 หรือต่ำกว่าและกำหนดเป้าหมายเป็น Android
13 คุณต้องเพิ่มสิทธิ์com.google.android.gms.permission.AD_IDใน
AndroidManifest.xml สำหรับ SDK โฆษณาในอุปกรณ์เคลื่อนที่ของ Google เพื่อเข้าถึง
รหัสโฆษณา:
<manifest>
<application>
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyy"/>
...
</application>
<!-- For apps targeting Android 13 or higher & IMA SDK version 3.24.0 or lower -->
<uses-permission android:name="com.google.android.gms.permission.AD_ID"/>
</manifest>
หากต้องการดูข้อมูลเพิ่มเติมเกี่ยวกับสิทธิ์ com.google.android.gms.permission.AD_ID
การประกาศ รวมถึงวิธีปิดใช้งาน โปรดดูที่
คอนโซล Play
รหัสชุดแอป
ในอุปกรณ์ Android 12 เป็นต้นไป Google Play จะไม่ใช้รหัสโฆษณา
เมื่อผู้ใช้เลือกไม่ใช้การปรับเปลี่ยนในแบบของคุณในการตั้งค่า Android Google Play
ยังได้เปิดตัวรหัสชุดแอป
ซึ่งให้วิธีเชื่อมโยงการใช้งานหรือการดำเนินการในชุดต่างๆ ที่เคารพความเป็นส่วนตัว
ของแอปที่เป็นขององค์กรเดียวกัน
[[["เข้าใจง่าย","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-03-20 UTC"],[[["For apps using IMA SDK version 3.25.1 or higher, the Advertising ID permission is automatically declared and accessible when available."],["Apps using IMA SDK version 3.24.0 or lower and targeting Android 13 must manually add the `com.google.android.gms.permission.AD_ID` permission to their `AndroidManifest.xml` file to access the Advertising ID."],["On Android 12 and later, the advertising ID is zeroed out when users opt out of personalization, and the App Set ID provides a privacy-focused alternative for correlating usage across apps from the same organization."],["IMA SDK version 3.25.1 and higher includes the App Set ID SDK by default to support analytics and fraud prevention when the advertising ID is unavailable."]]],[]]