An advertisement attribution method and a device are provided, and relate to the field of electronic devices. When playing a first advertisement, an advertising device broadcasts a wireless signal including an identifier of the advertising device and orientation information that is used to indicate a position and an orientation of the advertising device. A terminal receives the wireless signal, and sends a first advertisement event to a server when determining that the first advertisement played by the advertising device is effectively exposed to a user of the terminal.