You can call for an ad refresh by using the Javascript function:

ProperMedia.ad_project.refreshSlotByName('slot_name')

Where slot_name is the name of the ad slot you want to refresh. 

This should be used for an event-based refresh, such as when a user clicks to view another image in a gallery, or scrolls to a new page.