正確な位置情報データに関するポリシー

ユーザーの正確な位置情報データを 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)。