This document explains the ONIX 3.0 tags you need to provide in order for your books to go on sale on Google Play Books.
Required | Not providing a required tag may prevent your books from going on sale. |
Recommended | Not providing a recommended tag may result in loss of Google Play functionality, but won't prevent your books from going on sale. |
Required in this composite | If you choose to submit a recommended composite, you must submit tags required in this composite for the data to be valid. |
Optional | Non-essential tags to be used to enable specific features (e.g., promotional prices, pre-order), or to enrich your data. |
Required in this composite | If you choose to submit an optional composite, you must submit tags required in this composite for the data to be valid. |
File format and header
XML Encoding Required
Specifies the encoding for the XML file, which should be UTF-8.
When to include: Required.
Type | Standard Syntax |
XML | <?xml version="1.0" encoding="UTF-8"?> |
Issue | Message | Action |
---|---|---|
No Standard Encoding | The encoding of the ONIX XML file is not UTF-8. There may be issues in the book metadata caused by the conversion process. | Provide an ONIX XML file with UTF-8 encoding. |
[January 22, 2014] This info message may be triggered even if your files are encoded as UTF-8. We are working to resolve this issue. If you have any questions about this error, please contact us.
Specifies the document structure. Note that without release="3.0"
, the file will be interpreted as being ONIX 2.1 and will not validate.
When to include: Either XML Schema or DTD required.
Recommended XML Schema |
Reference:
Short:
|
Accepted DTD |
|
This tag encloses the below information about your file.
When to include: Required.
Reference | <Header>...</Header> |
Short | <header>...</header> |
Information about the entity sending the file.
Type: Composite.
When to include: Required.
Reference | <Sender>...</Sender> |
Short | <sender>...</sender> |
The name of the entity sending the file.
When to include: Required.
Type | Text |
Reference | <SenderName>My Publishing Company or Client Services Provider</SenderName> |
Short | <x298>My Publishing Company or Client Services Provider</x298> |
Name of contact person at sending entity.
When to include: Recommended.
Type | Text |
Reference | <ContactName>John Smith</ContactName> |
Short | <x299>John Smith</x299> |
Email address of contact at sending entity.
When to include: Recommended.
Type | |
Reference | <EmailAddress>[email protected]</EmailAddress> |
Short | <j272>[email protected]</j272> |
Information about the entity to which the ONIX file is being sent.
Type: Composite.
When to include: Optional.
Reference | <Addressee>...</Addressee> |
Short | <addressee>...</addressee> |
Name of the entity to which the ONIX file is being sent.
When to include: Optional.
Type | Text |
Reference | <AddresseeName>Google</AddresseeName> |
Short | <x300>Google</x300> |
Specifies the date and time when the file is being sent -- this field is used to apply the most recent metadata update to your book. Must include year, month and day. May optionally include hour (on a 24-hour clock), minutes, and seconds, which is recommended when sending more than one file per date.
When to include: Required.
Format |
Google strongly recommends providing at least hour/minute ( |
Reference |
|
Short | <x307>20160101T1805</x307> |
Specifies the currency to use for <Price>
composites when currency isn't otherwise supplied. Please see the section on ONIX in the article "Currency conversion for books on Google Play" for full details on how to supply prices in different currencies with ONIX.
When to include: Optional.
Type | Fixed-length text -- three-letter currency code from Code List 96 |
Reference | <DefaultCurrencyCode>GBP</DefaultCurrencyCode> |
Short | <m186>GBP</m186> |
Basic book information
<Product> <product> Required
This tag encloses the following information about your book.
Type: Composite, repeatable.
When to include: Required for each book in the file; at least one <Product>
tag should be included per file.
Reference | <Product>...</Product> |
Short | <product>...</product> |
The Record Reference is a unique, permanent identifier not for the Product itself, but rather for the information record about the Product. The Record Reference is used to match up with previously received Product records.
When to include: Required exactly once for each product record.
Type | Variable-length, alphanumeric |
Reference | <RecordReference>myid.9789999999991</RecordReference> |
Short | <a001>myid.9789999999991</a001> |
The type of notification being provided for the product.
Providing a value of 05
will deactivate the book in Google Play and Google Book Search.
When to include: Required exactly once for each product record.
List 1 Values | 01 - Early notification02 - Advance notification - confirmed03 - Notification confirmed on publication05 - Delete
|
Reference | <NotificationType>03</NotificationType> |
Short | <a002>03</a002> |
Type: Composite, repeatable.
When to include: Required at least once for each <Product>
or <RelatedProduct>
composite.
Reference | <ProductIdentifier>...</ProductIdentifier> |
Short | <productidentifier>...</productidentifier> |
ONIX code specifying the Product Identifier type provided.
When to include: Required exactly once per <ProductIdentifier>
composite.
List 5 Values | 02 - ISBN-1003 - EAN-13 / GTIN-13 (must be an ISBN)04 - UPC (must be an ISBN)15 - ISBN-13 |
Reference | <ProductIDType>15</ProductIDType> |
Short | <b221>15</b221> |
<ProductIDType>15</ProductIDType>
, and providing the product's eISBN-13 value as the ID Value.When to include: Required exactly once per <ProductIdentifier>
composite.
Type | Numeric, of the type specified in the Product ID Type |
Reference | <IDValue>9789999999991</IDValue> |
Short | <b244>9789999999991</b244> |
Describes the product form and metadata such as title, content description, and authorship.
Type: Composite.
When to include: Required exactly once per <Product>
composite.
Reference | <DescriptiveDetail>...</DescriptiveDetail> |
Short | <descriptivedetail>...</descriptivedetail> |
Indicates when the product is composed of a single or multiple items.
When to include: Required exactly once per <DescriptiveDetail>
composite.
List 2 Values | 00 - Single-item retail product10 - Multiple-item retail product |
Reference | <ProductComposition>00</ProductComposition> |
Short | <x314>00</x314> |
Indicates the primary form of the book.
When to include: Required exactly once per <DescriptiveDetail>
composite. If the <ProductForm>
is not one of EA, EB, EC, ED
, the record will not be used to create an entry in the Partner Center, and its prices will not be ingested.
List 150 Values |
|
Reference | <ProductForm>EA</ProductForm> |
Short | <b012>EA</b012> |
Specifies the ebook format.
When to include: Required when specifying a digital <ProductForm>
such as ED
List 175 Values |
|
Reference | <ProductFormDetail>E101</ProductFormDetail> |
Short | <b333>E101</b333> |
This repeatable tag encloses the collection information of which your book belongs.
Type: Composite, repeatable.
When to include: Recommended for each <DescriptiveDetail>
composite if the book belongs in a collection.
Reference | <Collection>...</Collection> |
Short | <collection>...</collection> |
The type of collection to which the product belongs.
When to include: Required exactly once for each collection record.
List 148 Values | 00 - Unspecified10 - Publisher collection11 - Collection éditoriale20 - Ascribed collection |
Reference | <CollectionType>10</CollectionType> |
Short | <x329>10</x329> |
Type: Composite, repeatable.
When to include: Required at least once for each <Collection>
composite.
Reference | <CollectionIdentifier>...</CollectionIdentifier> |
Short | <collectionidentifier>...</collectionidentifier> |
ONIX code specifying the Product Identifier type provided.
When to include: Required exactly once per <CollectionIdentifier>
composite.
List 13 Values | 01 - Proprietary02 - ISSN15 - ISBN-13 |
Reference | <CollectionIDType>15</CollectionIDType> |
Short | <x344>15</x344> |
When to include: Required exactly once per <CollectionIdentifier>
composite.
Type | Numeric, of the type specified in the Product ID Type |
Reference | <IDValue>9789999999991</IDValue> |
Short | <b244>9789999999991</b244> |
This repeatable tag encloses the title information about your book.
Type: Composite, repeatable.
When to include: Required at least once for each <DescriptiveDetail>
composite.
Reference | <TitleDetail>...</TitleDetail> |
Short | <titledetail>...</titledetail> |
Indicates the type of the title.
When to include: Type 01
is required for each book in the file; other additional types (specified in separate instances of <TitleDetail>
are optional.
List 15 Values | 01 - Distinctive title (book); Cover title (serial); Title on item (serial content item or reviewed resource) |
Reference | <TitleType>01</TitleType> |
Short | <b202>01</b202> |
A repeatable group of elements representing the title element.
Type: Composite, repeatable.
When to include: Required at least once for each <TitleDetail>
composite.
Reference | <TitleElement>...</TitleElement> |
Short | <titleelement>...</titleelement> |
The level of the title element. <TitleElement>
composities with <TitleElementLevel>
of 02 will be considered the series name.
When to include: Required exactly once per <TitleElement>
composite.
List 149 Values | 01 - Product02 - Collection level03 - Subcollection |
Reference | <TitleElementLevel>01</TitleElementLevel> |
Short | <x409>01</x409> |
Used to determine the part number of a product within a collection.
When to include: Use in conjunction with <TitleElementLevel>
01<TitleElementLevel>
to denote the part number in the collection. Use <TitleElementLevel>
02<TitleElementLevel>
to set the collection title.
Type |
Variable-length integer, e.g., 1, 2, 3, etc., with a suggested maximum length of 3 digits |
Reference | <PartNumber> 7</PartNumber> |
Short | <x410> 7</x410> |
The text of the title itself.
When to include: Required exactly once for each <TitleElement>
composite.
Type | Variable-length text |
Reference | <TitleText>My Book</TitleText> |
Short | <b203>My Book</b203> |
This repeatable composite tag encloses the contributor (author) information about your book.
Type: Composite, repeatable.
When to include: Required at least once for each <DescriptiveDetail>
composite.
Reference | <Contributor>...</Contributor> |
Short | <contributor>...</contributor> |
Used to determine the preferred order for displaying contributors.
When to include: Required if more than one contributor provided in the same <DescriptiveDetail>
composite.
Type |
Variable-length integer, e.g., 1, 2, 3, etc., with a suggested maximum length of 3 digits |
Reference | <SequenceNumber>001</SequenceNumber> |
Short | <b034>001</b034> |
Repeatable tag describing the role of the contributor. Type A01
is required for each book in the file; any other additional types are optional and may be displayed on Book detail pages. Authors are surfaced on the Google Play Store book detail page and other contributor types are displayed on the Google Books Search detail page.
Type: Repeatable.
When to include: Required at least once for each <Contributor>
composite.
List 17 Values |
|
Reference | <ContributorRole>00</ContributorRole> |
Short | <b035>A01</b035> |
The name of the person who is a contributor.
When to include: Required exactly once per <Contributor>
composite.
Type | Variable-length text |
Reference | <PersonName>Jane Smith</PersonName> |
Short | <b036>Jane Smith</b036> |
Biographical note about a contributor.
When to include: Recommended. Repeatable if the same biographical note is provided in multiple languages, specified by the language
attribute.
Type | Type details |
Reference | <BiographicalNote>I am a brief biography of this author.</BiographicalNote> |
Short | <b044>I am a brief biography of this author.</b044> |
Type of edition or version; repeatable if multiple values apply.
When to include: Recommended if one of the values applies.
List 21 Values | ABR - AbridgedANN - AnnotatedBRL - BrailleDGO - Digital originalENH - EnhancedILL - IllustratedFAC - FacsimileLTE - Large type / Large printREV - RevisedUBR - Unabridged |
Reference | <EditionType>ENH</EditionType> |
Short | <x419>ENH</x419> |
Specifies the language of the text or, for translations, the language of the original work.
Type: Composite, repeatable.
When to include: Recommended for non-English books.
Reference | <Language>...</Language> |
Short | <language>...</language> |
When to include: Required exactly once per <Language>
composite.
List 22 Values | 01 - Language of text02 - Original language of a translated text |
Reference | <LanguageRole>01</LanguageRole> |
Short | <b253>01</b253> |
ISO code indicating the language.
When to include: Required exactly once per <Language>
composite.
List 74 Values | Three-letter language code from Code List 74 (ISO 639-2/B) |
Reference | <LanguageCode>eng</LanguageCode> |
Short | <b252>eng</b252> |
Used to supply the number of pages.
Type: Composite.
When to include: Recommended.
Reference | <Extent>...</Extent> |
Short | <extent>...</extent> |
Specifies the extent type.
When to include: Required exactly once per <Extent>
composite.
Code List 23 Values | 00 - Main content page count08 - Number of pages in print counterpart10 - Notional number of pages in digital product |
Reference | <ExtentType>00</ExtentType> |
Short | <b218>00</b218> |
The number of pages for this Extent Type Code.
When to include: Required exactly once per <Extent>
composite.
Type | Numeric |
Reference | <ExtentValue>123</ExtentValue> |
Short | <b219>123</b219> |
Unit used for <ExtentValue>
.
When to include: Required exactly once per <Extent>
composite.
List 24 Values | 03 - Pages |
Reference | <ExtentUnit>03</ExtentUnit> |
Short | <b220>03</b220> |
This repeatable composite tag encloses the following subject information about your book.
Type: Composite, repeatable.
When to include: Recommended.
Reference | <Subject>...</Subject> |
Short | <subject>...</subject> |
An empty element that identifies the main subject category.
When to include: Recommended for the main subject when multiple instances of <Subject>
with the same subject scheme are present.
Reference | <MainSubject/> |
Short | <x425/> |
The subject scheme used.
When to include: Required exactly once per <Subject>
composite.
List 27 Values |
The primary subject codes used on Google Play are:
Additional values which can be sent are:
|
Reference | <SubjectSchemeIdentifier>10</SubjectSchemeIdentifier> |
Short | <b067>10</b067> |
The subject or genre of the book.
When to include: Required exactly once per <Subject>
composite.
Type | As specified by the scheme specified by <SubjectSchemeIdentifier> |
Reference | <SubjectCode> LIT01400</SubjectCode> |
Short | <b069>00</b069> |
Repeatable composite tag about the intended audience of the book.
Type: Composite, repeatable.
When to include: Recommended.
Type | Type details |
Reference | <Audience>...</Audience> |
Short | <audience>...</audience> |
Identifies the scheme used for specifying the audience.
When to include: Required exactly once per <Audience>
composite.
List 29 Values | 01 - ONIX audience codes |
Reference | <AudienceCodeType>01</AudienceCodeType> |
Short | <b204>01</b204> |
Specifies the audience, according to the scheme in <AudienceCodeType>
When to include: Required exactly once per <Audience>
composite.
List from ONIX audience codes | 01 - General/trade02 - Children/juvenile03 - Young adult04 - Primary and secondary/elementary and high school05 - College/higher education06 - Professional and scholarly07 - ELT/ESL08 - Adult education |
Reference | <AudienceCodeValue>01</AudienceCodeValue> |
Short | <b206>01</b206> |
Composite describing the audience or readership range. An example is provided below.
When to include: Recommended.
Reference | <AudienceRange>...</AudienceRange> |
Short | <audiencerange>...</audiencerange> |
ONIX code specifying how <AudienceRange>
is measured (e.g., by age, by school grade, etc.).
When to include: Required exactly once per <AudienceRange>
composite.
Code List 30 | 11 - US School Grade Range12 - UK School Grade Range17 - Interest Age Range18 - Reading Age Range26 - Canadian School Grade Range |
Reference | <AudienceRangeQualifier>11</AudienceRangeQualifier> |
Short | <b074>17</b074> |
The precision of the value specified in the following <AudienceRangeValue>
.
When to include: Required at least once per <AudienceRange>
composite. A second occurrence is allowed if the <AudienceRange>
contains a From value and a To value (see the example below).
List 31 Values | 01 - Exact03 - From04 - To |
Reference |
|
Short | <b075>03</b075> |
Value of the range of specified in the <AudienceRange>
composite.
When to include: Required at least once per <AudienceRange>
composite. A second occurrence is allowed if the <AudienceRange>
contains a From value and a To value (see the example below).
Type | String |
Reference | <AudienceRangeValue>12</AudienceRangeValue> |
Short | <b076>12</b076> |
<AudienceRange>
<!-- Specify that this is an interest-based age range -->
<AudienceRangeQualifier>17</AudienceRangeQualifier>
<!-- Provide the lower end of the range ("From") -->
<AudienceRangePrecision>03</AudienceRangePrecision>
<AudienceRangeValue>8</AudienceRangeValue>
<!-- Provide the upper end of the range ("To") -->
<AudienceRangePrecision>04</AudienceRangePrecision>
<AudienceRangeValue>12</AudienceRangeValue>
</AudienceRange>
Provides additional marketing material for the book, including summary, description, review quotes, etc.
Partly replaces <OtherText>
in ONIX 2.1.
Type: Composite.
When to include: Recommended.
Reference | <CollateralDetail>...</CollateralDetail> |
Short | <collateraldetail>...</collateraldetail> |
Repeatable group describing a piece of textual content which provides additional marketing details about the book.
When to include: Recommended.
For book descriptions, Google recommends providing a <TextContent>
composite with <TextType>
of 02
or 03
for each book. Only one description is displayed if more than one is provided, prioritizing 03
(Description) over 02
(Short description/annotation).
Google also recommends providing a <TextContent>
composite with <TextType>
of 12
(Biographical note) for each book.
Reference | <TextContent>...</TextContent> |
Short | <textcontent>...</textcontent> |
ONIX code specifying what type of text is provided.
When to include: Required exactly once per <TextContent>
composite.
Code List 153 |
|
Reference | <TextType>06</TextType> |
Short | <x426>06</x426> |
ONIX code specifying the intended audience for the text.
Type: Repeatable.
When to include: Required at least once per <TextContent>
composite.
Code List 154 | 00 - unrestricted |
Reference | <ContentAudience>00</ContentAudience> |
Short | <x427>00</x427> |
Actual text for <TextContent>
composite.
When to include: Required at least once for each <TextContent>
composite. Repeatable when the same text is provided in multiple languages, specified by the language
attribute (see Code List 74, ISO 639-2/B for language codes).
Type | String |
Reference | <Text language="fre">Meilleur livre de l'année.</Text> |
Short | <d104 language="fre">Meilleur livre de l'année.</d104> |
Name of the author of the text.
When to include: Optional.
Type | String |
Reference | <TextAuthor>Hannah Bell</TextAuthor> |
Short | <d107>Hannah Bell</d107> |
Source of the text.
When to include: Optional.
Type | String |
Reference | <SourceTitle>3rd Annual Review of Good Books</SourceTitle> |
Short | <x428>3rd Annual Review of Good Books</x428> |
Information about a date associated with the collateral text.
Type: Composite, repeatable.
When to include: Optional.
Reference | <ContentDate>...</ContentDate> |
Short | <contentdate>...</contentdate> |
An ONIX code indicating the significance of the Content Date.
When to include: Required exactly once per <ContentDate>
composite.
Code List 155 | 01 - Publication date |
Reference | <ContentDateRole>01</ContentDateRole> |
Short | <x429>01</x429> |
The date associated with the text.
When to include: Required exactly once per <ContentDate>
composite.
Type | Date of default format YYYYMMDD (different formats specified with the dateformat attribute, using Code List 55 values) |
Reference | <Date dateformat="00">20150101</Date> |
Short | <b306 dateformat="00">20150101</b306> |
Used to describe chapters or other parts in a structured way.
Type: Composite.
When to include: Recommended.
Reference | <ContentDetail>...</ContentDetail> |
Short | <contentdetail>...</contentdetail> |
Repeatable element for each item within <ContentDetail>
.
Type: Composite, repeatable.
When to include: Required at least once for each <ContentDetail>
composite.
Reference | <ContentItem>...</ContentItem> |
Short | <contentitem>...</contentitem> |
Composite containing information for the text item.
Type: Composite.
When to include: Required exactly once for each <ContentItem>
composite.
Reference | <TextItem>...</TextItem> |
Short | <textitem>...</textitem> |
When to include: Required exactly once for each <TextItem>
composite.
Code List 42 | 03 - Body matter |
Reference | <TextItemType>03</TextItemType> |
Short | <b290>03</b290> |
The number of pages of text described by the enclosing <TextItem>
.
When to include: Optional; up to one per <TextItem>
composite.
<Extent>
Type | Positive number |
Reference | <NumberOfPages>2</NumberOfPages> |
Short | <b061 >2</b061> |
Composite containing publisher, imprint, and publishing status details.
Type: Composite.
When to include: Required for <NotificationType>
values 01
, 02
, and 03
.
Reference | <PublishingDetail>...</PublishingDetail> |
Short | <publishingdetail>...</publishingdetail> |
Repeatable group which carries the imprint name.
Type:Composite, repeatable.
When to include: Optional
Reference | <Imprint>...</Imprint> |
Short | <imprint>...</imprint> |
When to include: Required exactly once per <Imprint>
.
Type | Text |
Reference | <ImprintName>Electric Aardvark Press</ImprintName> |
Short | <b079>Electric Aardvark Press</b079> |
Repeatable group describing the entity acting as publisher for this book.
Type: Composite, repeatable.
When to include: Recommended
Reference | <Publisher>...</Publisher> |
Short | <publisher>...</publiser> |
ONIX code identifying the publisher's role.
When to include: Required exactly once per <Publisher>
composite.
Code List 45 | 01 - Publisher |
Reference | <PublishingRole>01</PublishingRole> |
Short | <b291>01</b291> |
Name of the publishing entity.
When to include: Required eactly once per <Publisher>
composite.
Type | Text |
Reference | <PublisherName>Aardvark Books, Inc.</PublisherName> |
Short | <b081>Aardvark Books, Inc.</b081> |
Denotes publishing status, not product availability; supplies the global status, irrespective of geographical market. When the book goes on sale is controlled by the <PublishingDate>
inside a <PublishingDetail>
composite or a territory-specific <MarketPublishingDetail>
composite, rather than the publishing status.
When to include: Required when not sending separate publishing statuses per market region.
List 64 Values | 00 - Unspecified (no effect)01 - Cancelled02 - Forthcoming03 - Postponed indefinitely04 - Active05 - No longer our product06 - Out of stock indefinitely07 - Out of print08 - Inactive09 - Unknown (no effect)10 - Remaindered11 - Withdrawn from sale |
Reference | <PublishingStatus>04</PublishingStatus> |
Short | <b394>04</b394> |
Global date of publication.
Type: Composite, repeatable.
When to include: A <PublishingDate>
composite with at least <PublishingDateRole>
value of 01
is required. Additional market-specific publishing dates can be specified in <MarketPublishingDetail>.
Reference | <PublishingDate>...</PublishingDate> |
Short | <publishingdate>...</publishingdate> |
ONIX code indicating what type of publishing date is provided.
Use a <PublishingDate>
composite with a <PublishingDateRole>
with a value of 02
(Embargo Date) to prevent your book from going on sale until the day specified in the enclosed <Date>.
When to include: Required exactly once per <PublishingDate>
composite.
List 163 Values |
|
Reference | <PublishingDateRole>01</PublishingDateRole> |
Short | <x448>01</x448> |
<PublishingDate>
<PublishingDateRole>01</PublishingDateRole>
<Date dateformat="00">20151201</Date>
</PublishingDate>
<PublishingDate>
<PublishingDateRole>02</PublishingDateRole>
<Date dateformat="00">20160101</Date>
</PublishingDate>
The date specified in <PublishingDateRole>
.
When to include: Required exactly once per <PublishingDate>
composite.
Type | Date of default format YYYYMMDD (different formats specified with the dateformat attribute, using Code List 55 values) |
Reference | <Date dateformat="00">20150101</Date> |
Short | <b306 dateformat="00">20150101</b306> |
Sales rights
<SalesRights> <salesrights> RequiredRepeatable group specifying sales rights per territory.
Type: Composite, repeatable.
When to include: Required for a book to be available for sale on the Google Play store.
Reference | <SalesRights>...</SalesRights> |
Short | <salesrights>...</salesrights> |
ONIX code indicating the type of sales rights being described
When to include: Required exactly once per <SalesRights>
composite.
List 46 Values | 01 - For sale with exclusive rights in the specified countries or territories02 - For sale with non-exclusive rights in the specified countries or territories03 - Not for sale in the specified countries or territories (reason unspecified)04 - Not for sale in the specified countries (but publisher holds exclusive rights in those countries or territories)05 - Not for sale in the specified countries (publisher holds non-exclusive rights in those countries or territories)06 - Not for sale in the specified countries (because publisher does not hold rights in those countries or territories) |
Reference | <SalesRightsType>01</SalesRightsType> |
Short | <b089>01</b089> |
Group describing the territory for which sales rights are being specified.
Type: Composite.
When to include: Required exactly once per <SalesRights>
composite.
Reference | <Territory>...</Territory> |
Short | <territory>...</territory> |
List of countries included in this territory; successive countries should be separated by spaces.
When to include: Either <CountriesIncluded>
or <RegionsIncluded>
is required exactly once per <Territory>
composite.
List 91 Values |
Two-letter country codes from Code List 91 |
Reference | <CountriesIncluded>US AU CA</CountriesIncluded> |
Short | <x449>US AU CA</x449> |
List of regions included in territory; successive regions should be separated by spaces
When to include: Either <CountriesIncluded>
or <RegionsIncluded>
is required exactly once per <Territory>
composite.
List 49 Values | ECZ - AD (Andorra), AT (Austria), BE (Belgium), CY (Cyprus), DE (Germany), EE (Estonia), FI (Finland), FR (France), GR (Greece), IE (Ireland), IT (Italy), LU (Luxembourg), MC (Monaco), ME (Montenegro), MT (Malta), NL (Netherlands), PT (Portugal), SI (Slovenia), SK (Slovakia), SM (San Marino), ES (Spain), VA (Vatican City) |
Reference | <RegionsIncluded>ECZ</RegionsIncluded> |
Short | <x450>ECZ</x450> |
List of countries excluded from the territory; successive countries should be separated by spaces.
When to include: Optional.
List 91 Values | Based on two-letter ISO 3166-1 country codes |
Reference | <CountriesExcluded>US AU CA</CountriesExcluded> |
Short | <x451>US AU CA</x451> |
List of regions excluded; successive regions should be separated by spaces
When to include: Optional.
List 49 Values | ECZ - Eurozone: AD (Andorra), AT (Austria), BE (Belgium), CY (Cyprus), DE (Germany), EE (Estonia), FI (Finland), FR (France), GR (Greece), IE (Ireland), IT (Italy), LU (Luxembourg), MC (Monaco), ME (Montenegro), MT (Malta), NL (Netherlands), PT (Portugal), SI (Slovenia), SK (Slovakia), SM (San Marino), ES (Spain), VA (Vatican City) |
Reference | <RegionsExcluded>ECZ</RegionsExcluded> |
Short | <x452>ECZ</x452> |
Used to specify the sales rights type for countries or territories not specifically listed in a <SalesRightsType>
composite.
When to include: Optional.
List 46 Values | 02 - For sale with non-exclusive rights in the specified countries or territories03 - Not for sale in the specified countries or territories (reason unspecified)04 - Not for sale in the specified countries (but publisher holds exclusive rights in those countries or territories)05 - Not for sale in the specified countries (publisher holds non-exclusive rights in those countries or territories)06 - Not for sale in the specified countries (because publisher does not hold rights in those countries or territories) |
Reference | <ROWSalesRightsType>02</ROWSalesRightsType> |
Short | <x456>02</x456> |
Provides references to related products (e.g. the print version of a digital book). Non-repeatable.
Type: Composite.
When to include: Recommended.
Reference | <RelatedMaterial>...</RelatedMaterial> |
Short | <relatedmaterial>...</relatedmaterial> |
Repeatable group which describes a single related product.
Type:Composite, repeatable.
When to include: Recommended.
Reference | <RelatedProduct>...</RelatedProduct> |
Short | <relatedproduct>...</relatedproduct> |
Repeatable ONIX code which specifies how the product is related.
Type: Repeatable.
When to include: Required at least once per <RelatedProduct>
composite.
List 51 Values | 01 - Includes02 - Is part of03 - Replaces05 - Replaced by06 - Alternative format11 - Is other-language version of13 - Epublication based on (print product)14 - Epublication is distributed as15 - Epublication is a rendering of27 - Electronic version available as |
Reference | <ProductRelationCode>06</ProductRelationCode> |
Short | <x455>06</x455> |
Type: Composite, repeatable.
When to include: Required at least once for each <Product>
or <RelatedProduct>
composite.
Reference | <ProductIdentifier>...</ProductIdentifier> |
Short | <productidentifier>...</productidentifier> |
ONIX code specifying the Product Identifier type provided.
When to include: Required exactly once per <ProductIdentifier>
composite.
List 5 Values | 02 - ISBN-1003 - EAN-13 / GTIN-13 (must be an ISBN)04 - UPC (must be an ISBN)15 - ISBN-13 |
Reference | <ProductIDType>15</ProductIDType> |
Short | <b221>15</b221> |
<ProductIDType>15</ProductIDType>
, and providing the product's eISBN-13 value as the ID Value.When to include: Required exactly once per <ProductIdentifier>
composite.
Type | Numeric, of the type specified in the Product ID Type |
Reference | <IDValue>9789999999991</IDValue> |
Short | <b244>9789999999991</b244> |
ONIX code specifying the form of the related product -- should match the <ProductForm>
specified for the main <Product>
record with the same ID as specified in this <RelatedProduct>
record.
When to include: Optional.
List 150 Values |
|
Reference | <ProductForm>EA</ProductForm> |
Short | <b012>EA</b012> |
ONIX code specifying the form detail of the related product -- should match the <ProductForm>
specified for the main <Product>
record with the same ID as specified in this <RelatedProduct>
record.
When to include: Optional.
List 175 Values |
|
Reference | <ProductFormDetail>E101</ProductFormDetail> |
Short | <b333>E101</b333> |
Supply detail and prices
<ProductSupply> <productsupply> Required - Use to enable books for saleSpecifies product supply details per market.
Type: Composite, repeatable.
When to include: Required to sell books on Google Play.
Reference | <ProductSupply>...</ProductSupply> |
Short | <productsupply>...</productsupply> |
Specifies the geographical territory where the product supply details apply.
Type: Composite, repeatable.
When to include: Required.
Reference | <Market>...</Market> |
Short | <market>...</market> |
Group describing the territory for which sales rights are being specified.
Type: Composite.
When to include: Required exactly once per <SalesRights>
composite.
Reference | <Territory>...</Territory> |
Short | <territory>...</territory> |
List of countries included in this territory; successive countries should be separated by spaces.
When to include: Either <CountriesIncluded>
or <RegionsIncluded>
is required exactly once per <Territory>
composite.
List 91 Values |
Two-letter country codes from Code List 91 |
Reference | <CountriesIncluded>US AU CA</CountriesIncluded> |
Short | <x449>US AU CA</x449> |
List of regions included in territory; successive regions should be separated by spaces
When to include: Either <CountriesIncluded>
or <RegionsIncluded>
is required exactly once per <Territory>
composite.
List 49 Values | ECZ - AD (Andorra), AT (Austria), BE (Belgium), CY (Cyprus), DE (Germany), EE (Estonia), FI (Finland), FR (France), GR (Greece), IE (Ireland), IT (Italy), LU (Luxembourg), MC (Monaco), ME (Montenegro), MT (Malta), NL (Netherlands), PT (Portugal), SI (Slovenia), SK (Slovakia), SM (San Marino), ES (Spain), VA (Vatican City) |
Reference | <RegionsIncluded>ECZ</RegionsIncluded> |
Short | <x450>ECZ</x450> |
List of countries excluded from the territory; successive countries should be separated by spaces.
When to include: Optional.
List 91 Values | Based on two-letter ISO 3166-1 country codes |
Reference | <CountriesExcluded>US AU CA</CountriesExcluded> |
Short | <x451>US AU CA</x451> |
List of regions excluded; successive regions should be separated by spaces
When to include: Optional.
List 49 Values | ECZ - Eurozone: AD (Andorra), AT (Austria), BE (Belgium), CY (Cyprus), DE (Germany), EE (Estonia), FI (Finland), FR (France), GR (Greece), IE (Ireland), IT (Italy), LU (Luxembourg), MC (Monaco), ME (Montenegro), MT (Malta), NL (Netherlands), PT (Portugal), SI (Slovenia), SK (Slovakia), SM (San Marino), ES (Spain), VA (Vatican City) |
Reference | <RegionsExcluded>ECZ</RegionsExcluded> |
Short | <x452>ECZ</x452> |
Specifies publishing details per market.
Type: Composite.
When to include: Should be provided for publishing details specific to the given market when those details do not match the onces given in the global <PublishingDetail>
composite.
Reference | <MarketPublishingDetail>...</MarketPublishingDetail> |
Short | <marketpublishingdetail>...</marketpublishingdetail> |
Specifies publishing status details per market.
When to include: Required exactly once per <MarketPublishingDetail>
composite.
List 68 Values | 00 - Unspecified (no effect)01 - Cancelled02 - Forthcoming03 - Postponed indefinitely04 - Active05 - No longer our product06 - Out of stock indefinitely07 - Out of print08 - Inactive09 - Unknown (no effect)10 - Remaindered11 - Withdrawn from sale |
Reference | <MarketPublishingStatus>04</MarketPublishingStatus> |
Short | <j407>04</j407> |
Specifies a date associated with the market publishing detail. See the global <PublishingDate>
composite for an example of how to provide an embargo date.
Type: Composite.
When to include: Optional.
Reference | <MarketDate>...</MarketDate> |
Short | <marketdate>...</marketdate> |
Significance of the date.
When to include: Required exactly once per <MarketDate>
composite.
List 163 Values |
|
Reference | <MarketDateRole>01</MarketDateRole> |
Short | <j408>01</j408> |
The date associated with the Market Publishing Detail.
When to include: Required per <MarketDate>
composite.
Type | Date of default format YYYYMMDD (different formats specified with the dateformat attribute, using Code List 55 values) |
Reference | <Date dateformat="00">20150101</Date> |
Short | <b306 dateformat="00">20150101</b306> |
Repeatable composite containing information about a product's supply, source, availability, and price.
Type: Composite, repeatable.
When to include: Required at least once per <ProductSupply>
composite.
Reference | <SupplyDetail>...</SupplyDetail> |
Short | <supplydetail>...</supplydetail> |
Information about the supplier.
Type: Composite.
When to include: Required at least once per <SupplyDetail>
.
Reference | <Supplier>...</Supplier> |
Short | <supplier>...</supplier> |
ONIX code specifying the role that the supplier plays.
When to include: Required exactly once per <Supplier>
composite.
List 93 Values | 00 - Unspecified01 - Publisher to retailers02 - Publisher's exclusive distributor to retailers03 - Publisher's non-exclusive distributor to retailers04 - Wholesaler05 - Sales agent06 - Publisher's distributor to retailers07 - POD supplier08 - Retailer09 - Publisher to end-customers10 - Exclusive distributor to end-customers11 - Non-exclusive distributor to end-customers12 - Distributor to end-customers |
Reference | <SupplierRole>01</SupplierRole> |
Short | <j292>01</j292> |
The supplier name.
When to include: Required.
Type | Text |
Reference | <SupplierName>ABC Supplier Co.</SupplierName> |
Short | <j137>ABC Supplier Co.</j137> |
ONIX code specifying the product availability from the supplier.
When to include: Required exactly once per <SupplyDetail>
.
List 65 Values | 01 - Cancelled10 - Not yet available11 - Awaiting stock12 - Not yet available, will be POD20 - Available21 - In stock22 - To order23 - POD30 - Temporarily unavailable31 - Out of stock32 - Reprinting33 - Awaiting reissue40 - Not available (reason unspecified)41 - Not available, replaced by new product42 - Not available, other format available43 - No longer supplied by us44 - Apply direct45 - Not sold separately46 - Withdrawn from sale47 - Remaindered48 - Not available, replaced by POD |
Reference | <ProductAvailability>20</ProductAvailability> |
Short | <j396>20</j396> |
ONIX code specifying products that are free of charge, products where a price has not yet been announced, or products where no price is applicable. In particular, for free of charge products, <UnpricedItemType> 01 should always be used in place of a <Price> composite where the Price amount is zero.
When to include: Required exactly once per <SupplyDetail>
.
List 57 Values |
The remaining list 57 values are not supported. |
Reference | <UnpricedItemType>01</UnpricedItemType> |
Short | <j192>01</j192> |
Specifies a date associated with the <SupplyDetail>
.
Type: Composite, repeatable.
When to include: Optional.
Reference | <SupplyDate>...</SupplyDate> |
Short | <supplydate>...</supplydate> |
Significance of the Supply Date.
When to include: Required exactly once per <SupplyDate>
composite.
List 166 Values | 02 - Embargo Date |
Reference | <SupplyDateRole>02</SupplyDateRole> |
Short | <x461>02</x461> |
The date associated with the Supply Detail.
When to include: Required exactly once per <SupplyDate>
composite.
Type | Date of default format YYYYMMDD (different formats specified with the dateformat attribute, using Code List 55 values) |
Reference | <Date dateformat="00">20150101</Date> |
Short | <b306 dateformat="00">20150101</b306> |
Specifies a unit price; required for a book to be available for sale.
See our article on currency conversion for help with prices and currencies.
Type: Composite.
When to include: Each <SupplyDetail>
must contain either one or more <Price>
composites.
Reference | <Price>...</Price> |
Short | <price>...</price> |
When to include: Required exactly once per <Price>
composite.
<PriceType>
value provided for a given country or territory should match the sales territory setting that you provided for that same country or territory, in the Payment Center of your account.If you have multiple sales territory settings in your Payment Center (e.g., a sales territory with the default retail-recommended price setting, and another sales territory with a fixed-price setting), you'll need to provide separate price composites matching these settings (see example).
In case of mismatch, your books won't be live in that given country or territory.
List 58 Values | 01 - RRP excluding tax02 - RRP including tax03 - Fixed retail price excluding tax04 - Fixed retail price including tax41 - Publishers retail price excluding tax42 - Publishers retail price including tax |
Reference | <PriceType>01</PriceType> |
Short | <x462>01</x462> |
Example: For a book with a listed price of 7.99€, and the following sales territory configuration in the Payment Center:
- "WORLD", with the default recommended price setting.
- "DE,AT" (by way of example only), with a fixed-price setting ("I'm subject to fixed pricing laws in these countries" checkbox, accessible by clicking Edit next to the sales territory).
<PriceType>02</PriceType>
<PriceAmount>7.99</PriceAmount>
<PriceCurrency>EUR</PriceCurrency>
<Territory>
<RegionsIncluded>WORLD</RegionsIncluded>
</Territory>
</Price>
<Price>
<PriceTypeCode>04</PriceTypeCode>
<PriceAmount>7.99</PriceAmount>
<PriceCurrency>EUR</PriceCurrency>
<Territory>
<CountriesIncluded>DE AT</RegionsIncluded>
</Territory>
</Price>
Specify additional information about the price type.
When to include: Optional.
List 59 Values |
|
Reference | <PriceQualifier>00</PriceQualifier> |
Short | <j261>00</j261> |
Amount in specified currency; do not specify a price of 0.00
.
When to include: Required exactly once per <Price>
.
Type | Non-zero, positive decimal-point number |
Reference | <PriceAmount>3.99</PriceAmount> |
Short | <j151>3.99</j151> |
Specifies the currency for which <PriceAmount>
is supplied.
When to include: Required exactly once per <Price>
composite, unless <DefaultCurrencyCode>
is supplied.
Type | Fixed-length text -- 3-letter ISO 4217 currency code from Code List 96 |
Reference | <CurrencyCode>USD</CurrencyCode> |
Short | <j152>USD</j152> |
Group describing the territory for which sales rights are being specified.
Type: Composite.
When to include: Required exactly once per <SalesRights>
composite.
Reference | <Territory>...</Territory> |
Short | <territory>...</territory> |
List of countries included in this territory; successive countries should be separated by spaces.
When to include: Either <CountriesIncluded>
or <RegionsIncluded>
is required exactly once per <Territory>
composite.
List 91 Values |
Two-letter country codes from Code List 91 |
Reference | <CountriesIncluded>US AU CA</CountriesIncluded> |
Short | <x449>US AU CA</x449> |
List of regions included in territory; successive regions should be separated by spaces
When to include: Either <CountriesIncluded>
or <RegionsIncluded>
is required exactly once per <Territory>
composite.
List 49 Values | ECZ - AD (Andorra), AT (Austria), BE (Belgium), CY (Cyprus), DE (Germany), EE (Estonia), FI (Finland), FR (France), GR (Greece), IE (Ireland), IT (Italy), LU (Luxembourg), MC (Monaco), ME (Montenegro), MT (Malta), NL (Netherlands), PT (Portugal), SI (Slovenia), SK (Slovakia), SM (San Marino), ES (Spain), VA (Vatican City) |
Reference | <RegionsIncluded>ECZ</RegionsIncluded> |
Short | <x450>ECZ</x450> |
List of countries excluded from the territory; successive countries should be separated by spaces.
When to include: Optional.
List 91 Values | Based on two-letter ISO 3166-1 country codes |
Reference | <CountriesExcluded>US AU CA</CountriesExcluded> |
Short | <x451>US AU CA</x451> |
List of regions excluded; successive regions should be separated by spaces
When to include: Optional.
List 49 Values | ECZ - Eurozone: AD (Andorra), AT (Austria), BE (Belgium), CY (Cyprus), DE (Germany), EE (Estonia), FI (Finland), FR (France), GR (Greece), IE (Ireland), IT (Italy), LU (Luxembourg), MC (Monaco), ME (Montenegro), MT (Malta), NL (Netherlands), PT (Portugal), SI (Slovenia), SK (Slovakia), SM (San Marino), ES (Spain), VA (Vatican City) |
Reference | <RegionsExcluded>ECZ</RegionsExcluded> |
Short | <x452>ECZ</x452> |
Specifies a date associated with the price.
When to include: Optional.
<Price>
, <PriceDateRole>
with values of 14
and 15
, and <Date>
.
- Promotional prices will go live at midnight in the purchaser's time zone.
- For a one-day sale, put the same date for the start and end dates. A book scheduled for a one-day sale will go on sale at 00:00:00 in the time zone of each country where it's sold and will go off sale at 23:59:59 on the same day.
- The date specified by the Until Date is included during the promotional price period.
- For promotional prices, submit ONIX at least 48 hours prior to the From Date Inclusive date.
- Any price (promotional or recurring) that does not exist in the most recent ONIX submission will be lost. Therefore, each ONIX submission must include all prices.
Reference | <PriceDate>...</PriceDate> |
Short | <pricedate>...</pricedate> |
Example: To create a promotional price of USD 4.99 that is limited to the U.S., will be in effect from December 21st, 2015, through January 2nd, 2016, send the below. The price in the U.S. will be as shown on the following dates:
- December 20th, 2015: USD 9.99
- December 21st, 2015: USD 4.99
- January 2nd, 2016: USD 4.99
- January 3rd, 2016: USD 9.99
<!-- Specify the current non-promotional price for U.S. only -->
<Price>
<PriceType>02</PriceType>
<PriceAmount>9.99</PriceAmount>
<CurrencyCode>USD</CurrencyCode>
<Territory>
<CountriesIncluded>US</CountriesIncluded>
</Territory>
<PriceDate>
<PriceDateRole>14</PriceDateRole>
<Date dateformat="00">20151101</Date>
</PriceDate>
<PriceDate>
<PriceDateRole>15</PriceDateRole>
<Date dateformat="00">20151220</Date>
</PriceDate>
</Price>
<!-- Specify the promotional price from the start date to the end date, inclusive. -->
<Price>
<PriceType>02</PriceType>
<PriceAmount>4.99</PriceAmount>
<CurrencyCode>USD</CurrencyCode>
<Territory>
<CountriesIncluded>US</CountriesIncluded>
</Territory>
<PriceDate>
<PriceDateRole>14</PriceDateRole>
<Date dateformat="00">20151221</Date>
</PriceDate>
<PriceDate>
<PriceDateRole>15</PriceDateRole>
<Date dateformat="00">20160102</Date>
</PriceDate>
</Price>
<!-- Specify the return to the non-promotional price. -->
<Price>
<PriceType>02</PriceType>
<PriceAmount>9.99</PriceAmount>
<CurrencyCode>USD</CurrencyCode>
<Territory>
<CountriesIncluded>US</CountriesIncluded>
</Territory>
<PriceDate>
<PriceDateRole>14</PriceDateRole>
<Date dateformat="00">20160103</Date>
</PriceDate>
</Price>
<!-- Specify a price for a different territory with no promotion. -->
<Price>
<PriceType>02</PriceType>
<PriceAmount>5.00</PriceAmount>
<CurrencyCode>EUR</CurrencyCode>
<Territory>
<CountriesIncluded>FR</CountriesIncluded>
</Territory>
</Price>
Specifies if this is a start date or end date. Both are inclusive and based on the purchaser's time zone.
When to include: Required exactly once per <PriceDate>
composite.
List 173 Values | 14 - From Date Inclusive15 - Until Date |
Reference | <PriceDateRole>14</PriceDateRole> |
Short | <x476>14</x476> |
The date associated with the price.
When to include: Required exactly once per <PriceDate>
composite.
Type | Date of default format YYYYMMDD (different formats specified with the dateformat attribute, using Code List 55 values) |
Reference | <Date dateformat="00">20150101</Date> |
Short | <b306 dateformat="00">20150101</b306> |