Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.

Have an account? Sign In

Captcha Click on image to update the captcha.

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have a permission to ask a question, You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here
Tech Answered Logo Tech Answered Logo
Sign InSign Up

Tech Answered

Tech Answered Navigation

  • Home
  • Tutorials
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • About Us
  • Blog
  • Contact Us
Home / Questions /Q 358
Next
In Process
Anonymous
  • 0
Anonymous
Asked: August 15, 20202020-08-15T20:17:54+05:30 2020-08-15T20:17:54+05:30In: Android

I just created an app using Android Studio on my Windows 7 PC. How can I insert ads?

  • 0

I created a test app using Android Studio. How can I show ads in it? Do I need additional software?

admobadsenseandroid studioandroidstudioquestion
  • 1
  • 651
  • 0
  • 0
Answer
Share
  • Facebook

    Related Questions

    • How to download and install android studio
    • How can I get AdSense approval in 1 minute?
    • How to use the same AdSense account for multiple YouTube channels?
    • Kakaostory
    • Find YouTube username?
    • Direction
    • I accidentally deleted my WhatsApp yesterday, how to recover chats which are not on backup

    1 Answer

    1. Arun P
      2020-08-15T21:43:27+05:30Added an answer on August 15, 2020 at 9:43 pm

      No need for an additional software. For showing ads on your app you need to have an admob account first. Make sure to provide legit informations or it may affect your payment in future. After that, you should create an ad unit for your app. You can have three types of ads : Banner, Interstitial And Reward Video Ads. Now, you need to add some codes to the following sections :

      1) project-level build.gradle

      2) app-level build.gradle

      3) activity_main.xml

      4) MainActivity.class

      5) strings.xml

      Make sure to provide your correct adunit id and app id in the codes especially under MainActivity.class and strings.xml sections. That’s it, you have placed a banner ad on your app. You can get the necessary codes from the below link :

      https://www.javatpoint.com/android-banner-ads

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    Leave an answer

    Leave an answer
    Cancel reply

    Browse

    Sidebar

    Ask A Question

    More Questions

    • arslansaeed

      How to recover images from Google Drive.

    • shree

      How to fix e/paypal.sdk internal_server_error

    • dynamicapps5

      how to fix android system sign in to network keeps

    • nora khan

      android studio error failed to load jvm dll how to

    • dynamicapps5

      android studio alternative for low end pc

    • shane Sunny

      Does android 11 improve battery life?

    • nora khan

      how to change minimum sdk version in android studio

    • Rashika

      How do I fasten up my Android Studio while programming?

    Stats

    • Questions 1,939
    • Answers 2,046
    • Posts 8
    • Best Answers 72

    Related Questions

    • dynamicapps5

      How to download and install android studio

    • Tech savvy

      How can I get AdSense approval in 1 minute?

    • kiran kumar85

      How to use the same AdSense account for multiple YouTube channels?

    • Mimi kim

      Kakaostory

    • jillsh226

      Find YouTube username?

    • Mia_Mia

      Direction

    • Shreevara

      I accidentally deleted my WhatsApp yesterday, how to recover chats which are

    • Ramya834

      How to add the Database packages to the Android Studio

    Explore

    • Home
    • Communities
    • Questions
      • New Questions
      • Trending Questions
      • Must read Questions
      • Hot Questions
    • Polls
    • Tags
    • Badges
    • Users
    • Help

    Footer

    Recent Comments

    • ethancargio on Which programming language should I learn?
    • glenn on How to stop windows 11 update permanently
    • glenn on How to fix the POS limit has been reached on windows 10 and saying your device need to install updates
    • Satish on YouTube offline video save to gallery app
    • glenn on where does youtube offline videos gets saved on Phone
    Ask A Question

    Archives

    Tags

    android 11 release date (1) Google News App (1) if x+y+z=0 show that x3+y3+z3 is equal to (1) if x+y+z=0 show that x3+y3+z3=3xyz (1) if x+y+z=0 show that x3+y3+z3=3xyz solution (1)

    Social media

    © 2021 @ Techanswered.com.
    Terms, Privacy policy & Sitemap.

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.