title: How to add Mopub ads in android studio
body: <p>Hello i have tried all things. but i failed , if someone can solve my problem , please help me.
  i want to Integrate Mopub ads in android studio.
  i had already tried this(<a href="https://developers.mopub.com/publishers/android/integrate/#option-3-cloned-github-repository" rel="nofollow noreferrer">https://developers.mopub.com/publishers/android/integrate/#option-3-cloned-github-repository</a>) but didn't know how i get error.</p>
  
  <pre><code>Caused by: org.gradle.internal.metaobject.AbstractDynamicObject$CustomMessageMissingMethodException: Could not find method implementation() for arguments [com.mopub:mopub-sdk:@aar, build_2jh7i72qxdht1wclzb0v2ink0$_run_closure1$_closure3$_closure5@13b54e85] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
  </code></pre>
  
  <p>my build.gradle</p>
  
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  
  buildscript {
  
      repositories {
          jcenter()
          google()
          maven { url "https://s3.amazonaws.com/moat-sdk-builds" }
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:3.6.3'
          classpath 'com.google.gms:google-services:4.3.3'
          implementation('com.mopub:mopub-sdk:@aar') {
              transitive = true
          }
          // NOTE: Do not place your application dependencies here; they belon
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      repositories {
          jcenter()
          google()
  
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>