Skip to content

Instantly share code, notes, and snippets.

@pvraghav
Last active October 19, 2023 01:04
YPA Ad Tag
<script type='text/javascript'>
window.ypaAds.insertMultiAd({
ypaAdConfig : 'aa0000001',
ypaAdTypeTag : 'test',
ypaPubParams : {
query: "adidas shoes",
},
ypaAdSlotInfo : [
{
ypaAdSlotId : 'adSlot',
ypaAdDivId : 'myDivAdUnit',
ypaAdWidth : '600',
ypaAdHeight : '494'
},
{
ypaAdSlotId : 'algoSlot',
ypaAdDivId : 'myDivAlgoUnit',
ypaAdWidth : '600',
ypaAdHeight : '494'
}
]
});
</script>
@Missionmunshi
Copy link

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment