atwwei / ngx-dfp

Semantic DoubleClick for Publishers (DFP by Google) integration with Angular v6.0.
16 stars 15 forks source link

Ad Tags are coming back blank #27

Closed abyrne85 closed 6 years ago

abyrne85 commented 6 years ago

Ad Tags are coming back empty

  <div class="MhDfpAd__Ad">
    <dfp-ad [adUnit]="adUnit" responsive (afterRefresh)="adLoaded($event)">
      <dfp-size *ngFor="let size of sizes" [width]="size.Width" [height]="size.Height"></dfp-size>
      <dfp-targeting *ngIf="targetingValues?.regionId" key="MYH_RegionID" [value]="[targetingValues.regionId]"></dfp-targeting>
      <dfp-targeting *ngIf="targetingValues?.propertyClassIds" key="MYH_PropertyClassId" [value]="[targetingValues.propertyClassIds]"></dfp-targeting>
      <dfp-targeting *ngIf="targetingValues?.propertyTypeIds" key="MYH_PropertyTypeID" [value]="[targetingValues.propertyTypeIds]"></dfp-targeting>
    </dfp-ad>
  </div>

Requests are being sent but the html comes back empty for each ad, even when there are no targeting values

Request https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=1655851894529790&correlator=1562689206595158&output=ldjh&callback=googletag.impl.pubads.callbackProxy1&impl=fif&adsid=AGKtvMrSH06QHAJmmGxi6lkEfWfmirnzPvJwLy2vEhqZWcSiCE8y_GuUcA&pucrd=CgwIABAAGAMgACgAOAESAhgHeAM&jar=2018-8-13-13&hxva=1&scor=2003829966374026&eid=21061674&vrg=238&guci=1.2.0.0.2.2.0&sc=1&sfv=1-0-29&iu=%2F4844766%2FMyHome%2FHomePage%2FHomePage_Web_Wallpaper_Left&sz=150x1024&fsf=1&eri=1&cookie=ID%3D24fe0ed3eb4edade%3AT%3D1532506166%3AS%3DALNI_MY-5pBCDeGQpZvVs3rNqgYo_5J4dg&bc=7&abxe=1&lmt=1530800000&dt=1534169495566&dlt=1534169494432&idt=1101&frm=20&biw=1298&bih=983&oid=3&adx=0&ady=0&adk=1145106784&gut=v2&ifi=1&u_tz=60&u_his=2&u_h=1080&u_w=1920&u_ah=1080&u_aw=1920&u_cd=24&u_nplug=3&u_nmime=4&u_sd=1&flash=0&url=https%3A%2F%2Falpha.myhome.ie%2F&dssz=17&icsg=697343&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=0x-1&msz=0x-1&ga_vid=1816610368.1532442437&ga_sid=1534169496&ga_hid=1105761752&fws=0

Response googletag.impl.pubads.callbackProxy1({ "/4844766/MyHome/HomePage/HomePage_Web_Wallpaper_Left": { "_type_": "html", "_expandable_": false, "_afc_expandable_": false, "_html_": "", "_snippet_": false, "_height_": 600, "_width_": 120, "_empty_": true, "_is_afc_": false, "_cookies_": [{ "_value_": "ID=85bd5984bc70809b:T=1534170233:S=ALNI_MZQicpC3UVFxmGS4NTXC9NUMhoLtQ", "_expires_": 1597242233, "_path_": "/", "_domain_": "localhost" }], "_is_psa_": false, "_is_3pas_": false, "_pstok_": "", "_qqid_": "CLOZpr6d6twCFRCI7QodLIQLqg" } });