GET request for Cost per Click

21 views
Skip to first unread message

Tale Ojeabulu

unread,
Jan 10, 2018, 4:07:09 AM1/10/18
to AdWords API Forum

I was wondering if it was possible to make a get request to the Adword API to get the cpc of an user inputted word. The word is put in my program from the user and that word is sent to the api and the cost per click is sent back. 

 

Thank you. 

Sreelakshmi Sasidharan (AdWords API Team)

unread,
Jan 10, 2018, 11:40:20 AM1/10/18
to AdWords API Forum
Hi, 

Are you trying to get the stats corresponding to a proposed keyword via API? If so, you can take a look at the TargetingIdeaService. The TargetingIdeaService via API will give results similar to the Keyword Planner in the AdWords web interface. Please take a look at the guide which talks about retrieving the keyword stats. You can look for AVERAGE_CPC to get the average cost per click historically paid for a specific keyword. The code samples for this service can be found here.

If your question was different, could you please elaborate?

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