Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question Switching Game IDs makes it work?

Discussion in 'Unity Ads & User Acquisition' started by svenvanh, Jun 28, 2022.

  1. svenvanh

    svenvanh

    Joined:
    Nov 29, 2019
    Posts:
    51
    Hi, I'm currently working on my app and have an android ID and an iOS ID. When I set the android ID from the dashboard to the _androidGameId in this script https://docs.unity.com/ads/InitializingTheUnitySDK.html I get this error:

    Error loading Ad Unit Rewarded_Android: INVALID_ARGUMENT - Placement Rewarded_Android does not exist for gameId: (the dashboard game ID)


    But when I switch the too game IDs, so I set the android dashboard ID to the _iOSGameId in my script it all of the sudden works. Is this supposed to happen? Will this break if I launch my game?
     
  2. LIU_Hanyang96

    LIU_Hanyang96

    Unity Technologies

    Joined:
    Jul 12, 2021
    Posts:
    113
    Hi,

    May you provide your game id and scripts for your project? I can help check for you.
     
  3. svenvanh

    svenvanh

    Joined:
    Nov 29, 2019
    Posts:
    51