When using our new HTML Ads there is a few things to keep in mind:

  1. Revcontent will provide you with a WIDGET_ID to pass into "id" parameter
  2. You will need to generate an impression UUID_V4 to pass into the "key" parameter. This ID must use the UUID Version 4 Specification. If you pass an incorrect UUID format or do not generate a unique UUID for EVERY impression, your tracking and revenue will be impacted. 
  3. You must pass the same UUID to the anchor tag and the image tag
  4. You must use a standard IAB size and our format to pass into the size parameter.

Example Code: 

<div>
  <a href=“https://trends.revcontent.com/click/?key=<UUID_V4>”>
     <img src=“https://trends.revcontent.com/image/?id=<WIDGET_ID>&key=<UUID_V4>&size=<IAB_SIZE>" />
  </a>
</div>


Example UUID Version 4

2e78a663-bfec-4638-91f9-5a4aa05090e3


JavaScript Example to Generate a UUID V4

function uuid() {    
    var uuid = "", i, random;    

    for (i = 0; i < 32; i++) {      
        random = Math.random() * 16 | 0;        
       
        if (i == 8 || i == 12 || i == 16 || i == 20) {        
            uuid += "-";      
        }
     
        uuid += (i == 12 ? 4 : (i == 16 ? (random & 3 | 8) : random)).toString(16);    
     }  
 
     return uuid;  
}


IAB Size Examples

300x250
250x250
240x400
336x280
720x300
300x600
970x250
970x550


Did this answer your question?