Hello @5mehulhelp5, sorry for the late reply. You're right. Google Shopping api is expired, so it was removed from Magento 2 due to low usage of that functionality.
HI ,I am using simple google shopping .I dont get product urls with category included .In configuration canonical link for products/categories are given "Yes" ,and Url rewrite re indexed .But still getting http://example/product.html in google product feeds .In website ,I am getting canonical url for products.Any help ?? Thanks in advance