STM32CubeMX not showing the resolution in ADC
ADC resolution is not configurable on the STM32F103. It's always 12 bits.

The reference manual would be a better source of information than youtube videos.