The comment about the ad wasn't about the ad istelf. It was an apple ad for an apple service, so they didn't make any money at all on the ad. The remark was about the service Apple was pushing, and just how intrusively.
But the comment OP was replying to was about their ad services and what incentive the company has to operate in good faith or risk impacting sales to the majority of their business.
Oh but they did achieve a financial good. They saved having to pay another company to place that ad. Therefore, they made more money, eg more profit.