The integrated and differential fiducial cross sections for the production of a 𝑊 or 𝑍 boson in association with a high-energy photon are measured using 𝑝𝑝 collisions at √s =7 TeV. The analyses use a data sample with an integrated luminosity of 4.6 fb−1 collected by the ATLAS detector during the 2011 LHC data-taking period. Events are selected using leptonic decays of the 𝑊 and 𝑍 bosons [𝑊(𝑒ν,μν) and 𝑍(𝑒⁺𝑒⁻μ+μ⁻,ν‾‾ ν )] with the requirement of an associated isolated photon. The data are used to test the electroweak sector of the Standard Model and search for evidence for new phenomena. The measurements are used to probe the anomalous 𝑊𝑊𝛾, 𝑍𝑍𝛾, and 𝑍𝛾𝛾 triple-gauge-boson couplings and to search for the production of vector resonances decaying to 𝑍𝛾 and 𝑊𝛾. No deviations from Standard Model predictions are observed and limits are placed on anomalous triple-gauge-boson couplings and on the production of new vector meson resonances.