" Real Madrid had a very effective marketing programme and with him they made a lot of money , " said Sacchi , who was briefly Real 's sporting director in 2004 , when Beckham was a player in Madrid .