Skip to content

🔥📱✔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.

License

Notifications You must be signed in to change notification settings

vimalcvs/FacebookAds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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.

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.

About

🔥📱✔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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages