Facebook Mobile-Web Ad Display Issues

101 Views Asked by At

I am using Facebook Audience Network(MobileWeb-beta) for ads on my mobile site. But the 320x50 html source code doesn't display the add across the width of the mobile screen as it should, it displays a smaller ad(as shown in the image).

I am using the code given on Fb site: <div class="fb-ad" data-placementid="xxxxxx-xxxxxx" data-format="320x50" data-testmode="true"> </div>

Any suggestions? Thanks!

Ad display Phone Screenshot

1

There are 1 best solutions below

1
KaelaMichelle On BEST ANSWER

Do you have your viewport set? Adding this to your <head> should fix it.

<meta name="viewport" content="width=device-width, initial-scale=1.0">