SAN FRANCISCO — Even Facebook users deploying ad-blocking software will begin seeing ads on the desktop version of the social network.

Starting Tuesday, Facebook will make it tough for ad-blocking software to distinguish between a status update and a sponsored ad on the desktop version of the social network.

This the first time Facebook has attempted to circumvent the software that strips ads from websites, joining the advertising industry’s fight against ad blockers.

“We are making it harder for ad blockers to be effective on Facebook for desktop,” says Andrew “Boz” Bosworth, Facebook’s vice president of ads and business platform.

The move shows how seriously Facebook is taking the rise of ad-blocking software. Facebook, which makes most of its revenue from advertising sales, also stands to benefit financially as it hits the upper limit on how many ads it shows users.

A growing backlash is gaining steam as consumers get fed up with being bombarded by digital ads that obscure content, cause pages to load slowly, drain batteries, consume excessive mobile data or pose risks to their security or privacy.

But the advertising industry says ad-blocking software costs billions of dollars a year in lost revenue and violates an implicit social compact: People agree to be targeted by ads to consume free content and services.

Facebook is largely insulated from ad-blocking software, which typically does not work in mobile apps, where Facebook users spend the most time and Facebook makes the most advertising revenue. But the Silicon Valley tech giant is closely tracking the proliferation of ad blockers and their growing reach on mobile devices.

Facebook listed ad-blocking software as a risk in its most recent quarterly filing.

Facebook makes nearly all of its revenue from advertising. It generated $6.44 billion in revenue in the second quarter, easily topping Wall Street estimates. Mobile represented 84 percent of the $6.24 billion in advertising revenue Facebook collected. Advertisers are flocking to Facebook to reach the 1.71 billion users who are hanging out there.

“Facebook definitely recognizes (ad-blocking software) as a risk,” eMarketer analyst Bryan Yeager says. “This is a way for them to see what type of success they could have at mitigating that risk and extending that into a larger scale strategy for all their properties.”

Research conducted for Facebook by Ipsos Connect found people resort to ad blockers to avoid disruptive ads (69 percent), ads that slow down the browsing experience (58 percent) and security and malware risks (56 percent).

“The rise of ad blocking is a clear signal to the ad industry that consumers are dissatisfied with their current experiences,” says Adam Isaacson, research director of Ipsos Connect.

Bosworth says Facebook does not believe ad blockers are the answer.

“I don’t think the all-or-nothing approach that ad blockers end up taking is really the best way forward,” said Bosworth. “Our approach is to find a middle ground. So instead of all or nothing, we want to partner with consumers through tools like ad preferences.”

Facebook is updating its ad preferences tool so Facebook users can remove interests for marketing purposes — say travel or cats — and so they can remove themselves from businesses’ customer lists, Bosworth says.