I starts happening after installing latest ads sdk from package manager and migrating project from unity 19 to unity 2020 latest version …
…
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.Advertisements.Placeholder.HideSkipButton (UnityEngine.GameObject canvasGameObject) (at Library/PackageCache/com.unity.ads@4.3.0/Runtime/Advertisement/Platform/Editor/Placeholder.cs:178)
UnityEngine.Advertisements.Placeholder.Show (System.String placementId, System.Boolean allowSkip) (at Library/PackageCache/com.unity.ads@4.3.0/Runtime/Advertisement/Platform/Editor/Placeholder.cs:79)
UnityEngine.Advertisements.Platform.Editor.EditorPlatform+<>c__DisplayClass14_0.b__0 () (at Library/PackageCache/com.unity.ads@4.3.0/Runtime/Advertisement/Platform/Editor/EditorPlatform.cs:165)
UnityEngine.Advertisements.Utilities.CoroutineExecutor.Update () (at Library/PackageCache/com.unity.ads@4.3.0/Runtime/Advertisement/Utilities/CoroutineExecutor.cs:17)
When you install the latest sdk version there might be a high probability that it simply is not compatible with a Unity-Version from 2020.
Try making a backup and upgrade unity to 2021 LTS or even some 2022 version from earlier this year (try to avoid the newer ones)