अगर आपका ऐप्लिकेशन IMA SDK टूल के 3.25.1 या उसके बाद के वर्शन का इस्तेमाल करता है, तो SDK टूल पहले से ही com.google.android.gms.permission.AD_ID अनुमति का एलान अपने-आप कर देता है. साथ ही, यह विज्ञापन आईडी उपलब्ध होने पर उसे ऐक्सेस कर सकता है.
IMA SDK टूल के 3.24.0 या उससे पहले के वर्शन का इस्तेमाल करने वाले और Android 13 को टारगेट करने वाले ऐप्लिकेशन के लिए, आपको Google Mobile Ads SDK टूल की AndroidManifest.xml फ़ाइल में com.google.android.gms.permission.AD_ID अनुमति जोड़नी होगी, ताकि वह विज्ञापन आईडी को ऐक्सेस कर सके:
<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 Console का यह लेख पढ़ें. इसमें, अनुमति को बंद करने का तरीका भी बताया गया है.
ऐप्लिकेशन सेट आईडी
Android 12 पर चलने वाले डिवाइसों में, अगर कोई उपयोगकर्ता Android की सेटिंग में जाकर, ऐप्लिकेशन या उसके कॉन्टेंट को उपयोगकर्ता के मनमुताबिक बनाने की प्रोसेस से ऑप्ट आउट करता है, तो Google Play उस उपयोगकर्ता का विज्ञापन आईडी शून्य कर देगा. Google Play ने ऐप्लिकेशन सेट आईडी की सुविधा भी दी है. इसकी मदद से कोई भी संगठन अपने मालिकाना हक वाले कई ऐप्लिकेशन के इस्तेमाल या उनके ज़रिए होने वाली कार्रवाइयों की जानकारी हासिल कर सकता है. यह सुविधा, उपयोगकर्ताओं की निजता को बनाए रखते हुए जानकारी उपलब्ध कराती है.
IMA वर्शन 3.25.1 या इसके बाद के वर्शन में, ऐप्लिकेशन सेट आईडी SDK टूल डिफ़ॉल्ट रूप से शामिल होता है. ऐप्लिकेशन सेट आईडी
का इस्तेमाल, बिना विज्ञापन वाले मामलों में किया जा सकता है.
जैसे, आंकड़े और धोखाधड़ी
को रोका जा सकता है. ऐसा तब होता है, जब विज्ञापन आईडी शून्य हो जाता है. ज़्यादा जानकारी के लिए,
ऐप्लिकेशन सेट आईडी को यह देखें
Android डेवलपर गाइड.
[[["समझने में आसान है","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) को अपडेट किया गया."],[[["IMA SDK versions 3.25.1 and higher automatically declare the `com.google.android.gms.permission.AD_ID` permission, granting access to the Advertising ID when available."],["For apps using IMA SDK versions 3.24.0 or lower and targeting Android 13, you must manually add the `com.google.android.gms.permission.AD_ID` permission to your `AndroidManifest.xml` file to enable Google Mobile Ads SDK to access the Advertising ID."],["On Android 12 and later, Google Play zeroes out the Advertising ID when users opt out of personalization, introducing the App Set ID as a privacy-focused alternative for correlating app usage within the same organization."],["IMA SDK version 3.25.1 and higher includes the App Set ID SDK by default, supporting non-ads use cases like analytics and fraud prevention when the Advertising ID is unavailable."]]],["Apps using IMA SDK 3.25.1+ automatically declare and access the Advertising ID. Apps with IMA SDK 3.24.0 or lower, targeting Android 13, must add the `com.google.android.gms.permission.AD_ID` permission to their `AndroidManifest.xml`. Android 12+ devices will zero out the advertising ID if the user disables personalization. The App Set ID, included by default in IMA 3.25.1+, allows usage correlation across apps from the same organization when the advertising ID is zeroed.\n"]]