Measurements of W gamma and Z gamma production in proton-proton collisions at root s = 7 TeV are used to extract limits on anomalous triple gauge couplings. The results are based on data recorded by the CMS experiment at the LHC that correspond to an integrated luminosity of 5.0 fb(-1). The cross sections are measured for photon transverse momenta p(T)(gamma) > 15 GeV, and for separations between photons and final-state charged leptons in the pseudorapidity-azimuthal plane of Delta R(l,gamma) > 0.7 in l nu gamma and ll gamma final states, where l refers either to an electron or a muon. A dilepton invariant mass requirement of m(ll) > 50 GeV is imposed for the Z gamma process. No deviations are observed relative to predictions from the standard model, and limits are set on anomalous WW gamma, ZZ gamma, and Z gamma gamma triple gauge couplings.