How can I successfully upload my data source to Pinterest Catalog?

Still working on the code given by contributor. Here is the code that needs updating to deal with category and or other errors:

<!--- Add your google product info here (and deleted this note)--->
{%- if product.type == "xxxx" -%}
<g:google_product_category>xxxxxxx</g:google_product_category>
{%- elsif product.type == "xxxxx"-%}<g:google_product_category>xxxxxx</g:google_product_category>
{% endif %}

We have several product categories which we looked up at https://www.google.com/basepages/producttype/taxonomy-with-ids.en-US.txt

  • Foot Powders 3049 Health & Beauty Personal Care Foot Care Foot Odor Removers
  • Foot Sprays 3049 Health & Beauty Personal Care Foot Care Foot Odor Removers
  • Anti-Chafe 567 Health & Beauty Personal Care Cosmetics Skin Care
  • Muscle Balms 2915 Health & Beauty Personal Care
  • Sunscreens 2844 Health & Beauty Personal Care Cosmetics Skin Care Sunscreen
  • Hand & Foot Balms 2592 Health & Beauty Personal Care Cosmetics Skin Care Lotion & Moisturize

I understand that you can pick your own product types and just use names you like:

Unlike the google_product_category attribute, you choose which value to include. The values you submit for product_type can be used to organize the bidding and reporting in your Google Ads Shopping campaign.

and that for categories you choose the right category number. But if product_type is just what I want I doubt the if else statement would work as it does need to get the products in the correct collection…?