Can't build project with advertisement package

I’ve tried solving every error I came across but it would only go to another problem.

So when I removed the advertisement packages I was able to build the app with no issues

Is anyone here having this problem? I really want to put ads on my game

I’m a noob btw

What Ad service are you using? If its Google Ad mob then check out this tutorial.