It seems I got myself confused. I had another look at this and I think it was the JSON methods that were described but which I didn't need.
It was trying to use dataSourceUrl that was causing me problems, that and I think it needs the Google sheet published to the web which is something I didn't know. for what I want it for, the GID method of getting the data works fine.