Skip to content

Commit

Permalink
template_code -> advertiser_creative_id fix
Browse files Browse the repository at this point in the history
Ad id (advar preroll template) was gewijzigd van template_code
('preroll') naar advertiser_creative_id.

In de advar template een extra attribuut toegevoegd ('code') waar de
template_code aan wordt toegewezen.

In de js wordt nu naar code verwezen ipv id
  • Loading branch information
kimvc committed Jan 6, 2014
1 parent be072ea commit c6f43e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vast/docs/adhese-vast.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ <h1 class="page-title">Source: adhese-vast.js</h1>
}

// insert the AdheseVastAd object in the schedule array using the ad's id as index to allow the palyer to retrieve it by id (as requested)
if (this.debug) console.log(ads[i].attributes.getNamedItem("id").nodeValue);
this.schedule[ads[i].attributes.getNamedItem("id").nodeValue] = new AdheseVastAd(
ads[i].attributes.getNamedItem("id").nodeValue,
if (this.debug) console.log(ads[i].attributes.getNamedItem("code").nodeValue);
this.schedule[ads[i].attributes.getNamedItem("code").nodeValue] = new AdheseVastAd(
ads[i].attributes.getNamedItem("code").nodeValue,
mediafiles,
ads[i].getElementsByTagName("Duration")[0].firstChild.nodeValue,
impression,
Expand Down

0 comments on commit c6f43e9

Please sign in to comment.