For a programmatic display campaign, all display formats (be it JPG/PNG/GIF and HTML5) do not necessarily have the same inventory access, even though they can sometimes serve into the same standard display placements.
JPG/PNG
GIF
HTML5 gives you considerably more creative flexibility, but may limit delivery across various websites and apps.
For example, you could have:
Frame 1:
"Looking for a new SUV?"
Frame 2:
"0% financing available"
Frame 3:
"Visit your local dealer"
And you can create smoother animation, interactive elements, expandable experiences, dynamic content, etc.
But the important tradeoff:
HTML5 is more technically demanding and isn't necessarily accepted everywhere a static image is.
HTML5 creative has to meet the specifications of the particular ad platform/exchange, including things like file size, click tracking, JavaScript, external assets, SSL, and packaging requirements.
Some apps/mobile environments can also have more restrictions than standard web inventory.
We actually recommend keeping your guidance fairly simple for your advertisers:
Standard Display Creative
For the broadest compatibility, JPG or PNG is recommended. Animated GIFs can be used when simple motion is desired. HTML5 allows for more advanced animation and interactive creative, but compatibility can vary by placement and inventory.