유니티6부터 낮은 버전까지 여러버전 다 시도해봤고, 애드몹 플러그인도 9.2.0, 9.2.1, 9.3.0 다 시도해 봤음 


아래는 참고 될까봐 마지막 빌드의 작업내역을 처음부터 끝까지 적어봤어.


지금 유니티 버전은 22.3.52f1 애드몹 버전은 9.2.0임 mobile 2d로 새 프로젝트 만들자마자 아무것도 안 하고 


바로 안드로이드로 switch platform 한 다음 player setting에서 최소 api level 22, 타겟 api level 34로 설정하고 


IL2CPP, ARM64체크, 커스텀 그라들 템플랫, 커스텀 그라들 프로퍼티 템플랫, 커스텀 그라들 셋팅 템플랫 체크하고, 키스토어로 키 삽입한 다음 


GoogleMobileAds-v9.2.0.unitypackage 파일 불러와서 플러그인 설치, 


구글 애드몹 공홈에서 제공한 테스트용 배너 광고 예시 그대로 복붙해서 TestDeviceSimulator만 내 기기 번호로 바꿔주었고 


google mobile Ads Settings에서 Android에 테스트로 사용되는 샘플아이디(ca-app-pub-3940256099942544~3347511713) 삽입한 뒤 


마지막으로 force resolve 해주고 빌드했는데 테스트 광고가 안 뜬다.


이전에는 GPGS 충돌 때문에 안 나오는 건가 싶었는데 엊그제부터 진짜 아무것도 없이 애드몹 플러그인만 있고 배너 광고 코드부터 ID까지 전부 공식에서 제공되는 걸로 사용했는데 디바이스에서 테스트 광고가 안 보여


튜토 영상이나 커뮤에서 다른 사람들이 하는거 보면 진짜 되게 쉽게 되던데 뭐가 문제인지 모르겠음. 거의 일주일 넘게 여길 못 넘어가 내가 놓치고 있는 뭔가가 있는 것 같기도 하고. 


일단 로그캣 기록도 남겨놓을게 전체는 너무 기니까 광고 로드부분 부터 실패로그가 나오는 구간만 가져왔어


Debug AdsUnity Calling loadAd() on Android

Info ViewRootImpl@28a977e[UnityPlayerActivity] Relayout returned: old=(0,0,720,1480) new=(0,0,720,1480) req=(720,1480)0 dur=6 res=0x1 s={true 508551147520} ch=false

Debug DynamitePackage Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl

Info Ads This request is sent from a test device.

Info DynamiteModule Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:243799204

Info DynamiteModule Selected remote version of com.google.android.gms.ads.dynamite, version >= 243799204

Info GASS GassClearcutLogger Initialized.

Debug ConnectivityManager requestNetwork; CallingUid : 10369, CallingPid : 8896

Debug ConnectivityManager requestNetwork; CallingUid : 10369, CallingPid : 8896

Info DynamiteModule Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:243799204

Info DynamiteModule Selected remote version of com.google.android.gms.ads.dynamite, version >= 243799204

Info GASS GassClearcutLogger Initialized.

Warn Ads Invoke Firebase method getInstance error.

Warn Ads The Google Mobile Ads SDK will not integrate with Firebase. Admob/Firebase integration requires the latest Firebase SDK jar, but Firebase SDK is either missing or out of date

Warn ConnectionStatusConfig Dynamic lookup for intent failed for action: com.google.android.gms.ads.service.CACHE

Debug AdvertisingIdClient Creating AdvertisingIdClient

Debug AdvertisingIdClient AdvertisingIdClient already created.

Debug AdvertisingIdClient AdvertisingIdClient is not bounded. Starting to bind it...

Debug AdvertisingIdClient AdvertisingIdClient is bounded

Info AdvertisingIdClient shouldSendLog -1

Info AdvertisingIdClient GetInfoInternal elapse 6ms

Info AdvertisingIdClient getting error as 17: API: ClientTelemetry.API is not available on this device. Connection failed with: aru{statusCode=API_DISABLED_FOR_CONNECTION, resolution=null, message=null}

Info Ads HTTP timeout: 60000 milliseconds.

Info Ads GMA Debug BEGIN

Info Ads GMA Debug CONTENT {"timestamp":1731342472549,"event":"onNetworkRequest","components":["network_request_67028a77-af89-4977-b88e-7e58ffd90735"],"params":{"firstline":{"uri":"https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.html","verb":"GET"},"headers":[{"name":"sec-ch-ua","value":"\"Chromium\";v=\"130\", \"Android WebView\";v=\"130\", \"Not?A_Brand\";v=\"99\""},{"name":"sec-ch-ua-mobile","value":"?1"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"sec-ch-ua-platform","value":"\"Android\""},{"name":"User-Agent","value":"Mozilla/5.0 (Linux; Android 10; SM-G960N Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/130.0.6723.58 Mobile Safari/537.36 (Mobile; afma-sdk-a-v243799999.243220000.1)"}]}}

Info Ads GMA Debug FINISH

Info System.out (HTTPLog)-Static: isSBSettingEnabled false

Info System.out (HTTPLog)-Static: isSBSettingEnabled false

Info Ads Ad failed to load : 0

Error Unity Banner view failed to load an ad with error : {

Error Unity   "Code": 0,

Error Unity   "Message": "Internal error.",

Error Unity   "Domain": "com.google.android.gms.ads",

Error Unity   "Cause": "null",

Error Unity   "Response Info": {

Error Unity     "Response ID": "null",

Error Unity     "Mediation Adapter Class Name": "",

Error Unity     "Adapter Responses": [],

Error Unity     "Response Extras": {}

Error Unity   }

Error Unity }


내일 출근도 해야되는데 이것 땜에 진짜 힘들다