The Remove Promoted and Featured Listing Badges code snippet is useful when you want to hide both or just one of the badge types.
While some MyListing widgets like the Listing Feed let you choose whether or not to display these badges, it’s typically an all-or-nothing setting. Also, there are some areas of a MyLising website, like Related Listings, where hiding these badges with CSS is the only option.
.level-promoted .ad-badge {
display: none;
}
.level-featured .ad-badge {
display: none;
}