Don't see what you need? Submit a request

Targeting rules

Jaivin Anzalota -

Targeting rules are the cornerstone of how UPAs and UTAs are associated with flights. Rules are used in conjunction with criteria to create a flexible and powerful targeting system. Using multiple rules together allows for highly specific UPAs, spotlighting precisely what is offered on a flight.

All rules follow a simple syntax of rule type + operator + criteria, e.g.: Arrival airport is in “Bay Area” (Bay Area being a list of several airports). Most rules also support the input of a single value, e.g.: Arrival airport is “SFO.” Rules are additive, meaning each rule builds on the next, making the targeting more and more specific with each new rule. UPAs and UTAs are returned via the Hub API when the targeting criteria defined for a UPA or UTA match the flight(s) requested.

Available targeting rules

Rule Associates with flights that…. Criteria format
Arrival airport Arrive at specific airports List or value
Arrival country Arrive in specific countries List or value
Arrival or departure airport Arrive or depart at specific airports List or value
Arrival or departure country Arrive or depart in specific countries List or value
Arrival time Arrive before or after a specific time HH:MM
Departure airport Depart from specific airports List or value
Departure country Depart from specific countries List or value
Departure terminal Depart from specific terminals List or value
Departure time Depart before or after a specific time HH:MM
Domestic Departure & Arrival country Arrives and departs within a country List or value
Flight date Depart within a date range Start date to end date
Flight duration Have an elapsed time within a range HH:MM - HH:MM
Origin & destination Match a specific set of O&Ds List or value
Subfleet Are flown on a specific aircraft subfleet List or value
Tail Are flown on a specific aircraft (exact tail number) List
Have more questions? Submit a request