EricZhao
EricZhao

Reputation: 756

facebook ads not showing on android device

I use facebook ads in my android apps.I found that some test devices never show ads,no matter banner or interstitial.I wonder why and try to find the reason but it doesn't log any info and call the 'onError' method.Finally I found the common place between these devices is that these devices don't have facebook app installed on it.Then I try to install facebook app and then login.The ads really show up.I'm confused why this happen.

Is it necessary for facebook ads that facebook app must be installed?

Upvotes: 2

Views: 9035

Answers (2)

EricZhao
EricZhao

Reputation: 756

It is necessary for facebook ads that facebook app must be installed and logined in with a Facebook account.

Upvotes: 3

Ben Parsons
Ben Parsons

Reputation: 1443

Audience Network ads require that Facebook are able to match the device id to a Facebook account. For testing you can instead use test ads, by specifying the device hashed id like so:

AdSettings.addTestDevice("HASHED ID");

This is easiest to find by checking console logs while ads are requested. You can also review the documentation here:

https://developers.facebook.com/docs/audience-network/testing

Upvotes: 3

Related Questions