Search Unity

Unity Ads shows up / working on Mobile Data but not working on WiFi.

Discussion in 'Unity Ads & User Acquisition' started by SaumyaSaurav, Jan 28, 2021.

  1. SaumyaSaurav

    SaumyaSaurav

    Joined:
    Oct 7, 2017
    Posts:
    13
    Hello everyone,
    I have got weird problem with Unity Ads in my game.
    the problem is, Unity Advertisements shows up when i am using Mobile Data but doesn't work when i am using WiFi.
    I have checked my WiFi has better speed and connection reliablity than mobile data.
    Does anyone else had this same issue?
    How can i Fix This?

    Thank You
     
  2. SaumyaSaurav

    SaumyaSaurav

    Joined:
    Oct 7, 2017
    Posts:
    13
    @rasmus-unity @ap-unity Please Help, i found something today too. the problem is
    InitializeAds();
    this code is not initializing when i am using WiFi.
    but it does initializes when i using Mobile Networks.
     
  3. Polyfemos

    Polyfemos

    Joined:
    Nov 13, 2020
    Posts:
    25
    Since it works over the mobile network but not over wifi, have you considered if you route has any type of ad blocking?
    A quick test is to connect on WiFi, and then (after you have connected) go in to wifi settings and change the DNS to 1.1.1.1 instead of whatever is there now (probably 192.168.1.1 or 10.0.0.1).
     
  4. rasmus-unity

    rasmus-unity

    Moderator

    Joined:
    Aug 15, 2014
    Posts:
    1,312
    Also, did you check for errors in device log when on wifi?

    /Rasmus
     
  5. SaumyaSaurav

    SaumyaSaurav

    Joined:
    Oct 7, 2017
    Posts:
    13
    Thank you fro Replying, yes i checked the console, i am sure i am getting no errors.

    i am initializing the Unity Ads uing InitializeAds() in start() method.
    it works fine on Unity Editor & Mobile Data, it's just wifi. that method never works.
     
  6. rasmus-unity

    rasmus-unity

    Moderator

    Joined:
    Aug 15, 2014
    Posts:
    1,312
    Are you running on Android or iOS device?
     
  7. SaumyaSaurav

    SaumyaSaurav

    Joined:
    Oct 7, 2017
    Posts:
    13
    yes Android Phone with Android OS version 8.0
     
  8. kyle-unity

    kyle-unity

    Unity Technologies

    Joined:
    Jan 6, 2020
    Posts:
    336
    Hey @SaumyaSaurav by any chance are you located in India? We have an ongoing issue where some Indian ISPs aren't able to access our config server, meaning the Ads SDK isn't able to initialize on some connections.

    Our team has been helping these ISPs resolve this, but my understanding is some users may still be affected. We're doing our best to resolve this ASAP.
     
    Polyfemos likes this.