Should be:
for grant in ADS_record.get('adsdata',{}).get('grants',[]):
('grants' is an array)