Adwords Api Question file_get_contents('https://adwords.google.com/api/adwords/cm/v201705/CampaignService?wsdl')

54 views
Skip to first unread message

zyx71041...@gmail.com

unread,
Jul 24, 2017, 5:52:10 AM7/24/17
to AdWords API Forum
<?php
echo file_get_contents('https://adwords.google.com/api/adwords/cm/v201705/CampaignService?wsdl');
exit();

false
为什么抓取不到数据?


Sreelakshmi Sasidharan (AdWords API Team)

unread,
Jul 24, 2017, 1:22:02 PM7/24/17
to AdWords API Forum
Hi,

That is the right URL and I was able to print the WSDL using your code. What issue are you facing while trying to do this? Can you cross check if your PHP installation is complete and you are able to run other PHP programs without issues?

Thanks,
Sreelakshmi, AdWords API Team

zyx71041...@gmail.com

unread,
Jul 25, 2017, 1:49:50 AM7/25/17
to AdWords API Forum
换成其它 url 可以输出数据,如果用 CURL post 方式 输出 soap:ClientXML_STREAM_EXC


Sreelakshmi Sasidharan (AdWords API Team)於 2017年7月25日星期二 UTC+8上午1時22分02秒寫道:

Sreelakshmi Sasidharan (AdWords API Team)

unread,
Jul 25, 2017, 10:45:22 AM7/25/17
to AdWords API Forum
Hi, 

Could you please elaborate what you are trying to do? Are you trying to make an API call to the CampaignService? If so, please check this same code in PHP to understand how to do that. The code snippet that you had shared will only print the contents of that WSDL. 
Reply all
Reply to author
Forward
0 new messages