A great many people were deceived by that advertisement.

Literal

Extremely many people [subject-が] that advertisement [by-に] were-deceived.

だまされた is the passive of だます ('to deceive'). に marks the agent/cause of deception. 非常に沢山の modifies 人々 — a redundant but emphatic intensification.