By applying the recently developed nonperturbative functional renormalization group (FRG) approach, we study the interplay between ferromagnetism, quasi-long range order (QLRO) and criticality in the d-dimensional random field O(N ) model in the whole (N , d) diagram. Even though the "dimensional reduction" property breaks down below some critical line, the topology of the phase diagram is found similar to that of the pure O(N ) model, with however no equivalent of the Kosterlitz-Thouless transition. In addition, we obtain that QLRO, namely a topologically ordered "Bragg glass" phase, is absent in the 3-dimensional random field XY model. The nonperturbative results are supplemented by a perturbative FRG analysis to two loops around d = 4.How the phase behavior and ordering transitions of a system are affected by the presence of a weak random field remains in part an unsettled problem. Heuristic and rigorous arguments show that the lower critical dimension below which no long-range order is possible is 2 for the random field Ising model (RFIM) [1,2] and 4 for models with a continuous symmetry (RFO(N )M with N > 1) [1,3,4]. However, this leaves aside two questions: first, the nature of the critical behavior in random field models, a question connected to the breakdown of the so-called "dimensional reduction" (DR) property that relates the critical exponents of the RFO(N )M to those of the pure O(N ) model in two dimensions less [5]; and second, the possible occurence of a low-temperature phase with quasi-long range order (QLRO), i.e. , a phase characterized by no magnetization and a power-law decrease of the correlation fuctions, in models with a continuous symmetry [6,7]. Progress has been made to better circumscribe this latter point. It has indeed been shown that QLRO is absent for N = 2 when disorder is strong and for N > 3 for arbitrarily weak random field [8]; but this still keeps open the cases N = 2, 3 in the physical dimensions d = 2, 3.Those questions are important because, on top of purely theoretical motivations, they concern the behavior of the known experimental realizations of random field models. This is the case for instance of vortex lattices in disordered type-II superconductors [7,9]. In such systems, the randomly pinned lattice of vortices can be mapped onto an "elastic glass model" [7,9], whose simplest realization is the N = 2 RFXY M. The occurence of a phase with QLRO, termed "Bragg glass", has been predicted for the 3 − d version of the model [7]. Further theoretical support for this prediction has been given by a Monte Carlo simulation of the RFXY M [10] and by analyses of the energetics of dislocation loops [7,11].In this letter, we apply our recently developed nonperturbative FRG approach of the RFO(N )M [12] to provide a unified picture of ferromagnetism, QLRO and criticality in the whole (N , d) diagram. We find that below a critical value N c = 2.83.. and for d < 4 the model has a transition to a QLRO phase, both this phase and the transition being governed by zero-temperature nonana...