The immune functions of the body are intricately intertwined with the onset and advancement of tumors, and immunotherapy mediated by bioactive compounds has exhibited initial effectiveness in overcoming chemotherapy resistance and inhibiting tumor growth. However, the comprehensive interpretation of the roles played by immunologic components in the process of combating tumors remains to be elucidated. In this study, the Codonopsis pilosula glucofructan (CPG) prepared in our previous research was employed as an immunopotentiator, and the impacts of CPG on both the humoral and cellular immunity of S180 tumor-bearing mice were investigated. Results showed that CPG administration of 100 mg/kg could effectively inhibit tumor growth in mice with an inhibitory ratio of 45.37% and significantly improve the expression of Interleukin-2 (IL-2), Interferon-γ (IFN-γ), and Tumor Necrosis Factor-α (TNF-α). Additionally, CPG clearly enhanced B-cell-mediated humoral immunity and immune-cell-mediated cellular immunity, and, finally, induced S180 cell apoptosis by arresting cells in the G0/G1 phase, which might result from the IL-17 signaling pathway. These data may help to improve comprehension surrounding the roles of humoral and cellular immunity in anti-tumor immune responses.