For documents like PDFs, there’s no way to put canonical tags in the webpage header simply because there is no site segment. In this kind of scenarios, you’ll must use HTTP headers to established canonicals. Canonical URLs are used in order to avoid duplicate information and suggest to search engines https://addons.prestashop.com/it/seo-indicizzazione-naturale/31857-google-rich-snippet-automatico-json-ld-open-graph-seo.html