Facebook Ads

There are 3 types of Facebook Ads :

  1. Banner Ads - In place banners
  2. Interstitial Ads - Opened in a modal and on top of App
  3. Native Ads - Custom ads which can be created specific to the theme of the application. Facebook provides the data like title, description, cover image etc for Ad and you can use this data to create a custom ad.

Note - For facebook Ads to work, Please keep in mind that the app should meet the below requirements :

  1. You should have created a application on facebook developers portal.
  2. Facebook Id, Scheme and Display Name should be updated in app.json.
  3. You need to create placement Id for each ad you place in the app in the audience network portal.

For Sample Implementation, Check the container facebookAds under src/js/containers/facebookAds

general:
  onlyForPlayers: "&4This command can only be used by a player."
  playerNotFound: "&4ERROR ! &cPlayer not found"
  noPerm: "&4You don't have permission to do that"

commands:
  teleportation:
    tphere:
      needPlayerName: "&cToo few arguments ! This command require a player name to be executed."
      invalidName: "&cThe player isn't connected."
      origin:
        success: ""
      target:
        success: ""

  gamemode:
    survival:
    creative:
    spectator:
    adventure:

  player:
    feed:
      self:
        success: ""
      others:
        target:
          success: ""
        origin:
          success: ""
    heal:
      self:
        success: ""
      others:
        target:
          success: ""
        origin:
          success: ""

 

Published On June 6, 2020 11:58 PM

Last Updated June 29, 2021 9:31 PM