Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ONIX Tag for Pricing in Google Books Metadata #576

Open
amandasramalho opened this issue Mar 5, 2024 · 1 comment
Open

Update ONIX Tag for Pricing in Google Books Metadata #576

amandasramalho opened this issue Mar 5, 2024 · 1 comment
Labels
feature New feature or request

Comments

@amandasramalho
Copy link

amandasramalho commented Mar 5, 2024

Although Google's documentation allows the use of the tag for open access books (free), during the book update tests the price was not included in Google's metadata system and the book was left with a pending status in the system.

Google was consulted and suggested replacing the tag with <price>.
Once this was done with a value of "0.00", the book was updated correctly.

Current ONIX output:

   <ProductSupply>
      <Market>
        <Territory>
          <RegionsIncluded>WORLD</RegionsIncluded>
        </Territory>
      </Market>
      <SupplyDetail>
        <Supplier>
          <SupplierRole>09</SupplierRole>
          <SupplierName>Editus - Editora da UESC</SupplierName>
        </Supplier>
        <ProductAvailability>20</ProductAvailability>
        <UnpricedItemType>01</UnpricedItemType>
      </SupplyDetail>
    </ProductSupply>

ONIX suggested correction:

      <SupplyDetail>
        <Supplier>
          <SupplierRole>09</SupplierRole>
          <SupplierName>Editus - Editora da UESC</SupplierName>
        </Supplier>
        <ProductAvailability>20</ProductAvailability>
        <Price>
          <PriceType>01</PriceType>
          <PriceAmount>0.00</PriceAmount>
          <CurrencyCode>USD</CurrencyCode>
          <Territory>
            <RegionsIncluded>WORLD</RegionsIncluded>
          </Territory>
        </Price>
      </SupplyDetail>
@amandasramalho amandasramalho added the feature New feature or request label Mar 5, 2024
@amandasramalho
Copy link
Author

amandasramalho commented Mar 27, 2024

During the process of validating ONIX files with the Google admin team that sets up the automatic collection of files on FTP, the use of the price "0.00" in the tag was questioned. The admin team only validates automatic collection if free books have the <UnpricedItemType> tag, although this tag is not currently being interpreted by Google's system and the books remain pending until the "0.00" value is included manually.
If we consider uploading and updating a large number of books, I stand by my suggestion to adjust ONIX so that it doesn't generate a demand for manual updates. I'll follow up regularly to see if Google's system changes this at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant