Importing the Mobile Ads SDK - Mobile Ads Garage #1

Google for Developers · 900K views · 2016 · 5:38

Open on YouTube

Software (other)Web developmenttutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when someone hits setup errors like an unresolved AdView symbol or a failing Gradle sync while adding the AdMob SDK to an Android project.

Recommended by 1 people across 1 different months, 2016 to 2017.

What it is

The first episode of Google's Mobile Ads Garage series, presented by the Google for Developers channel. It walks through importing the Google Mobile Ads SDK into an Android or iOS project, with links to the AdMob quick start guides and sample code.

What people said

Recommends RedBrogdon · 2016-07 · Stack Overflow · on “can not resolve symbol AdView”

One common reason for this error is that the Google Mobile Ads SDK hasn't been imported into the project. I'd recommend having a look at these resources if you haven't already: The Android AdMob quick start guide [LINK] Video walkthrough [this video] of setting up the Mobile Ads SDK in Android

Cites Bilal Hussain EP · 2016-12 · Stack Overflow · on “Gradle sync error when importing moblie ads sdk”

Hello i am pretty new to android and and android studio .i build some test apps and some apps. when i try importing the mobile ads sdk for admob as in this video (Link to mobile ads garage video) [this video] it gives me an error Image of error in messages view [LINK] When i click on the Install repository and Sync project option in messages view my cursor turns into pointer and android studio stucks.after some time it gets normal and dont install anything. I enabled google admob by checking the admob option inside File>Project Structure>Ads Here is my build.gradle file of app module. apply plugin: 'com.android.application' android { compileSdkVersion 25 buildToolsVersion "25.0.1" defaultConfig {

Cites Le Son Phat · 2017-08 · Stack Overflow · on “Admob with firebase, only view ads: Nice job! You're displaying a 320x50 test ad from admob”

I add admob for my app as guide: [LINK] and [this video] But admob is only view: Nice job! You're displaying a 320x50 test ad from admob It does NOT change other ads. Please help me. Code as below: In activity at onCreate: MobileAds.initialize(this, "ca-app-pub-9518053516260440/6844465750"); AdView mAdView = (AdView) findViewById(R.id.adView); AdRequest adRequest = new AdRequest.Builder().build(); mAdView.loadAd(adRequest); in xml: <com.google.android.gms.ads.AdView xmlns:ads=" [LINK] " android:id="@+id/adView" android:layout_width="match_parent" android:layout_height="50dp" android:layout_centerHorizontal="true" android:layout_alignParentBottom="true" ads:adSize="BANNER" ads:adUnitId="ca-app-pub