REST API Get request to generate KeywordPlanHistoricalMetrics in PHP

223 views
Skip to first unread message

Mostafa Ezzat

unread,
Dec 27, 2021, 9:50:18 AM12/27/21
to AdWords API and Google Ads API Forum
I want to get request by using file_get_contents() php function. I have this function is that parameters are correct but the problem there is
no sample to parse the word it self to get the metrics for so how to write the parameters and pass the word to then i'll use `json_decode()`

```

```

Google Ads API Forum Advisor

unread,
Dec 28, 2021, 1:34:57 AM12/28/21
to programer...@gmail.com, adwor...@googlegroups.com
Hi Mostafa,

Thank you for reaching out to us.

It appears that your concern is more on implementation/integration of our client libraries rather than anything specific to Google Ads API itself. Since this is more of implementation/integration specific issue, then we would recommend reaching out the PHP developer who maintain our client libraries here.

Regards,
Google Logo
Teejay Wennie Pimentel
Google Ads API Team
 


ref:_00D1U1174p._5004Q2Tl4vM:ref

Mostafa Ezzat

unread,
Dec 28, 2021, 4:02:28 AM12/28/21
to AdWords API and Google Ads API Forum

I have been through this issue for very long time and I know googleleads API will be go away next year so all I need is to how to pass the word to Google Ads API with REst API to get the metrics I have mentioned in the start or can I reply to the past conversation? 

Google Ads API Forum Advisor

unread,
Dec 28, 2021, 4:12:48 AM12/28/21
to programer...@gmail.com, adwor...@googlegroups.com
Hi Mostafa,

I am also a member of the Google Ads API team and let me provide support to your concern.

If you will directly use REST API to manage Google Ads account programmatically such as the keyword planner, then I would suggest to refer to this document as it presents details specific to REST and explains what you need to know to call the REST interface directly, without the use of a Google-supported client library.

Let me know if you have further questions.

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


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