PPC & Ad Transformations
Format your data for Google Ads, Facebook Ads, and other advertising platforms.
PPC platforms have strict character limits. These transformations ensure your ad copy fits within platform requirements while maintaining readability.
Google Ads Character Limits
Headline (30 chars)#
Truncate text to 30 characters at the nearest word boundary for Google Ads headlines. Returns null if a single word exceeds the limit.
Buy Premium Quality Products Now!
Free Shipping on All Orders Today
Sale
SupercalifragilisticexpialidociousBuy Premium Quality Products
Free Shipping on All Orders
Sale
null (single word exceeds limit)How It Works
- If text is ≤ 30 characters → return as-is
- Find the last space within the first 30 characters
- If space found → truncate at that position (no mid-word cuts)
- If no space found (single long word) → return
null
Description (90 chars)#
Truncate text to 90 characters at the nearest word boundary for Google Ads descriptions. Same logic as headline—returns null for single words exceeding the limit.
Shop our amazing selection of premium products. Free shipping on orders over $50. Limited time offer - don't miss out!Shop our amazing selection of premium products. Free shipping on orders over $50.Keyword Clean#
Clean and normalize keywords for PPC campaigns. Removes special characters, extra spaces, and converts to lowercase.
Buy NOW!! Best Price $$$
Shop Online Today
Men's T-Shirts (Large)
"Premium" Quality — Guaranteed!buy now best price
shop online today
mens tshirts large
premium quality guaranteedPractical Examples#
Here's how these transformations work on real product data:
| Original Product Name | headline_30 | description_90 |
|---|---|---|
| Premium Wireless Bluetooth Headphones | Premium Wireless Bluetooth | Premium Wireless Bluetooth Headphones |
| iPhone 15 Pro Max 256GB Titanium Blue | iPhone 15 Pro Max 256GB | iPhone 15 Pro Max 256GB Titanium Blue |
| Sale | Sale | Sale |
| Antidisestablishmentarianism | null | Antidisestablishmentarianism |
Bulk Processing Workflow#
Here's a typical workflow for preparing ad copy from a product feed:
Upload Product CSV
Upload your product feed with columns like name, description, price
Configure Column Rules
Set headline_30 for product names, description_90 for descriptions
Review Invalid Rows
Check rows where transformation returned null—these need manual attention
Export for Ads
Download the cleaned CSV or use the API to fetch formatted data for your campaigns
Facebook Ads Limits#
While our transformations are optimized for Google Ads, they work well for Facebook too:
| Facebook Ad Element | Character Limit | Suggested Transformation |
|---|---|---|
| Primary Text | 125 (recommended) | description_90 or custom |
| Headline | 40 | headline_30 (fits within limit) |
| Link Description | 30 | headline_30 |
API Usage#
Apply PPC transformations via the API when configuring your project columns.
// Set normalization rule for a column
PUT /api/projects/:id/columns/:columnId
{
"normalization_rule": "ppc_headline_30"
}
// Available PPC rules:
// - ppc_headline_30 (Google Ads Headline)
// - ppc_description_90 (Google Ads Description)
// - ppc_keyword_clean (Keyword normalization)