जगह की सटीक जानकारी के डेटा से जुड़ी नीति

प्लैटफ़ॉर्म चुनें: Android iOS Unity Android (लेगसी)

अगर आपने Google को अपने उपयोगकर्ताओं की जगह की सटीक जानकारी का डेटा दिया है, तो Google पब्लिशर से जुड़ी नीतियां आपको सहमति लेने से जुड़ी ज़रूरी शर्तें और एक सूचना देती हैं.

अगर यह नीति आप पर लागू होती है, तो यहां दिए गए उदाहरण में टाइटल, मैसेज, और बटन के टेक्स्ट को सेट करके, उपयोगकर्ताओं को डेटा शेयर करने के बारे में बताया गया है:

[SerializeField, Tooltip("Canvas panel for the location consent overlay.")]
private GameObject _consentOverlay;

[SerializeField, Tooltip("Title text for the location consent overlay.")]
private Text _titleText;

[SerializeField, Tooltip("Message text for the location consent overlay.")]
private Text _messageText;

[SerializeField, Tooltip("OK button for the location consent overlay.")]
private Button _okButton;

[SerializeField, Tooltip("OK button text for the location consent overlay.")]
private Text _okButtonText;

/// <summary>
/// Presents the location consent overlay to the user.
/// </summary>
public void PresentConsentOverlay()
{
    if (_consentOverlay == null)
    {
        return;
    }

    _titleText.text = "TITLE";
    _messageText.text = "MESSAGE_TEXT";
    _okButtonText.text = "BUTTON_TEXT";

    _okButton.onClick.RemoveAllListeners();
    _okButton.onClick.AddListener(() =>
    {
        _consentOverlay.SetActive(false);
        // TODO: Add any consent gathering logic.
        Debug.Log("CONSENT_RECEIVED_LOG_MESSAGE");
    });

    _consentOverlay.SetActive(true);
}

इनकी जगह ये डालें:

  • TITLE: सहमति वाले डायलॉग बॉक्स का टाइटल, जैसे कि Location data.
  • MESSAGE_TEXT: सहमति वाले डायलॉग बॉक्स का टेक्स्ट, उदाहरण के लिए:

    We may use your location and share with third parties for the
    purposes of personalized advertising, analytics, and attributions. To learn
    more, visit our privacy policy at example.com.
    
  • BUTTON_TEXT: सहमति वाले डायलॉग बॉक्स के बटन का टेक्स्ट. उदाहरण के लिए, OK.

  • CONSENT_RECEIVED_LOG_MESSAGE: उपयोगकर्ता की सहमति मिलने पर रिकॉर्ड किया जाने वाला लॉग मैसेज. उदाहरण के लिए, Consent received.