The criteria seem to be more the type of fare involved rather than whether it is published. Some unpublished fares do offer full mileage credit on UA: government fares and group fares are examples. One key example of paid fares that do not earn mileage credit is certain discounted fares available to travel agents for their own purchase.