A Gallup International survey in fall 2017 asked the following:
Andrey Milekhin, Vice President Gallup International Association (GIA):
The choice between these two Presidents is not an easy one and at the end the candidate “against both” won. The complexity of the choice was defined by the fact that behind Trump stands the USA economic and military power, Putin on the other hand has 25 years of political experience being one of the most long-lived and sustainable among the world political leaders. To the majority of world’s population, the conservatism and reliability of Putin seems to be more appealing.
Check out the entire survey for how Putin and Trump were viewed in specific countries