A number is not needed for an Ancestry test. Just go to the DNA information location and add that you took an Ancestry test and add your user name for Ancestry. After about 24 hours that test information will show on the profiles of your ancestors.
Since Ancestry does not use numbers as an identifier, there is no number for you to add.