Documentation

Adult Attribute

The adult attribute is a boolean flag used to indicate whether a product contains adult-oriented content, such as nudity, sexually suggestive material, or items intended to enhance sexual activity.

Properly flagging these items is critical to ensuring legal compliance and adhering to platform-specific safety policies. While Google Merchant Products and Pinterest Products allow for these items to be uploaded (provided they are explicitly flagged so they can be restricted from certain audiences), other platforms strictly prohibit adult content and do not support this attribute.

Contents:


Quick Syntax Check

Paste your <g:adult> XML snippet or CSV value below to validate the format:

Test your <g:adult>

Live Check
<g:adult>

Checking one by one? Validate your entire feed instantly.

Upload & Analyze File

Platform Requirements Comparison

The adult attribute is handled differently depending on the platform's content policies.

Requirement Google Merchant Products Facebook Products Pinterest Products Tiktok Products Reddit Products
XML Tag <g:adult> Not supported. <adult> Not supported. Not supported.
Format Boolean - Boolean - -
Supported Values yes, no, true, false - true, false - -
Default Value no - false - -

General Formatting Requirements

To ensure your feed processes successfully on platforms that support the adult flag, follow these strict rules:

  • Explicit Boolean Values: The value must be a valid boolean. For maximum compatibility across Google Merchant Products and Pinterest Products, it is highly recommended to use true or false.
  • Not for Demographics: Never use the adult attribute to define an age demographic (e.g., adult-sized clothing). You must use theage_group attribute for sizing and target audiences.
  • Not for Alcohol: Do not use the adult attribute to restrict alcohol sales. Instead, properly categorize the item using the google_product_category attribute, which triggers age-gating mechanisms automatically.
  • Bundles: If you are submitting a merchant-defined bundle and any single item in that bundle contains adult content, the entire bundle must be flagged with true or yes.
  • Landing Page Consistency: If you are advertising a mix of adult and non-adult products, ensure that non-adult product landing pages are completely free of adult-oriented content.

Formatting Examples

XML Feed Format

Correct Formatting: Uses a supported boolean value to clearly flag the item.

<item>
    <g:id>1001</g:id>
    <g:title>Adult Novelty Item</g:title>
    <g:adult>true</g:adult>
    <g:price>29.99 USD</g:price>
</item>

Incorrect Formatting: Using descriptive text instead of a boolean value will cause the feed to fail validation. Do not use this attribute for standard clothing items.

<!-- Incorrect: Uses descriptive text instead of a boolean -->
<item>
    <g:id>1002</g:id>
    <g:title>Men's Running Shoes</g:title>
    <g:adult>Adults Only</g:adult>
    <g:price>49.99 USD</g:price>
</item>

CSV / TSV Feed Format

When working with CSV files, keep the data clean and strictly stick to boolean values.

Correct Formatting:

id,title,adult,price
1001,Adult Novelty Item,true,29.99 USD

Incorrect Formatting: Putting demographic descriptions into the adult column will break the feed.

id,title,adult,price
1002,Men's Running Shoes,Adult Size,49.99 USD

FAQ

Can I use the adult attribute to specify shoes or clothing for adults?
No. The adult attribute is strictly for flagging adult-oriented content like sexually suggestive items. To specify sizing or demographics, use theage_group attribute instead.
Do I need to submit 'no' for all my safe-for-work products?
Generally, no. Platforms like Google Merchant Products will assume your product is not adult-oriented by default, unless you have set your entire account to adult-oriented.
What happens if I don't use this attribute for adult products?
Failure to appropriately flag adult content can result in severe penalties, including item disapprovals and permanent account suspension for policy violations.

Have thousands of products? Don't check them manually. Upload your file and find errors in 30 seconds.

Try Validator
Last updated: 29 March, 2026