1

I don't know if this question is the same answer for my question.

Basically, what I want to know is the difference between AdmobBanner & PublisherBanner in react-native-admob?

They basically look the same & have similar properties.

deadcoder0904
  • 3,758
  • 1
  • 27
  • 91

1 Answers1

2

AdMobBanner is the react-native-admob-way to show an advertisement delivered by the AdMob Network. You just have to register there and pass in your adUnitID and they will handle all the stuff for you.

PublisherBanner has the same properties as AdMobBanner, with the addition of two new properties (onAppEvent and validAdSizes). It is used to show ads provided by DfP.

Tim
  • 9,033
  • 4
  • 24
  • 37
  • Why would a developer pick one over the other? – Carl G Jun 23 '19 at 11:43
  • 2
    @CarlG For most of the developers the `AdMobBanner` is the best choice. Here you don't have to sell ads by your own. Google will do all the stuff for you. Only if you are creating an app for a big company and you/they want to publish/sell your/their own ads, then the `PublishBanner` might be an option for you. – Tim Jun 23 '19 at 12:42
  • Thank you for that clarification. – Carl G Jun 24 '19 at 10:42