मैंने अपने ऐप में विज्ञापनों को एकीकृत करने के लिए इस लिंक का अनुसरण किया है । लेकिन यह इस त्रुटि को दर्शाता है:

यह मेरा build.gradle है:
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
android {
compileSdkVersion 24
buildToolsVersion "24.0.2"
defaultConfig {
applicationId "com.example.personal.numbermania"
minSdkVersion 10
targetSdkVersion 24
versionCode 1
versionName "1.0"
}
buildTypes {
debug
{
debuggable true
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:24.2.1'
compile 'com.android.support:design:24.2.1'
compile 'com.google.firebase:firebase-ads:9.6.0'
}
}
विज्ञापन वास्तविक डिवाइस में दिखाई नहीं दे रहे हैं। कृपया मेरी मदद करें यह मेरी त्रुटि है क्योंकि मैंने कक्षा अपडेट की त्रुटि


google services jsonकंसोल डेवलपर्स से फाइल जेनरेट करनी होगीgoogleऔर इसेappडायरेक्टरी के अंदर डालना होगा ।