An open API service indexing awesome lists of open source software.

https://github.com/vimalcvs/facebookads

πŸ”₯πŸ“±βœ”This is an Android app that displays all the Facebook Mobile Ads based on Audience Network SDK. πŸ”₯πŸ“±βœ” This repo uses all the major ad-types in a separate activity for all the ads.
https://github.com/vimalcvs/facebookads

banner-ad facebook facebook-audience-network interstitial-ad rectangle-ad reward-ad

Last synced: 19 days ago
JSON representation

πŸ”₯πŸ“±βœ”This is an Android app that displays all the Facebook Mobile Ads based on Audience Network SDK. πŸ”₯πŸ“±βœ” This repo uses all the major ad-types in a separate activity for all the ads.

Awesome Lists containing this project

README

          

# FacebookAds
An Android app that displays all the Facebook Mobile Ads based on Audience Network SDK. Replace the existing adunits from ActivityConfig.java class. Facebook offer some extra tips on how to implement the ads for Android on this [page](https://developers.facebook.com/docs/audience-network/sdk-integration-tips-on-android/).

## Implementation
Add the audience network sdk dependency to build.gradle(Module: app)
```
implementation 'com.facebook.android:audience-network-sdk:5.9.1'
```

Initialize the AudienceNetworkAds class.
```groovy
AudienceNetworkAds.initialize(this);
```

## Ads Implemented in the app
The ads may not be displaying on Android Emulators so try to run the app on a real Android Phone or Tablet:

Ad Types


- Banner Ad (50 & 90 Sized)

- Interstitial Ad

- Rectangle Banner Ad

- Reward Ad (Require approval to request ad)





Now grab a cup of hot or cold coffeeβ˜• and let's get started. Feel free to give a star, fork and play around the ads.

This app make it easy for you to implement Facebook ads very easily into your Android App and it is very similar to how we used to implement the [Google AdMob Ads](https://developers.google.com/admob/android/quick-start/ "Yoo my boi click to open this page").