How to mention custom meta tag for app id declaration in Android manifest in Unity?

I am building an game and for monetization I am using Google ads. It builds apk with Unity 6.14f1 and Google ads V9.2 but opening on phone gives an error:

FATAL EXCEPTION: main (Ask...)
Process: net.app.app, PID: 2548
java.lang.RuntimeException: Unable to get provider com.google.android.gms.ads.MobileAdsInitProvider: java.lang.IllegalStateException:
******************************************************************************
* Invalid application ID. Follow instructions here:                          *
* https://googlemobileadssdk.page.link/admob-android-update-manifest         *
* to find your app ID.                                                       *
* Google Ad Manager publishers should follow instructions here:              *
* https://googlemobileadssdk.page.link/ad-manager-android-update-manifest.   *
******************************************************************************
  
  
	at android.app.ActivityThread.installProvider(ActivityThread.java:8489)
	at android.app.ActivityThread.installContentProviders(ActivityThread.java:7989)
	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7675)
	at android.app.ActivityThread.-$Nest$mhandleBindApplication(Unknown Source:0)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2478)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:230)
	at android.os.Looper.loop(Looper.java:319)
	at android.app.ActivityThread.main(ActivityThread.java:8919)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:578)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
Caused by: java.lang.IllegalStateException: 
******************************************************************************
* Invalid application ID. Follow instructions here:                          *
* https://googlemobileadssdk.page.link/admob-android-update-manifest         *
* to find your app ID.                                                       *
* Google Ad Manager publishers should follow instructions here:              *
* https://googlemobileadssdk.page.link/ad-manager-android-update-manifest.   *
******************************************************************************
  
  
	at com.google.android.gms.ads.internal.client.zzek.attachInfo(com.google.android.gms:play-services-ads-lite@@23.2.0:15)
	at com.google.android.gms.ads.MobileAdsInitProvider.attachInfo(com.google.android.gms:play-services-ads-lite@@23.2.0:1)
	at android.app.ActivityThread.installProvider(ActivityThread.java:8484)
	... 11 more

I have opened the exported project in android studio and typed the suggested meta tags with id in the launcher folders manifest. But it gives other error such as can not merge manifest.

So where do I add this meta tag and how to resolve this error?

Please only use the 2D tag when asking directly about 2D features because this puts it in the 2D product area.

I’ll remove the tag for you.

Thanks.

OK. Can I get an answer to this problem about adding a meta tag with ads app id?

Maybe from someone specializing in the subject. I work in 2D and no nothing about your problem, hence me mentioning the correct use of tags so your question isn’t displayed in the wrong area.

Thanks.

I guess this will go into deep Unity void. No solution Unity???

What ads library are you using in Unity? You likely skipped a step in the setup process, carefully read the instructions and make sure you followed all the steps.

Read the merge error, it should tell you what the merge issue is. Likely, the meta tag is already defined in another place and then the two meta tags with the same name cause the merge conflict.

Thanks for replying. I have checked the manifest files and I saw the APPLICATION_ID meta data has been added with correct ID that I have put from settings of ads asset.
I have followed steps from here: Get started  |  Unity  |  Google for Developers

Using ads V:9.2, latest available at the moment from GitHub and Unity 6.0.14f1.