Are cricket players famous because of their play or by the advertisements of products they do?

After achieving fame as a good player, the manufacturing companies offer them to do advertisements for their products.