My understanding is that the current normal AncestryDNA product, which tests Autosomal DNA, does not include the Y-DNA or mtDNA SNPs that would be useful for determining your haplogroup(s).
Ancestry sells separate,previously sold more expensive DNA tests for Y-DNA and mtDNA, but no longer do. FamilyTreeDNA does, however:
http://ldna.ancestry.com/buyKitGoals.aspx
(Their competitors offer similar tests, so it might be worth shopping around.)https://www.familytreedna.com/
Assuming Ancestry doesn't do the work for you and present a pretty graph or what have you with the results, you would likely be ableYou'll need to download the raw data and figure out the haplogroup yourself using the ISOGG's database: