Search Unity

Unity Ads not getting on my Android device

Discussion in 'Unity Ads & User Acquisition' started by AjayRtsDev, Dec 15, 2020.

Thread Status:
Not open for further replies.
  1. AjayRtsDev

    AjayRtsDev

    Joined:
    Dec 2, 2020
    Posts:
    7
    Hi.

    I Created a sample scene to set up and test the unity Ads.

    i installed "Advertisements" package from package installer.(not from asset store ,importing both result in getting errors for me ).

    On my pc changed the build variant to Android . I am getting the built in Ads(test ads).
    But when I build and run on my Android device . I am not getting any Ads.

    Any help will be appreciated.

    Thank you.
     
  2. kyle-unity

    kyle-unity

    Unity Technologies

    Joined:
    Jan 6, 2020
    Posts:
    336
  3. AjayRtsDev

    AjayRtsDev

    Joined:
    Dec 2, 2020
    Posts:
    7
    Hi.

    com.unity3d.services.core.misc.Utilities.writeFile() (line:127) :: Wrote file: /data/user/0/com.DefaultCompany.UnityAds/files/UnityAdsStorage-public-data.json
    12-14 19:48:33.852 D/UnityAds(18944): com.unity3d.services.core.device.Storage.sendEvent() (line:86) :: Couldn't send storage event to WebApp
    12-14 19:48:33.856 D/UnityAds(18944): com.unity3d.services.core.misc.Utilities.writeFile() (line:127) :: Wrote file: /data/user/0/com.DefaultCompany.UnityAds/files/UnityAdsStorage-public-data.json
    12-14 19:48:33.856 D/UnityAds(18944): com.unity3d.services.core.device.Storage.sendEvent() (line:86) :: Couldn't send storage event to WebApp
    12-14 19:48:33.871 D/UnityAds(18944): com.unity3d.ads.UnityAds.initialize() (line:495) :: ENTERED METHOD
    12-14 19:48:33.871 D/UnityAds(18944): com.unity3d.services.ads.UnityAdsImplementation.initialize() (line:69) :: ENTERED METHOD
    12-14 19:48:33.871 D/UnityAds(18944): com.unity3d.services.UnityServices.initialize() (line:36) :: ENTERED METHOD
    12-14 19:48:33.871 I/UnityAds(18944): com.unity3d.services.UnityServices.initialize() (line:128) :: Initializing Unity Services 3.5.1 (3510) with game id 123456 in production mode
    12-14 19:48:33.874 I/UnityAds(18944): com.unity3d.services.UnityServices.initialize() (line:146) :: Unity Services environment check OK
    12-14 19:48:33.892 I/UnityAds(18944): com.unity3d.services.core.configuration.InitializeThread$InitializeStateConfig.execute() (line:289) :: Unity Ads init: load configuration from https://config.unityads.unity3d.com/webview/3.5.1/release/config.json
    12-14 19:48:43.912 I/UnityAds(18944): com.unity3d.services.core.configuration.InitializeThread$InitializeStateConfig.execute() (line:289) :: Unity Ads init: load configuration from https://config.unityads.unity3d.com/webview/3.5.1/release/config.json
    12-14 19:49:03.942 I/UnityAds(18944): com.unity3d.services.core.configuration.InitializeThread$InitializeStateConfig.execute() (line:289) :: Unity Ads init: load configuration from https://config.unityads.unity3d.com/webview/3.5.1/release/config.json
    12-14 19:49:43.978 I/UnityAds(18944): com.unity3d.services.core.configuration.InitializeThread$InitializeStateConfig.execute() (line:289) :: Unity Ads init: load configuration from https://config.unityads.unity3d.com/webview/3.5.1/release/config.json
    This is the log i got yesterday.

    after running for some time
    This is the error in log:
    2020-12-15 19:20:00.519 22092 22176 Error UnityAds com.unity3d.services.core.configuration.InitializeThread$InitializeStateNetworkError.execute() (line:536) :: Unity Ads init: network error, waiting for connection events
    ----------------------
    In event "OnUnityAdsDidError" i logged the message. The message is
    "init failed in network cnfig request".


    This is the log.
    Thank you
     
    Last edited: Dec 15, 2020
  4. kyle-unity

    kyle-unity

    Unity Technologies

    Joined:
    Jan 6, 2020
    Posts:
    336
    Thanks! It looks like something is blocking your app from being able to access our config server.

    If you're in India, we currently have an ongoing issue with some Indian ISPs who are unable to access some of the Unity Ads servers. We're working with the affected ISPs to help them fix the problem.

    If you're outside India, it's possible that a firewall or ad blocker could be preventing access to our servers.
     
  5. AjayRtsDev

    AjayRtsDev

    Joined:
    Dec 2, 2020
    Posts:
    7
    I am From INDIA.
    can i change the zone of the region??

    Thank you.
     
  6. kyle-unity

    kyle-unity

    Unity Technologies

    Joined:
    Jan 6, 2020
    Posts:
    336
    You might be able to connect to our servers using a different connection or perhaps a VPN service. Unfortunately the source of this problem is on the side of the affected ISPs so there isn't anything directly that we can do to help. We're working as hard as we can to help them fix this problem.
     
    AjayRtsDev likes this.
  7. AjayRtsDev

    AjayRtsDev

    Joined:
    Dec 2, 2020
    Posts:
    7
    I will wait then.
    Any guess on when this will be fixed so that I can check again.

    Thank you.
     
  8. daydreamers0423

    daydreamers0423

    Joined:
    Dec 23, 2020
    Posts:
    6
    I am also waiting for the same , Any guess on when the issue will be fixed ?
     
  9. chris_unity843

    chris_unity843

    Joined:
    Jan 5, 2021
    Posts:
    1

    Sorry to revive what looks to be a dead thread, but is this still a recurring issue or has it been fixed? This part specifically "ongoing issue with some Indian ISPs".
     
  10. kyle-unity

    kyle-unity

    Unity Technologies

    Joined:
    Jan 6, 2020
    Posts:
    336
    The issue with Indian ISPs should now be resolved :)
     
Thread Status:
Not open for further replies.