facebook twitter hatena line email

「Android/広告組込/google/admob/基本」の版間の差分

提供: 初心者エンジニアの簡易メモ
移動: 案内検索
(ページの作成:「==ポリシー違反警告== 以下のようなポリシー違反警告がくる場合 This email is to alert you that your app is currently in violation of the AdMob pr...」)
 
(ポリシー違反警告)
行8: 行8:
 
  Regarding your Google AdMob Policy Violation Review
 
  Regarding your Google AdMob Policy Violation Review
 
  We’ve completed reviewing your app and no policy violations were found.
 
  We’ve completed reviewing your app and no policy violations were found.
 +
 +
==テストデバイスID==
 +
広告表示時に以下ログが出るので、そこに記載のidを入れる。
 +
RequestConfiguration.Builder().setTestDeviceIds(Arrays.asList("E36A38A1F26D812D88FB97BF7D071234")
 +
 +
もしくは、イカを入れると良いかも。
 +
<pre>
 +
String androidId =  Settings.Secure.getString(this.getContentResolver(), Settings.Secure.ANDROID_ID);
 +
Log.i(TAG, "testDeviceId=" + md5(androidId).toUpperCase()); // E36A38A1F26D812D88FB97BF7D71234
 +
</pre>
 +
ただし、少しidが違ったので使えないかも?・・。注意。

2020年8月6日 (木) 19:43時点における版

ポリシー違反警告

以下のようなポリシー違反警告がくる場合

This email is to alert you that your app is currently in violation of the AdMob program policies. Importantly, this will require action on your part to ensure no disruption in ad serving. Please read below for more information on the actions you need to take. View in policy center

自分のアプリの場合は、バナー広告の上にリワード広告が被っていたので、修正した。

問題なければ以下のようなメッセージが来る

Regarding your Google AdMob Policy Violation Review
We’ve completed reviewing your app and no policy violations were found.

テストデバイスID

広告表示時に以下ログが出るので、そこに記載のidを入れる。

RequestConfiguration.Builder().setTestDeviceIds(Arrays.asList("E36A38A1F26D812D88FB97BF7D071234")

もしくは、イカを入れると良いかも。

String androidId =  Settings.Secure.getString(this.getContentResolver(), Settings.Secure.ANDROID_ID);
Log.i(TAG, "testDeviceId=" + md5(androidId).toUpperCase()); // E36A38A1F26D812D88FB97BF7D71234

ただし、少しidが違ったので使えないかも?・・。注意。