Yes, dynamic search ads are automatically optimized for both mobile and desktop devices. Google will detect the searcher's device and serve the most relevant ad formats.