The European Union has fined Google €2.95 billion ($3.5 billion) for abusing its dominance in digital advertising.