When something "pays off", it means that there's a benefit or profit from it. In the example above, the marketing efforts "paid off". That means that the company made more money because of it.
Here are some other examples using "pay off":
I'm putting a lot of time and money into this business, but hopefully it'll pay off down the road.