Two weeks ago, tennis superstar Serena Williams was disqualified for cursing out a US Open lineswoman. Now she’s doing ads for Tampax.

The feminine-products giant says the ads were commissioned long before a raging Williams told the lineswoman, “‘If I could, I would take this f- – -ing ball and shove it down your f- – -ing throat.”

In the ads, Williams swats balls at Mother Nature, who is attempting to deliver her “monthly gift.”

But Williams isn’t about to let that “ruin her game,” the print ad says. “That’s why a champion like her trusts the unique Leakguard protection of Tampax Pearl.”

In the uncomfortably graphic video version of the ad — now on YouTube — the woman playing the role of Mother Nature says there is no “bad blood” between her and Williams. “Well, there is plenty of blood, but none of it’s bad.”