# How to add Google Play ads to the Processing project? (Android)

**URL:** <https://discourse.processing.org/t/how-to-add-google-play-ads-to-the-processing-project-android/37872>\
**Category:** Processing for Android\
**Created:** [July 7, 2022, 12:20pm UTC](https://discourse.processing.org/t/how-to-add-google-play-ads-to-the-processing-project-android/37872 "2022-07-07T12:20:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![StasPovaliaevUkraine](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/staspovaliaevukraine/32/16599_2.png) [@StasPovaliaevUkraine](https://discourse.processing.org/u/StasPovaliaevUkraine)\
**Post date:** [July 7, 2022, 12:20pm UTC](https://discourse.processing.org/t/how-to-add-google-play-ads-to-the-processing-project-android/37872/1 "2022-07-07T12:20:16Z")

</div>

Hello! Let’s say I made an android application, how can I add ads to it, so that I can then upload it to Google Play, and when someone downloaded my application, did it show ads?

---

<div class="post-metadata">

**Author:** ![J\_Silva](https://avatars.discourse-cdn.com/v4/letter/j/3d9bf3/32.png) [@J\_Silva](https://discourse.processing.org/u/J_Silva)\
**Post date:** [July 8, 2022, 8:11am UTC](https://discourse.processing.org/t/how-to-add-google-play-ads-to-the-processing-project-android/37872/2 "2022-07-08T08:11:51Z")

</div>

Hi @StasPovaliaevUkraine  
Personally, I haven’t tried that but here are some links in case you haven’t seen them already.  
I don’t know if @akenaton still visits this forum because he is one of the best to answer your question.  
If you succeed please let me know because I am also interested.

> **[Add ads to your instant app  |  Android Developers](https://developer.android.com/topic/google-play-instant/guides/advertising)**

> **[Get Started  |  Android  |  Google Developers](https://developers.google.com/admob/android/quick-start)**
>
> A mobile ads SDK for Google AdMob publishers who are building Android apps.

> **[Google Mobile Ads Lite SDK  |  Android  |  Google Developers](https://developers.google.com/admob/android/lite-sdk)**

> **[Processing 2.x and 3.x Forum](https://forum.processing.org/two/discussion/20180/google-play-services-ads-and-androidmanifest-xml.html)**
>
> Processing is an electronic sketchbook, a language and a worldwide community. This is its forum.

---

<div class="post-metadata">

**Author:** ![StasPovaliaevUkraine](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/staspovaliaevukraine/32/16599_2.png) [@StasPovaliaevUkraine](https://discourse.processing.org/u/StasPovaliaevUkraine)\
**Post date:** [July 8, 2022, 10:27am UTC](https://discourse.processing.org/t/how-to-add-google-play-ads-to-the-processing-project-android/37872/3 "2022-07-08T10:27:29Z")

</div>

At the moment, I found one link, but due to a weak laptop, I can’t check the performance until I buy a new PC.

there she is:

> [@How to add Google AdMob to android sketch?](https://discourse.processing.org/t/how-to-add-google-admob-to-android-sketch/23022/10):
>
> I was able to get the code to work after adding one additional line in android studios. It appears that I was using too many methods. Google can explain it better than me: [https://developer.android.com/studio/build/multidex](https://developer.android.com/studio/build/multidex) Here are the steps that are needed to get this code up and running: Put the google-play-services.jar file in the code folder, which I have attached. In the folder I have attached, it is already located in the proper folder. Change the android manifest to: \<?xml version…
