TargetingIdeaService method to JSON output?

81 views
Skip to first unread message

A Farhat

unread,
May 11, 2015, 5:21:51 AM5/11/15
to adwor...@googlegroups.com
Hi guys,

This probably is a very broad (noobie) question, but would really appreciate it if someone could give me some guidance or direction to accomplish the following...

What i'm trying to achieve is to create a JSON Rest-Full API using the Adwords API TargetingIdeaService method to get suggested keywords including the search volume and average CPC in a JSON output. It's important to extract the keyword and country data via an URL, for example:  http://api.domain.com?keyword=keyword&country=us&output=JSON

Is this even possible, if so  where to start?

See screenshot for example:


Thank you for your time.

Josh Radcliff (AdWords API Team)

unread,
May 11, 2015, 3:28:47 PM5/11/15
to adwor...@googlegroups.com, ali...@gmail.com
Hi,

The AdWords API and client libraries don't directly support JSON or REST, but others on this group may have ideas or experience with wrapping our API services in this way.

Thanks,
Josh, AdWords API Team

A Farhat

unread,
May 12, 2015, 11:46:27 AM5/12/15
to adwor...@googlegroups.com, ali...@gmail.com
Thank you! Does the API support XML? Is there anyone who can do this?

Op maandag 11 mei 2015 21:28:47 UTC+2 schreef Josh Radcliff (AdWords API Team):

Josh Radcliff (AdWords API Team)

unread,
May 12, 2015, 12:06:46 PM5/12/15
to adwor...@googlegroups.com, ali...@gmail.com
Hi,

The API uses SOAP, so all messages (besides some reporting calls) are formatted as XML.

However, our client libraries take care of generating the SOAP XML messages for you -- you simply work with objects such as Campaigns, AdGroups, and Keywords, and the client library translates that into the appropriate XML messages and API calls.

If you haven't seen it already, please check out our guide on generating targeting ideas, which includes a link to code samples for each client library.

Cheers,
Josh, AdWords API Team

A Farhat

unread,
May 18, 2015, 9:18:02 AM5/18/15
to adwor...@googlegroups.com
Thank you for you answers. I think I have to source this out, so if anyone is interested?

Btw, how many API calls can you do per day or per month?

Op maandag 11 mei 2015 11:21:51 UTC+2 schreef A Farhat:

Josh Radcliff (AdWords API Team)

unread,
May 18, 2015, 10:20:35 AM5/18/15
to adwor...@googlegroups.com, ali...@gmail.com
Hi,

Regarding the number of API calls you can make per day, please see our Rate Limits guide.

Thanks,
Josh, AdWords API Team
Reply all
Reply to author
Forward
0 new messages