Meredith Corp. will take over ad sales, circulation and production of Martha Stewart Living and Martha Stewart Weddings.