With the growth of Latino and Asian American populations, candidates frequently must appeal to diverse electorates. Strategies for doing so include emphasizing candidates' racial/ethnic identity and securing endorsements from racial/ethnic groups. While many scholars focus on candidates' racial/ethnic attributes, ethnic group endorsements are understudied. Whether such endorsements induce voters to choose ideologically similar candidates (spatial voting), or choose based on race/ethnicity (racial voting) is unclear. We address this question by examining elections in multiethnic local settings. Using original surveys and exit polls, we create comparable measures of candidate and voter ideology, and examine how race/ethnicity and ideology affect voters' choices. We also embed experiments that manipulate ethnic group endorsements. We find that ideology influences voters' choices, but that ethnic group endorsements weaken spatial voting. The latter effect among whites is driven by racial/ethnic stereotypes. These reactions explain why some candidates seek such endorsements and why others might prefer to avoid them.