Simple example of single request architecture with Prebid.js and Google Publisher Tags.
Ad batching packages multiple ad slots into a single bid request and single ad server request. It helps decrease ad load time and increase ad viewability when more than one ad is loading at the same time.
In this code I'm using ad units codes, sizes and placement ids found in code examples on prebid and gpt websites.