Integrate Facebook ADS

Estimated reading: 1 minute 324 views

After creating a Developer’s Facebook account and you are all ready to start your own Facebook audience network on your mobile app.

  • From your Facebook audience network dashboard, choose to add a new Android Application.
  • From the list of placement types below, choose the one you want to create and use in our app (Banner, Interstitial, Rewarded Video).
  • After choosing the placement type, you will get the placement ID as shown below.
  • Copy the Placement and go to file AppSettings.cs.
  • You can activate and deactivate according to the type of advertisement on your AppSettings.cs class file in your solution code as below.
Note

When you need to enable Facebook ads don’t forget to add app_id on the analytic.xml file.

<string name="facebook_app_id">362090*****</string>

Leave a Comment