Google DFP + javascript

0 replies
Hello,

I'm using Google dfp do manage my ads, I'm currently trying to add an add to a zone but it's not correctly displayed:

Code:
<script type="text/javascript" src="https://forbiddenplanet.com/static/js/affiliates.js"></script>
<script type="text/javascript">
  new FP.Widget({
    query: "Star Wars",
    affiliate: "myid",
    size: 10,
    width: 300,
    height: 600,
    sort: "popularity",
    layout: "list"
  });
</script>
When put in DFP the widget is displayed but I can't click on the link, it's working when I put the code in a basic html page (just the code, not the dfp inserts). Is there a specific parameters in dfp to correct this?

Best regards,
#dfp #google #javascript

Trending Topics