title: Plugin with id 'com.google.gms.google-services' not found
body: <p>I have followed this <a href="https://firebase.google.com/docs/admob/android/quick-start" rel="noreferrer">link</a> to integrate ads in my app. But it shows this error:</p>
  
  <p><img src="https://i.stack.imgur.com/V1RZN.png" alt="error image"></p>
  
  <p>This is my build.gradle:</p>
  
  <pre><code>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'
  
  }
  
  }
  </code></pre>
  
  <p>ads are not showing up in real device.please help me
  This is my error after i updated classpath 
  <a href="https://i.stack.imgur.com/XY6JO.png" rel="noreferrer">error </a></p>