Send your books to Google Play with automated content fetching

Google has developed an automated content fetching system that enables publishers and service providers to easily provide book metadata, rights and content to Google Play. Publishers and service providers who use this content fetching system only need to make their content accessible via an HTTP/HTTPS/SFTP/FTP/Google Cloud Storage server. Google will then periodically retrieve that content on a predefined schedule and incorporate the content into the index of books on Google Play.

This document explains the guidelines for providing book content to Google in the form of:

If you have any questions about this document or other questions about providing ONIX feeds to Google, please contact us.

Preparing the Content Fetching Process

This section explains how publishers and service providers should prepare and initiate the content fetching process.

  1. Create a password-protected directory on your HTTP/HTTPS/SFTP/FTP server. This directory will contain the book content that you want to include in Google Play Books.

  2. Assign a username to Google so that Google can access the directory. The username and password may only contain alphanumeric characters.

  3. Directory listings should display the filename, file size and last modified date/time for each file in the directory, and should be readable by the Google user.

  4. Prior to posting your files, fill out this form (available in English only). After receiving this information, Google will configure a crawler to periodically retrieve the content from your server according to the schedule that you have requested. When retrieving your content, the crawler will only download files that have been modified or added since the previous crawl.

Submitting Metadata ONIX Files:

Google Play ingests metadata, also known as "full" ONIX files, to enable book search as well as providing information on the "About this Book" page.

Please set up the following for delivery of full ONIX files:

  1. Create a top-level directory on your server to store ONIX files that should be named onix, i.e., http://<server>.com/onix/.

  2. Within this directory, create sub-directories for each publisher named using the following rules: <collection_code>-full which will contain ONIX files
    Collection code: Please refer to this page for more details.

  3. Upload the full ONIX files and follow the ONIX file convention.

  4. For first time ONIX submission, please add a ONIX file sample for validation

  5. Provide the top-level directory information to the Google Books team using this form (available in English only). The Google content fetcher will pull all ONIX files under the top-level directory and process them using the subdirectory name (i.e., collection code).

  6. When adding a new publisher's ONIX directory (i.e., <collection_code>-rights or <collection_code>-full), you must use the form (available in English only) to notify us of the addition.

Submitting Rights ONIX Files for Books on Google Play

Google Play ingests sales settings for books in the form of a "rights" ONIX file to enable books for sale, setting prices and sales territories.

Please set up the following for delivery of rights ONIX files:

  1. Create a top-level directory on your server to store ONIX files that should be named onix, i.e., http://<server>.com/onix/.

  2. Within this directory, create sub-directories for each Collection Code named using the following rules: <collection_code>-rights which will contain ONIX files
    Collection code: Publishers, please find your Collection Code on the Manage templates page under the Advanced button on the Book Catalog page. Service Providers, please refer to this page for more details.

  3. Upload the rights ONIX files and follow the ONIX file convention.

  4. For first time ONIX submission, please add a ONIX file sample for validation

  5. Provide the top-level directory information to the Google Books team using this form (available in English only). Google content fetcher will pull all ONIX files under the top-level directory and process them using the sub-directory name

  6. When adding a new publisher's ONIX directory (i.e., <collection_code>-rights or <collection_code>-full), you must use the form (available in English only) to notify us of the addition.

Submit Book Content (EPUB/PDF/cover)

  1. Create a top-level directory on your server to store EPUB/PDF/cover files that should be named ebooks, i.e., http://<server>.com/ebooks/.

  2. Under the top-level directory, create sub-directories for each of collection code (service providers, refer here), e.g., http://<server>.com/ebooks/<collection-code>

  3. Upload the EPUB/PDF/cover files follow the EPUB/PDF/cover file convention.

  4. Provide the top-level directory information to the Google Books team using this form (available in English only). Google content fetcher will pull all EPUB files under the top-level directory and process the EPUB files using the subdirectory name (i.e., collection code).

  5. When adding a new collection code's EPUB directory (i.e., <collection_code>), you must use the form (available in English only) to notify us of the addition. This enables us to configure the backend to accept and process EPUB files based on the publisher's collection code.

For batches of more than 1000 files, your server must be on a T-1 line.

Structuring Your Server

 

File type

Top directory Sub-directory Filename examples

Notes

 

 

eBook content

 

 

ebooks/

 

 

<collectioncode>/
eg. AB12345/

<ISBN>.epub (or .PDF or .zip) eBook content files can be sent as EPUBs, ZIPs of JPGs, PDFs
<ISBN>_1of10.pdf … <ISBN>_10of10.pdf PDFs can be sent as multipart sets
ISBN.jpg, ISBN_frontcover.jpg, ISBN_interior.pdf (Optional) Front covers, back covers, and interiors can be sent separately

 

 

 

ONIX metadata

 

 

 

onix/

<collectioncode>-full/ <filename>.xml (or .zip)
 
ONIX files can be sent as individual files or ZIPped together.
Full feeds provide metadata-only
<collectioncode>-rights/ <filename>.xml (or .zip) Rights feeds provide metadata and prices and will create new book records in Partner Center
validate/ <filename>.xml (or .zip)
(Sample file)
Sample files only for ONIX validation purposes
CSV metadata

