さて、私は私のGoogleのバナー広告スクリプトを持っており、モバイル広告プラグインをグーグルが、何らかの理由で広告が、私はそれが、Googleの広告が私のゲームの上に表示されない
テストIDを使用して、彼らはイムテストを働く公開した後、アプリには表示されませんそれら
using GoogleMobileAds.Api;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AdScript : MonoBehaviour {
// Use this for initialization
void Start() {
showBannerAd();
}
private void showBannerAd()
{
string adID = "ca-app-pub-4076551740851810/4176317920";
//ca-app-pub-3940256099942544/6300978111 FOR TESTING
//***For Testing in the Device***
//AdRequest request = new AdRequest.Builder()
// Simulator.
//.AddTestDevice("1e84e34350774f47") // My test device.
//.Build();
//***For Production When Submit App***
AdRequest request = new AdRequest.Builder().Build();
BannerView bannerAd = new BannerView(adID, AdSize.SmartBanner, AdPosition.Bottom);
bannerAd.LoadAd(request);
}
// Update is called once per frame
void Update() {
}
}
私は
あなたは私がどのように自分のコードの残りの部分は私与えていないことを持っていませんでしもしカントー私はそのようなことを見つけるdidntのすべてのxmlファイルをチェックしAdMobの –