Noob-Question: Make a simple API Call in Browser for Testing

32 views
Skip to first unread message

Philipp Jäckle

unread,
Jul 9, 2018, 5:37:28 PM7/9/18
to AdWords API and Google Ads API Forum
Hi all,

this might be a stupid question, BUT can I do a simple API call as follows in order to retrieve performance Data?

https://adwords.google.com/api/adwords/ # my_account # / # my_report # / # my_access_token

And then get something like JSON or XML result in my Browser:

{
  "Data": [
    {
      ...
    }, 
    {
      ...
    }
  ]
}

Thanks a lot and sorry for that kind of question.

Best

Luis Xander Talag (AdWords API Team)

unread,
Jul 10, 2018, 2:14:55 AM7/10/18
to AdWords API and Google Ads API Forum
Hi Philipp,

I'm afraid that is not possible as the AdWords API report needs a report definition which is an XML or AWQL fragment that defines the parameters of your report, including the report name, the types of information to include in the report, the download format, and other details. These report definition should be enclosed in an HTTP POST Request which could be read by the AdWords server. For ease of use to the API, we highly recommend to use the client libraries to download a report.

Let me know if you have further clarifications.

Thanks and regards,
Luis
AdWords API Team

Philipp Jäckle

unread,
Jul 10, 2018, 4:59:56 AM7/10/18
to AdWords API and Google Ads API Forum
Hi Luis,

thanks for the fast reply. I thought that maybe it is possible to add the report definition as querystring-parameters to the URL. Anyway, not the answer I wanted to hear, but definitely an answer that helps me :-D

Best
Reply all
Reply to author
Forward
0 new messages