Help improve the Google Publisher Tag developer experience. Share your thoughts in our survey.
Stay organized with collections Save and categorize content based on your preferences.

Ad sizes

This example demonstrates various ways of specifying which ad sizes are eligible to serve to an ad slot using the Google Publisher Tag library. Learn more about the available options in the ad sizes guide.

Sample implementation

View demo