DSA Page Feed Custom Labels: Stop Out-of-Stock Waste
Learn how to use page feed custom labels in Dynamic Search Ads to prevent DSA from bidding on out-of-stock items, reduce wasted ad spend, and boost ecommerce ROAS.
By AdTurbo Team · 2026-08-29
Dynamic Search Ads (DSA) are one of the most effective ways to capture long-tail query volume without building massive keyword lists. However, for ecommerce retailers running thousands of SKUs, DSA campaigns frequently leak ad spend on products that are temporarily unavailable or out of stock. When Google indexes a product page that has no inventory, users click the ad, land on an unavailable product, bounce, and waste budget that should have gone toward active inventory.
To prevent DSA bidding on out of stock products, ecommerce advertisers must leverage DSA page feeds with custom labels. Unlike standard index-wide dynamic targeting, a structured page feed allows you to dynamically control which URLs Google serves based on real-time stock status, margin tiers, and category performance.
In this guide, we break down the exact mechanics of using page feed custom labels in Dynamic Search Ads to exclude sold-out inventory automatically, manage variant-level stock changes, and optimize your overall ecommerce campaign profitability.
---
Why DSA Wastes Spend on Out-of-Stock Inventory
By default, Dynamic Search Ads crawl your website or pull from Google's organic index. While this broad indexing is helpful for discovering unexpected user queries, Google's organic crawler updates at its own pace—often lagging days or weeks behind your real-time inventory management system.
The Crawl-Lag Trap in Ecommerce
When a popular SKU sells out on Friday afternoon, your website might display "Out of Stock" on the product page. However, Google's ad crawler may not re-render that specific page until Tuesday morning. During that 72-hour window, Google continues matching high-intent search queries to your product URL.
• Wasted Ad Spend: You pay cost-per-click fees for clicks that have near-zero conversion probability.
• Lower Quality Score and Bad UX: Shoppers who click an ad expecting an immediate purchase immediately bounce, sending negative engagement signals back to the ad system.
• Skewed Smart Bidding Data: Conversion rates for those target ad groups plummet temporarily, prompting bidding algorithms to suppress bids across broader related queries.
Standard URL rules—such as PAGECONTENT contains "In Stock"—are notoriously fragile. If your template layout changes, if page content loads asynchronously via JavaScript, or if the crawler encounters partial HTML renders, text-based DSA exclusions fail silently.
---
The Anatomy of a DSA Page Feed
A Dynamic Search Ads page feed is a simple comma-separated spreadsheet (CSV, TSV, or spreadsheet upload in Google Ads) containing two required columns and an optional third column:
1. Page URL (Page URL): The exact destination URL of the product or category page.
2. Custom Label (Custom label): Semicolon-delimited tags used to segment and filter pages within ad groups.
csv
Page URL,Custom label
https://example.com/shoes/running-shoe-red,instock; shoes; marginhigh
https://example.com/shoes/trail-runner-blue,outofstock; shoes; marginlow
https://example.com/apparel/winter-parka-black,instock; apparel; seasonalq4
How Custom Labels Differ from Shopping Custom Labels
While Google Merchant Center allows up to five custom label columns (customlabel0 through customlabel4) for Shopping and Performance Max campaigns, DSA page feeds use a single Custom label column where multiple labels are separated by semicolons (;). This architecture allows you to assign stock flags, margin brackets, and merchandising categories simultaneously to a single landing page.
| Feature | Google Shopping / PMax Feeds | DSA Page Feeds |
| :--- | :--- | :--- |
| Data Source | Google Merchant Center (GMC) | Business Data section in Google Ads |
| Label Structure | 5 rigid columns (customlabel0-4) | Single column with semicolon delimiters |
| Update Mechanism | Merchant Center API, FTP, or Scheduled Fetch | Business Data API, Google Sheets, or Manual Upload |
| Matching Mechanism | Product ID matching in product groups | Custom label matching in DSA Target groups |
| Primary Asset | Structured product metadata (Title, Price, GTIN) | Landed Page URL and page content extraction |
---
Setting Up Page Feed Custom Labels: Step-by-Step
Executing a robust dsa custom label out of stock workflow requires three distinct stages: formatting your data feed, uploading it into Google Ads Business Data, and configuring ad group dynamic targets.
Step 1: Format Your Feed with Stock Status Labels
Export your product catalog from your ecommerce engine (Shopify, Magento, WooCommerce, or custom database). Ensure your data export pipeline maps inventory counts directly to your custom label values:
• If inventoryquantity 0: assign label instock
• If inventoryquantity == 0: assign label outofstock
You can also append secondary categorization like categoryfootwear or clearance. Ensure there are no spaces immediately adjacent to the semicolons.
Step 2: Upload to Google Ads Business Data
1. Navigate to Tools and Settings Shared Library Business Data in your Google Ads account.
2. Click the blue plus button (+) and select Page feed.
3. Name your feed clearly (e.g., EcommerceProductDSAFeed).
4. Select your file format (Google Sheets is recommended for automated scheduled updates).
5. Click Apply and wait for Google Ads to review the URLs for policy compliance.
Google Ads Tools Business Data Page Feeds Add New
Step 3: Attach the Page Feed to Your Campaign
1. Go to your DSA campaign settings.
2. Expand the Dynamic Search Ads settings section.
3. Under Targeting source, select Use URLs from my page feed only (or "Use URLs from both Google's index and my page feed" if you want hybrid coverage, though page-feed-only gives strict stock control).
4. Select your newly created Page Feed from the list and save.
---
Automated Stock-Status Switching Strategies
Manual CSV uploads are insufficient for dynamic ecommerce stores with fluctuating stock. If you don't keep your page feed in sync with warehouse levels, you recreate the exact crawl-lag problem you set out to eliminate. Regular monitoring alongside a PPC audit checklist will help you catch these synchronization failures early.
Strategy A: Google Sheets Scheduled Fetch (Low Code)
If your ecommerce platform can export a daily or hourly CSV to a secure, public Google Sheet, you can set Google Ads to pull the sheet on an automated schedule.
1. In Business Data Page Feeds, click on your feed and select Schedules.
2. Set the frequency to Daily or Every 6 Hours depending on your catalog velocity.
3. Point the source URL to your live Google Sheet export.
Strategy B: Google Ads API / Scripts (Real-Time Synchronisation)
For high-velocity retail stores, a scheduled fetch every 24 hours is still too slow. Using Google Ads Scripts or the Google Ads API, you can update page feed custom labels dynamically whenever an inventory webhook fires.
javascript
function updateDSAPageFeedStock() {
var pageFeedName = "EcommerceProductDSAFeed";
var feed = AdsApp.pageFeeds().withCondition("Name = '" + pageFeedName + "'").get().next();
// Example logic: fetch your platform's out-of-stock URL list
var outOfStockUrls = getOutOfStockUrlsFromStore();
var iterator = feed.urls().get();
while (iterator.hasNext()) {
var pageUrl = iterator.next();
var urlString = pageUrl.getUrl();
if (outOfStockUrls.indexOf(urlString) -1) {
pageUrl.setCustomLabels(["outofstock", "categorygeneral"]);
} else {
pageUrl.setCustomLabels(["instock", "categorygeneral"]);
}
}
}
Implementing automated rule sets like this removes human error and ensures zero ad spend is directed to unfulfillable items. Using a modern Google Ads automation tool or an automated inventory sync script is standard practice for enterprise PPC managers.
---
Advanced Custom Label Architectures for High ROAS
Once you have solved the binary stock problem (instock vs. outofstock), you can use custom labels to structure your DSA campaigns for maximum margin efficiency. Managing search terms and negative targets is essential; check our guide on how to find negative keywords to refine your query filtering.
Multi-Dimensional Tagging Architecture
By stacking attributes inside the Custom label column, you can target combinations of attributes inside distinct Dynamic Ad Groups.
csv
Page URL,Custom label
https://example.com/p/leather-jacket,instock; margintier1; outerwear; highdemand
https://example.com/p/cotton-socks,instock; margintier3; basics; lowaov
https://example.com/p/wool-coat,outofstock; margintier1; outerwear; seasonalwinter
Ad Group Segmentation by Margin and Stock
With this multi-tier label structure, you can configure your ad groups in Google Ads to bid aggressively on high-margin in-stock inventory while keeping low-margin products on tight target ROAS constraints.
• Ad Group 1: High Margin - Top Performers
• Target rule: Custom label contains instock AND Custom label contains margintier1
• Bidding strategy: Target ROAS 250% (aggressive scaling)
• Ad Group 2: Mid/Low Margin - Standard
• Target rule: Custom label contains instock AND Custom label contains margintier3
• Bidding strategy: Target ROAS 450% (profit protection)
• Ad Group 3: Negative Targets (Global Campaign Level)
• Negative Dynamic Ad Target: Custom label contains outofstock
Campaign Level: Negative Target - "Custom label contains outofstock"
│
├── Ad Group A: Target - "Custom label contains instock" & "margintier1"
└── Ad Group B: Target - "Custom label contains instock" & "margintier3"
---
Edge Cases: Variant-Level Inventory and Matrix Products
One of the most difficult challenges in ecommerce DSA management is handling parent product pages with partial variant stock (e.g., a sneaker available in Size 7 and Size 8, but sold out in Sizes 9 through 12).
The Partial-Stock Dilemma
If you mark a page as instock because a single fringe size is available, searchers looking for standard sizes will click, discover their size is unavailable, and bounce. Conversely, if you mark the entire URL outofstock, you lose legitimate sales for the available sizes.
Implementation Rules for Variant Inventory
1. Threshold-Based Labeling: Define an availability percentage threshold. If less than 25% of variant options or core sizes are in stock, classify the parent URL as outofstockvariant and exclude it from generic dynamic ad targets.
2. Direct Variant URL Indexing: If your ecommerce platform assigns unique parameter URLs to specific variants (e.g., ?size=10), include variant-level URLs in your page feed, labeling each individually.
3. Seasonal Clearance Suppression: Tag variants with declining sell-through rates with a clearancelowstock label to prevent DSA from overbidding on fragmented inventory.
Understanding how dynamic ad targets consume your ad budget will help you understand why is Google Ads so expensive when catalog feeds are left unsegmented.
---
Troubleshooting DSA Feed Sync Errors
Even when page feeds are correctly formatted, issues can arise within the Google Ads serving engine. Here is how to diagnose and resolve common feed sync failures.
1. Feed URLs Disapproved or Marked "Crawled - Currently Not Indexed"
• Cause: Google's Google-Ads-Creatives-Assistant bot may be blocked by your robots.txt file or rate-limited by your web server.
• Fix: Verify that your robots.txt explicitly allows the Google Ads crawler to access product URLs. Ensure your server returns clean 200 OK status headers.
2. Label Mismatch Between Feed and Ad Group Target
• Cause: Case-sensitivity or whitespace errors (e.g., targeting InStock while the feed contains instock).
• Fix: Page feed custom labels are case-sensitive. Maintain standard lowercase formatting with underscore delimiters across both feed generation scripts and Google Ads target settings.
3. Delays in Negative Target Propagation
• Cause: Negative Dynamic Ad Targets can take up to 24 hours to fully suppress ad delivery across Google's ad servers.
• Fix: When stock levels reach zero, update the label to outofstock AND ensure your ad group positive targets only include instock. Relying solely on negative exclusions introduces lag; using positive matching ensures pages drop out immediately if their label changes.
Advertisers looking for streamlined catalog bidding and full search campaign oversight often adopt specialized PPC management software to automate feed reconciliation without writing custom scripts from scratch.
---
Monitoring and Measuring DSA Stock Optimization
To prove the impact of implementing page feed custom labels in Dynamic Search Ads, track these metrics before and after deployment:
Pre-Optimization vs Post-Optimization Metrics
--------------------------------------------------------------
Metric Before Optimization After Optimization
Bounce Rate (DSA): 64.2% 41.8%
Conversion Rate (DSA): 1.65% 2.85%
Wasted Spend on OOS: ~14% of DSA budget <0.5%
ROAS: 280% 390%
Search Terms Report Auditing
Regularly inspect your search queries to ensure non-converting product terms for out-of-stock items have stopped generating impressions. Check our comprehensive guide on the search terms report guide to isolate non-converting search queries and refine your dynamic exclusions.
If you want an autonomous platform to monitor wasted search spend and manage dynamic targeting flags around the clock, AdTurbo's Google Ads AI agent helps ecommerce teams track inventory anomalies, prune unproductive queries, and optimize bids across search and shopping campaigns automatically.
---
Related Guides
• Google Ads Optimization Checklist: 15 Things to Check Every Week
• PPC Campaign Management: A Complete Guide
• Negative Keywords: 100+ Examples and Lists for Google Ads
---
Frequently Asked Questions
Can I use the same custom labels from Google Merchant Center in my DSA page feed?
No, DSA page feeds do not automatically inherit custom labels from Google Merchant Center. You must create and upload a dedicated DSA Page Feed spreadsheet within Google Ads Business Data, using semicolon-separated values for multiple labels.
How fast does Google Ads reflect changes to a DSA page feed?
When using scheduled fetches or Google Ads Scripts, changes to custom labels generally take between 2 to 24 hours to propagate across dynamic search ad targets. For instantaneous budget protection, combine positive custom label targeting with script-driven negative URL exclusions.
Should I use both website crawling and page feeds in the same DSA campaign?
For strict out-of-stock management, it is strongly recommended to set your Dynamic Search Ads targeting source to "Use URLs from my page feed only". Allowing Google's general organic index to source URLs will bypass your custom labels and continue bidding on out-of-stock items found across your broader domain.