AdSense Rounded Corners: Old Ad Border Styles and What Works Now
Google once let publishers give their ads an adsense rounded corners border, an option many bloggers used to blend ad units into their site design. This article explains how the old Corner Styles setting worked, why it no longer applies to today’s ads, and what you can safely control around your AdSense ads in 2026.

Quick answer: The rounded corner option belonged to the old AdSense text ad units of 2007 and is not part of today’s ad code. Modern AdSense ads are responsive and Google designs them, so you should paste the ad code as it is. You can still style the space around an ad with your own CSS, as long as the ad itself is not altered or disguised.
Table of Contents
How AdSense rounded corners worked in 2007
Back then, most publishers matched the ad border color to their page background to make the border disappear, because square-edged borders clashed with many designs. In June 2007 a new Corner Styles option appeared in the AdSense ad setup with three choices:
- Square corners (the default)
- Slightly rounded corners
- Very rounded corners
Choosing a style added one extra line to the generated ad code:
google_ui_features = "rc:10"; // very rounded corners
google_ui_features = "rc:6"; // slightly rounded corners
google_ui_features = "rc:0"; // square cornersThis only worked with the old JavaScript ad code that used variables like google_ad_width and google_color_border. That code style has long been replaced by the current asynchronous ad tag, so adding these lines to a modern ad unit does nothing useful.
AdSense rounded corners and ad borders in 2026
Today’s AdSense is built around responsive display ads and Auto ads (external site). Google chooses the ad format and design, and ads adjust to the space and device. A few points matter:
- Don’t edit the ad code to change how ads look. Google’s help page on modifying ad code says alterations that artificially inflate ad performance are not allowed. Copy and paste the code as given unless Google documents a change.
- Style the container, not the ad. You can give the area around an ad unit spacing, a margin or a background with your theme’s CSS, so ads sit neatly in your layout.
- Don’t make ads look like content. Blending ads so closely with your site that visitors can’t tell them apart from your links is risky with AdSense policies.
- Test, don’t guess. Use the AdSense reports to compare placements and formats instead of trying old tricks to raise clicks.
Related AdSense guides
If you are tidying how ads look on your site, these guides may help:
- How to remove the yellow border around AdSense ads
- How to hide unfilled AdSense ad spaces
- How to create custom AdSense ad sizes
- Google AdSense Auto ads in 2026
FAQ
Can I still get rounded corners on AdSense ads?
Not through an AdSense setting for display ads. The old Corner Styles option and its google_ui_features code belonged to the legacy ad code and do not apply to current responsive ads.
Is it allowed to add CSS around AdSense ads?
Styling the page area around an ad, such as spacing or a background, is normal. Changing the ad code itself to alter performance is not allowed, and ads should never be disguised as site content.
What does google_ui_features rc:10 mean?
In the 2007 ad code it set “very rounded corners” on the ad border. rc:6 meant slightly rounded and rc:0 meant square corners.
Did rounded corners increase AdSense clicks?
Publishers tried it to make ads fit their design and get more clicks, but results varied by site. Today, testing placements and formats in your AdSense reports is the better way to judge what works.
Stuck on a gift? Try our free Gift Idea GeneratorIdeas for anyone by age, job, interests and budget, with Amazon.com and Amazon.in linksFind gifts →
$4.99Free when you subscribe
Get 100 tech terms explained in plain English
8-page PDF on AI, coding, slang and SEO + one tech email a week.
Sent by email. Unsubscribe anytime. See our privacy policy.







I’ve tried this trick, for about 2 weeks and I found my google adsense revenue been increasing :)
this one is awesome!
A really useful and helpful post mate! you covered it well.
Hey thanks for sharing that info! now my ads look more like web 2.0 ads ;)
This was really helpful. lt will my adsense ads look better
,Thanks
I’ll give it a try… Thanks for the tip!
Sweet tip, Thanks!
“The square edged border failed to blend with many web designs, and now I see an option to create rounded corner borders.”
you are saying the rounded corner border would blend with the website design differntly? i gotto take a look at that sometime.
Hey thanks for sharing that info! now my ads look more like web 2.0 ads ;)