Could not compile build.gradle error: gradle.build expecting '}'

Trying to implement appodeal + admmob in Unity 2020.1.4f . Getting this error while building the APK: build file ‘C:\Users\UserName\Desktop\Owl\Unity Projects\GameName\Temp\gradleOut\unityLibrary\build.gradle’: 128: expecting ‘}’, found ‘’ @ line 128, column 1.

The Temp folder is generated by unity. How can I affect that gradle.build file?