Hi! I’m trying to follow the google Ad Placement official tutorial. the banner looks working but Reward ads always has problem. Ad Placement named ContinueRewardedAd does not exist.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using GoogleMobileAds.Api;
using GoogleMobileAds.Placement;
public class TempButton : MonoBehaviour
{
List<string> deviceIds = new List<string>();
RewardedAdGameObject RewardAds;
void Start()
{
RewardAds = MobileAds.Instance.GetAd<RewardedAdGameObject>("ContinueRewardedAd");
RewardAds.LoadAd();
this.gameObject.SetActive(false);
deviceIds.Add("2077ef9a63d2b398840261c8221a0c9b");
RequestConfiguration requestConfiguration = new RequestConfiguration.Builder().SetTestDeviceIds(deviceIds).build();
MobileAds.SetRequestConfiguration(requestConfiguration);
MobileAds.Initialize((initStatus) => {
Debug.Log("Initialized MobileRewardAds");
});
}
}