I cant make an api call

129 views
Skip to first unread message

sewell stephens

unread,
Jul 16, 2020, 1:48:53 PM7/16/20
to AdWords API and Google Ads API Forum
Hi, I am new to the Google Ads API and couldnt make an api call that i could use to display the campaign name, bid, budget, impr., clicks, and keywords associated with the campaign. I wanted to display this data in an html table, but when i did the api call, it threw an error when i used this URL.


Is this API call URL invalid because it seems like it is. I'm bad with apis by the way

Google Ads API Forum Advisor Prod

unread,
Jul 17, 2020, 11:09:04 AM7/17/20
to in...@sewellstephens.com, adwor...@googlegroups.com
Hi Sewell,

Thank you for reaching out. For retrieving data from campaigns, I would recommend making the call to the Google Ads Service Search as explained here. You would do this by making the call to:
https://googleads.googleapis.com/v4/customers/xxxxxxxxxx/googleAds:search

Then, you would create your AWQL query and include it as the body of your request.

If you are still having issues, please share your client customer ID and more information about the error you're receiving via Reply privately to author so I can further investigate the issue?

Regards,
Mitchell
Google Ads API Team

ref:_00D1U1174p._5004Q21mcoU:ref
Reply all
Reply to author
Forward
0 new messages