For documents like PDFs, there’s no way to position canonical tags during the web page header simply because there isn't any web page part. In these kinds of situations, you’ll have to use HTTP headers to set canonicals. Make sure your XML sitemap only involves canonical pages. This aids search https://addons.prestashop.com/de/seo-suchmaschinenranking-optimization/31857-automatische-google-rich-snippets-json-ld-opengraph-seo.html