The Giants were ahead 2-0 heading into the bottom of the fourth when Andre Ethier doubled off of San Francisco starter Tim Lincecum (2-3) and then took third on a single by Bobby Abreu. Ethier scored on a single by Juan Uribe, and Abreu and Uribe advanced on a wild pitch.
Billingsley went four innings for the Dodgers, allowing two runs on seven hits with four walks and five strikeouts. Jamey Wright (2-2) got the win, pitching two perfect innings in relief while striking out three.
Dodgers pitchers combined for 13 strikeouts.
In addition to the RBI single, Uribe had a double and scored twice for LA, which took two of three from the Giants.
Lincecum allowed four runs on eight hits with eight strikeouts and two walks over five innings for San Francisco, which lost for the ninth time in 15 games.
Lincecum drove in a run with a second-inning single.