Ad revenue has stayed strong amid broader macroeconomic uncertainty due to President Donald Trump’s tough tariffs and the closing of the de minimis loophole.