Hi all,
I've been working for a while now on trying to download data from the Google Webmaster Tools Search Analytics API but have had no success so far.
I get as far as successfully connect to the API through the following URL (https://www.googleapis.com/webmasters/v3/sites/SITEURL/searchAnalytics/query), but keep on retrieving a parse error:
{¶
·"error":·{¶
··"errors":·[¶
···{¶
····"domain":·"global",¶
····"reason":·"parseError",¶
····"message":·"Parse·Error"¶
···}¶
··],¶
··"code":·400,¶
··"message":·"Parse·Error"¶
·}¶
}¶The query originally uses POST HTTP action and Content-Type application/json. I've included the latter in the Header tab of the Download tool along with my Authorization and Host (www.googleapis.com).
Is there anyone out there that happens to have some experience downloading data from the Search Analytics API or using a JSON query in the download tool? I've tried including the payload as constant values, written JSON string and a JSON field from the JSON build tool, but none have been successful.
{
"startDate": "2016-07-01",
"endDate": "2016-07-05",
"dimensions": ["Date"]
}I imagine covnerting the JSON string to encoded URL would work; I've tried this too but also no success.
Look forward to your replies.
Kind Regards,
Wesley