My client has sold advertising space to a third party who has provided a click tag which works fine.
The third party has also supplied three forms of the impression tag which I cannot get to load. From reading their notes it may be the timestamp that needs setting (or possibly a randomly generated number to replace it) but not sure how to apply that in the Adplugg environment.
I'm guessing that I need to use the 'Custom' ad type. Am I right?
Also, how do I add either the timestamp or the RNG to complete the script?
Here is an example (anonymised)
<IMG SRC="https://ad.doubleclick.net/ddm/trackimp/Nnnnn.nnnnnnnDxxxxxxxxxxxxxxP1/B...ord=[timestamp];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=?" BORDER="0" HEIGHT="1" WIDTH="1" ALT="Advertisement">
The error given is "Your src must be a valid URL"
// Add the impression tag.
var img = document.createElement('img');
img.src = 'https://ad.doubleclick.net/ddm/trackimp/Nnnnn.nnnnnnnDxxxxxxxxxxxxxxP1/B...' + (new Date().getTime()) + ';dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=?';
img.border = 0;
img.height = 1;
img.width = 1;
img.alt = 'Advertisement';