Shared manufacturing is a new business form that focuses on all aspects of production and manufacturing, mainly relying on the shared manufacturing platform to achieve the optimal allocation of idle resources. For enterprises, in the process of deciding to lease idle resources, the pricing and advertising investment efficiency of the shared manufacturing platform is a valuable research issue. The shared manufacturing model in this paper consists of one manufacturer and one shared manufacturing platform, which will invest in cooperative advertising while the shared manufacturing process is completed. The cooperative advertising involves four models: the traditional cooperation model, the cost-sharing contract model, the revenue-sharing contract model, and the bilateral cost-sharing contract model. We investigate the impact of some key parameters on the prices and profits of the manufacturer and the shared manufacturing platform based on the differential game. The numerical examples demonstrate the viability of the model. Finally, we provide suggestions based on the decision-making of the manufacturer and the shared manufacturing platform under different cooperative advertising models.