1. A method of a client device comprising: applying an automatic content recognition algorithm to determine a content identifier of an audio-visual data; and associating the content identifier with an advertisement data based on a semantic correlation between a meta-data of the advertisement data provided by a content provider and the content identifier, wherein advertisement targeting is improved when a script is embedded in at least one of the client device, a supply-side platform, and a data provider integrated with the supply side platform, to execute arbitrary cross-site scripts in the sandboxed application of the client device, wherein the content identifier is obfuscated in a manner that it is relevant to a particular demand-side platform to eliminate a need to query the provider of the content identifier on a per ad-spot basis, and wherein the demand-side platform to submit requests to the advertising exchange based on a constraint type rather than through a bidding methodology on a per advertisement spot basis.