Join Date: Jul 2005
Location: Seat 2A
Programs: AA EXP LT GLD 1MM, BA GLD, NH/UA*G, Hyatt GLB, Marr Tit LT PLT, IHG Dia, HH Dia, MGM NOIR, Hertz PC
Posts: 10,595
A travel agent can book many different rates so it'll depend on what kind of deal this is.
Generally speaking third party consolidators or OTA bookings such as Expedia or Orbitz are not eligible to earn both points or on-property benefits. However TA's can also book published rates directly with the hotel and those are eligible. Local promotions often have exclusions in the rate as well (see the Bangkok local rates thread at the Marquis).