How is the marketing code regulated for pharmaceutical firms by the government

What are the guidelines set by the government for the marketing activities of pharmaceutical companies?