You will but it is based on milage flow:
Special fares
Earning AAdvantage® miles and Loyalty Points
Some fares (such as bulk or consolidator fares) earn AAdvantage® miles at a modified rate based on a percentage of the distance flown as determined by the booking code.*
You’ll earn Loyalty Points toward AAdvantage® status for each AAdvantage® base mile earned on eligible flights, including cabin of service and status mileage bonuses.
Special fares are often bought through a specialized agent, third party or as part of a package including air transportation and lodging.
These include:
Bulk fares
Cruise fares
Consolidator fares
Discounted or inclusive tour packages
Other tickets where the fare isn't disclosed, excluding bookings made through priceline.com or hotwire.com where the carrier isn't disclosed before buying