csv/

<collectioncode>/ <filename>.csv Same CSV files that can be uploaded via Partner Center can be sent by automated fetch

ONIX File Naming Guidelines

  • File names must end with .xml or .XML.
  • Please name your file using only alphanumeric characters (accented characters are not supported)
  • File names should include your publisher name and a timestamp that uniquely identifies the file. For example, if Publishing Co. posted a feed created on January 31, 2005, an acceptable file name would be publishingCo_20050131.xml.
  • If your content spans multiple files, include a file count in your file names. Using the previous example, if Publishing Co. had two files, the file names would be publishingCo_20050131_1.xml and publishingCo_20050131_2.xml.
  • Google can process zipped files. If you are providing multiple files, we recommend zipping the files into a single archive. You can also use zip for a single file. Using the previous examples, Publishing Co. would create a zip file namedpublishingCo_20050131.zip.

ONIX File Requirements

Your ONIX files must be ONIX 2.0, ONIX 2.1 or ONIX 3.0 .

All records in your ONIX file(s) must include:

  • ISBN
  • Title
  • Author(s)
  • Imprint/Publisher Information
  • Date of publication

See our list of required fields. It is very important to follow the guidelines for required fields, as otherwise the ONIX files will fail ingestion.

If you have remaining questions about uploading an ONIX file not covered by this page, please contact our team.

ONIX Validation

If you plan to submit ONIX for books on Google Play, we need to do a one-time validation of the ONIX file format before we enable processing of files under that collection code. Using this form (available in English only), please provide the URL to a sample ONIX file for initial format validation. You should place the sample ONIX file under a directory called validate on your server, e.g., server.com/onix/validate/<onix_file_name>.xml. Note that the sample ONIX file will NOT be used to enable rights/settings. You will receive a confirmation email from the Google Books support team once your sample ONIX file has been validated and your crawl has been setup. Upon receiving the confirmation email, you can start supplying ONIX files for that collection code under the <collection_code>-rights directory.

Refer to the below information to ensure your ONIX file passes validation.

Your ONIX files must be ONIX v2.0 or later. ONIX v2.1 or v3.0 is preferred.

All records in your ONIX file(s) must include:

  • ISBN
  • Title
  • Author(s)o
  • Imprint/Publisher Information
  • Date of publication

The required fields are listed on ONIX Requirements. It is very important to follow the guidelines for required fields, otherwise the ONIX files will fail ingestion.

EPUB File Convention

Name the EPUB files according to this file naming convention:

  • eISBN.epub

If the EPUB does not have an associated Print ISBN, the EPUB can be submitted using the eISBN only.

However, if the EPUB does have an associated Print ISBN, please choose one of these options to supply the mapping from Electronic ISBN to Print ISBN:

  • If Service Provider is managing book settings, provide an ONIX file that includes both Print ISBN and Electronic ISBN. View the ONIX requirements.
  • If publisher is managing their own book settings, ensure they upload a spreadsheet or ONIX to the publisher's account that contains both Print ISBN and Electronic ISBN. For help with this, please reach our team through our contact form.

Note: If there are multiple Print ISBNs associated with an E-ISBN and you are not sure which Print ISBN to use, please include all variations in your ONIX file.

Double-check that all your EPUB files have valid formats using the tool at http://code.google.com/p/epubcheck/.

If you are supplying marketing covers along with the EPUB, please provide a JPEG image. The image file should be named eISBN.jpg.

If you have remaining questions about uploading an EPUB file not covered by this page, please contact our team.

PDF File Convention

You can view the full set of PDF file naming guidelines.

Requirements

In order to process your PDF books, we have certain guidelines in place regarding the formatting of your PDF files. The most basic formatting guidelines for a single PDF file are as follows:

  • The main content of your book should be named <ISBN>_interior.pdf. For the remainder of this page, we'll use the demonstration ISBN of "0123456789."
    Important: Never include dashes in filenames.
  • Please name your file using only alphanumeric characters (accented characters are not supported).

To upload a file with covers included:

  • The first page of your file should correspond to the front cover of your title.
  • The following pages are the full content of the book.
  • The last page of your file should correspond to the back cover.
  • Name your file in accordance with this example: 0123456789.pdf

Split files

You can submit your content files in multiple parts. Just name each part in accordance with the following guideline:

  • 0123456789_1of5.pdf
  • 0123456789_2of5.pdf
  • 0123456789_3of5.pdf
  • and so on.

Covers in separate files

The main content of your book should be named 0123456789_interior.pdf

You may submit images for your front or back cover separately from your content file. We're able to process cover files in JPG, PDF or TIF format. Please only name your file as follows:

  • 0123456789_frontcover.XYZ
  • 0123456789_backcover.XYZ

Need more help?

Try these next steps:

false
Search
Clear search
Close search
Google apps
Main menu
8560096377592104852
true
Search Help Center
true
true
true
true
true
82437
false
false