Search Unity

Problem with unity ads after publish the game in play store

Discussion in 'Unity Ads & User Acquisition' started by asemivu13, Oct 22, 2018.

  1. asemivu13

    asemivu13

    Joined:
    Jul 24, 2018
    Posts:
    5
    The problem is when the ads in test mode , it is working fine but when i publish it
    it works fine (the ad show every 4 time when the player die):
    the problem is : it show me (one ad or two just) and then nothing
    the ad don't show up unless i quit from the game and open it again
    i really want to know why ad just show one or two then don't?
    i use unity 2018.2.2.1f
     
    Last edited: Oct 22, 2018
  2. tailorjay

    tailorjay

    Unity Technologies

    Joined:
    Sep 8, 2016
    Posts:
    13
    Is it happening on all the devices? Can you send us android/ios logs to debug? What is your ads sdk version?
     
  3. asemivu13

    asemivu13

    Joined:
    Jul 24, 2018
    Posts:
    5
    yes it is happen in all devices
    where should i send logs ?
    i integrated Ads SDK using Services window which is Unity Ads 2.1.1
     
  4. asemivu13

    asemivu13

    Joined:
    Jul 24, 2018
    Posts:
    5
    This is log

    D:\Android SDK\platform-tools>adb logcat -v time UnityAds:V *:S
    int logctl_get(): open '/dev/hwlog_switch' fail -1, 13. Permission denied

    Note: log switch off, only log_main and log_events will have logs!
    --------- beginning of main
    10-22 20:16:58.908 I/UnityAds(12533): com.unity3d.ads.UnityAds.initialize() (lin
    e:148) :: Initializing Unity Ads 2.1.1 (2101) with game id 2749965 in production
    mode
    10-22 20:16:58.922 I/UnityAds(12533): com.unity3d.ads.UnityAds.initialize() (lin
    e:160) :: Unity Ads environment check OK
    10-22 20:16:58.976 I/UnityAds(12533): com.unity3d.ads.configuration.InitializeTh
    read$InitializeStateConfig.execute() (line:214) :: Unity Ads init: load configur
    ation from https://config.unityads.unity3d.com/webview/2.1.1/release/config.json

    10-22 20:16:59.280 I/UnityAds(12533): com.unity3d.ads.configuration.InitializeTh
    read$InitializeStateLoadCache.execute() (line:267) :: Unity Ads init: webapp loa
    ded from local cache
    10-22 20:17:00.785 I/UnityAds(12533): com.unity3d.ads.api.Sdk.logInfo() (line:70
    ) :: Requesting configuration from https://publisher-config.unityads.unity3d.com
    /games/2749965/configuration?bundleId=com.AsemGames.inJump&encrypted=true&rooted
    =false&platform=android&sdkVersion=2101&osVersion=6.0&deviceModel=CAM-L21&langua
    ge=ar_JO&test=false&deviceMake=HUAWEI&advertisingTrackingId=ca3ffee7-6b67-4a5c-9
    ad2-11ed1c7e2efc&limitAdTracking=false&frameworkName=Unity&frameworkVersion=2018
    .2.2f1&adapterName=Engine&adapterVersion=2.1.1
    10-22 20:17:01.546 I/UnityAds(12533): com.unity3d.ads.api.Sdk.logInfo() (line:70
    ) :: Received configuration with 3 placements for token eyJhbGciOiJIUzI1NiIsInR5
    cCI6IkpXVCJ9.eyJhdWMiOjIwNSwiY3BpIjoxMjMsImlhcCI6NDgsImx0diI6NzksInBybyI6MTQ4LCJ
    4cHIiOjIzMCwic3ViIjoiWkc0dkdZMENNT3RHZGJRdWlzb3NVTWJ6VEpYT2p3SElvNUc4YzRvTFRNbmx
    LRS9NMkRzVVZtY1dlN3FJYmFGbXB6c0w4QT09IiwiaWF0IjoxNTQwMjI4NjIzLCJleHAiOjE1NDE0Mzg
    yMjMsImlzcyI6ImNvbWV0LnVuaXR5YWRzLnVuaXR5M2QuY29tIiwiY3JlYXRlZCI6MTUxNDkwODE3OTA
    wMH0.vjGAYuAEc5GWzueuqi-3x4MFJcOO8ZxYIcGeefgDilg (A/B group [object Object])
    10-22 20:17:01.631 I/UnityAds(12533): com.unity3d.ads.api.Sdk.logInfo() (line:70
    ) :: Requesting ad plan from https://auction.unityads.unity3d.com/v4/games/27499
    65/requests?advertisingTrackingId=ca3ffee7-6b67-4a5c-9ad2-11ed1c7e2efc&limitAdTr
    acking=false&deviceModel=CAM-L21&platform=android&sdkVersion=2101&stores=google&
    deviceMake=HUAWEI&screenSize=268435858&screenDensity=320&apiLevel=23&screenWidth
    =720&screenHeight=1208&connectionType=wifi&networkType=2
    10-22 20:17:02.943 I/UnityAds(12533): com.unity3d.ads.api.Sdk.logInfo() (line:70
    ) :: AdPlan received with 2 campaigns and refreshDelay 3600
    10-22 20:17:52.238 I/UnityAds(12533): com.unity3d.ads.UnityAds.show() (line:304)
    :: Unity Ads opening new ad unit for placement video
    10-22 20:17:52.434 I/UnityAds(12533): com.unity3d.ads.api.Sdk.logInfo() (line:70
    ) :: Opening mraid ad unit with orientation NONE, hardware acceleration enabled
    10-22 20:17:52.799 I/UnityAds(12533): com.unity3d.ads.api.Sdk.logInfo() (line:70
    ) :: Unity Ads event: sending start event to https://adserver.unityads.unity3d.c
    om/events/v2/brand/video/video_start/2749965/005472656d6f7220416e6472
    10-22 20:17:59.332 I/UnityAds(12533): com.unity3d.ads.api.Sdk.logInfo() (line:70
    ) :: Requesting ad plan from https://auction.unityads.unity3d.com/v4/games/27499
    65/requests?advertisingTrackingId=ca3ffee7-6b67-4a5c-9ad2-11ed1c7e2efc&limitAdTr
    acking=false&deviceModel=CAM-L21&platform=android&sdkVersion=2101&stores=google&
    deviceMake=HUAWEI&screenSize=268435858&screenDensity=320&apiLevel=23&screenWidth
    =720&screenHeight=1208&connectionType=wifi&networkType=2
    10-22 20:18:00.001 I/UnityAds(12533): com.unity3d.ads.api.Sdk.logInfo() (line:70
    ) :: Closing Unity Ads ad unit
    10-22 20:18:01.656 I/UnityAds(12533): com.unity3d.ads.api.Sdk.logInfo() (line:70
    ) :: AdPlan received with 0 campaigns and refreshDelay 3600
    10-22 20:18:29.122 I/UnityAds(12533): com.unity3d.ads.api.Sdk.logInfo() (line:70
    ) :: Requesting ad plan from https://auction.unityads.unity3d.com/v4/games/27499
    65/requests?advertisingTrackingId=ca3ffee7-6b67-4a5c-9ad2-11ed1c7e2efc&limitAdTr
    acking=false&auctionId=aeb76c65-659c-401c-8002-3c6952ee8212&deviceModel=CAM-L21&
    platform=android&sdkVersion=2101&stores=google&deviceMake=HUAWEI&screenSize=2684
    35858&screenDensity=320&apiLevel=23&screenWidth=720&screenHeight=1208&connection
    Type=wifi&networkType=2
    10-22 20:18:30.039 I/UnityAds(12533): com.unity3d.ads.api.Sdk.logInfo() (line:70
    ) :: AdPlan received with 0 campaigns and refreshDelay 3600