Improved GA support in the Api Libs

Suggestion: Maybe abstract this if-else into its own method parse_row.