Can you use scent to track in the air?

I saw a dragon flying in the air, I am at its approximate height, can I track in the air using the scent ability while flying?

Yes

Doing so is a Survival skill check or a Wisdom check. The extraordinary ability scent says

A creature with the Track feat and the scent ability can follow tracks by smell, making a Wisdom check to find or follow a track. The typical DC for a fresh trail is 10. The DC increases or decreases depending on how strong the quarry’s odor is, the number of creatures, and the age of the trail. For each hour that the trail is cold, the DC increases by 2. The ability otherwise follows the rules for the Track feat. Creatures tracking by scent ignore the effects of surface conditions and poor visibility.

The only thing you might need is the feat Track, but only if the check's DC is greater than 10. The check shouldn't be greater than 10 because a creature bigger than Medium is way easier track. The feat Track lists following Survival check modifiers:

                                                    SURVIVAL
CONDITION                                         DC MODIFIER
Every three creatures in the group being tracked       -1
Size of creature or creatures being tracked
Fine                                                 +8
Diminutive                                           +4
Tiny                                                 +2
Small                                                +1
Medium                                               +0
Large                                                -1
Huge                                                 -2
Gargantuan                                           -4
Colossal                                             -8

(For a group of mixed sizes, apply only the
modifier for the largest size category.)

Every 24 hours since the trail was made                +1
Every hour of rain since the trail was made            +1
Fresh snow cover since the trail was made             +10
Poor visibility                                        -2
Overcast or moonless night                             +6
Moonlight                                              +3
Fog or precipitation                                   +3
Tracked party hides trail (and moves at half speed)    +5


However, thanks to scent, most environmental conditions are ignored, but some (fog, for example) could still make tracking the creature harder.

• Is air a surface for this example? – Simon May 10 '16 at 15:05
• It is not. As I noted, Instead of using surface DC that are used when following on the ground, the dc of following fresh trail is 10.For each hour that the trail is cold, the DC increases by 2. – Momonga-sama May 10 '16 at 15:12
• This information is diffrent from the one given in monster manual 1. In MM1 it says "the dc of following fresh trail is 10 (no matter what kind of surface holds the scent)" – Simon May 10 '16 at 15:43
• @Simon The Dungeon Master's Guide also describes the extraordinary ability scent (298). – Hey I Can Chan May 10 '16 at 15:46
• Read more carefully about scent ability.Creatures tracking by scent ignore the effects of surface conditions and poor visibility. – Momonga-sama May 11 '16 at 10:26