Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Warning: openAdvertisingTrackingId with value: null

Discussion in 'Unity Mediation' started by ramsayamarin, Apr 23, 2023.

  1. ramsayamarin

    ramsayamarin

    Joined:
    Feb 10, 2013
    Posts:
    21
    I'm developing a Flutter app and added Unity Ads through Admob mediation on Android. My device has an ad id and I allowed personalized ads. When running my app I see the following log:

    W/UnityAds(12891): com.unity3d.services.core.api.Sdk.logWarning() (line:94) :: {"message":"model: DeviceInfo key: openAdvertisingTrackingId with value: null: null is not in: string,undefined","name":"CheckValueError"}

    D/ConnectivityManager(12891): StackLog: [android.net.ConnectivityManager.sendRequestForNetwork(ConnectivityManager.java:4188)] [android.net.ConnectivityManager.sendRequestForNetwork(ConnectivityManager.java:4230)] [android.net.ConnectivityManager.registerNetworkCallback(ConnectivityManager.java:4612)] [android.net.ConnectivityManager.registerNetworkCallback(ConnectivityManager.java:4582)] [com.unity3d.services.core.connectivity.ConnectivityNetworkCallback.register(ConnectivityNetworkCallback.java:23)] [com.unity3d.services.core.connectivity.ConnectivityMonitor.startListening(ConnectivityMonitor.java:74)] [com.unity3d.services.core.connectivity.ConnectivityMonitor.updateListeningStatus(ConnectivityMonitor.java:57)] [com.unity3d.services.core.connectivity.ConnectivityMonitor.setConnectionMonitoring(ConnectivityMonitor.java:28)] [com.unity3d.services.core.api.Connectivity.setConnectionMonitoring(Connectivity.java:11)] [java.lang.reflect.Method.invoke(Native Method)] [com.unity3d.services.core.webview.bridge.WebViewBridge.handleInvocation(WebViewBridge.java:121)] [com.unity3d.services.core.webview.bridge.Invocation.nextInvocation(Invocation.java:57)] [com.unity3d.services.core.webview.bridge.WebViewBridgeInterface.handleInvocation(WebViewBridgeInterface.java:29)]

    W/UnityAds(21336): com.unity3d.services.core.device.Device.getNetworkType() (line:152) :: Unity Ads was not able to get current network type due to missing permission

    I would like to know what openAdvertisingTrackingId null means and how to fix it.
     
  2. VirginieC

    VirginieC

    Unity Technologies

    Joined:
    Aug 1, 2019
    Posts:
    17