Time Domain Coding Metasurface (TDCM) is an emerging technology enabling dynamic modulation of electromagnetic waves. In response to the control characteristics of this technology, this paper presents a radar jamming method based on TDCM intrapulse and interpulse coding optimization. First, optimization models are established in fast and slow time domains. By optimizing intrapulse and interpulse phase coding, the energy redistribution of targets is achieved, thereby generating deceptive interference on the range-Doppler two-dimensional plot. Subsequently, a genetic algorithm is employed to solve this discrete optimization problem. Furthermore, this paper analyzes the effect of various modulation factors on interference effectiveness in terms of TDCM coding strategies, providing guidance for achieving optimal strategies for deceptive interference.