HTML/JavaScript

How to turn on ad sizes optimization

Step 1: Access your AdSense account
Step 2: Click Optimization, then the gear icon
Step 3: Choose “Optimize 100% of mobile page views”
Step 4: The settings will automatically be saved

How to preview automatically optimized ads

If using mobile:

Step 1: Open your site on a browser
Step 2: Add #google_responsive_slot_preview to the end of the URL
Step 3: Refresh the webpage
Step 4: Position your phone to switch between portrait and landscape orientation to see the ad sizes

If using desktop:

Step 1: Open your site on a browser
Step 2: Add #google_responsive_slot_preview to the end of the URL
Step 3: Right-click > Inspect to open Dev Tools
Step 4: Turn on Device Mode
Step 5: Refresh the page
Step 6: Select mobile device you’d like to test from the dropdown
Step 7: Click to rotate between portrait and landscape orientation and see the different ad sizes

Post a Comment

0 Comments