Heineken has signed a deal to run a worldwide promotion campaign for the new James Bond film.