Merch Jar for KDP
Pricing
Login
Get Started For Free
Get Started For Free
Features
Pricing
Docs
Login
Get Started For Free
Features
Recipes
Create powerful automations to streamline your ad workflow.
Smart Campaigns
Automatically create and negate keywords from search terms.
Bulk Actions
Make changes across all your campaigns in just clicks.
Help
Reference Docs
Getting Started
Navigating Merch Jar
Connect Your Amazon Advertising Account
Connecting Multiple Advertising Accounts
Setting and Managing Target ACOS
Setting Min and Max Bid Guardrails
Set Default Ad Account
Basics
Glossary: Terms and Definitions
Keywords Vs. Targets in Merch Jar
Rounding Strategies
Date Range Selection
Using Filters
Selecting Multiple Rows
Using Bulk Actions
Column Visibility
Amazon Campaign Structure
Formulas
Recipes V2
Formulas Syntax: Quickstart
Intro to Formulas (Recipes v2)
Core Syntax Concepts
The Formulas Interface
Getting Started: Writing Formulas
Using Time Periods
Combining Conditions: Boolean Logic & Grouping
Math Operations
Understanding Datasets (Formula Sources)
Understanding Properties
Understanding Functions
Defining Variables & Custom Properties
Using Custom Properties in Workflows
Conditional Logic
Adding Comments
Workflows & Actions
Error Handling & Special Values
Example Formulas & Use Cases
Upgrading from Recipes V1
Recipes V1
Legacy
Recipes V2: Next-Generation Automation for Amazon Ads
Recipes Overview
Recipe Metrics and Properties
Conditions and Rules
Boolean Logic
Use of Parentheses
Combining Multiple Rules
Comments
Validation Messages
Create New Recipe
Import Recipes
Smart Campaigns
Smart Campaigns Overview
Creating a Smart Campaign
Linking Ad Groups
Create Smart Campaign Rule
Managing Smart Campaign Rules
Activating Your Smart Campaign
Smart Campaign Bid Resolution
Smart Campaign 'Dry Run' Feature
Ad Manager
Navigating the Search Term Page
Setting Ad State
Setting Campaign State
Change Campaign Daily Budget
Creating Negative Keywords From Search Terms
Negative Search
KDP Metrics & Settings
Blended Metrics
Adjusted Metrics
Ad Impact Multipliers
Calculating Ad Impact Multipliers
Calculating Average Profit Margin
Account
Signing up for a Merch Jar Account
Understanding the Cascading Settings System (CSS)
Smart Bids Overview
Editing and Creating Smart Bid Profiles
Resetting Your Password
Advertising Data Not Syncing
Troubleshooting
Advertising Data Not Syncing
Formulas Reference
Advanced Filters & Logic
Properties
Functions
Template Library
Segments & Workflows
Help Center
/
Documentation
Formulas
Articles
Formulas Syntax: Quickstart
This guide provides a rapid overview of the most common syntax patterns used in Merch Jar Formulas for users familiar with filtering, scripting, or formula concepts.
Intro to Formulas (Recipes v2)
Get acquainted with Merch Jar Formulas, the powerful engine for creating advanced segments and automation logic using V2 syntax.
Core Syntax Concepts
Understand the fundamental building blocks of Formulas, including properties, operators, functions, and key definitions like Segments and Workflows.
The Formulas Interface
Learn how to access the Formulas interface and about its different components.
Getting Started: Writing Formulas
Learn how to access the Formula Composer and write your first basic formula to filter your advertising data.
Using Time Periods
Explore the different ways to specify date ranges (Relative, Literal, Offset, Lifetime) required for time-based properties like clicks or sales.
Combining Conditions: Boolean Logic & Grouping
Learn how to use and, or, and parentheses () to create complex filter expressions with multiple conditions.
Math Operations
Discover how to use arithmetic operators (+, -, *, /) and the percent sign % for calculations within your formulas.
Understanding Datasets (Formula Sources)
Learn about the different data sources (Campaigns, Ad Groups, Keywords, etc.) you can select for your formulas and how they affect available properties.
Understanding Properties
Understand the concept of properties (time-based vs. static) and how they represent the data fields and settings used in formulas.
Understanding Functions
Get a high-level look at the available functions like now(), interval(), case(), and let that add dynamic capabilities to your formulas.
Defining Variables & Custom Properties
Dive into using the let keyword to define variables within your formula, which automatically create new calculated columns (Custom Properties) in your Segments.
Using Custom Properties in Workflows
Learn how to leverage the values from your Custom Properties (defined using let) to drive dynamic Workflow Actions like changing bids or budgets.
Conditional Logic
Master the case function to implement if/then/else style logic directly within your formulas based on specific conditions.
Adding Comments
Understand how to use single-line // and block /* */ comments to explain your formulas or temporarily disable code.
Workflows & Actions
Explore the available actions (like Change Bid, Set State) that can be automated based on your Formula Segments and learn about scheduling options.
Error Handling & Special Values
Learn how to interpret common syntax validation errors and understand how special values like NaN or division by zero are handled.
Example Formulas & Use Cases
See practical examples demonstrating how to combine various syntax elements to achieve common analysis and optimization goals.
Upgrading from Recipes V1
Discover the key changes between Recipes v1 and the new Formulas v2 syntax.