Geobo
Geobo

Reputation: 159

SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://ads.google...LineItemService?wsdl' : failed to load external entity

I'm trying use Google DFP (Doubleclick for Publishers) Api on my server. I have installed the script and all its dependencies and also I have already set them up. But when I run PHP files in the console, I get this error every time.

PHP Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://ads.goog le.com/apis/ads/publisher/v201611/LineItemService?wsdl' : failed to load externa l entity "https://ads.google.com/apis/ads/publisher/v201611/LineItemService?wsdl " in /home/admin/web/glob.space/public_html/src/Google/AdsApi/Common/AdsSoapC lient.php on line 65

Could you please tell me, why this happens? this is a not a code issue, because I use original example codes.

Thanks in advance!

Upvotes: 1

Views: 1233

Answers (1)

user7639493
user7639493

Reputation: 11

just put a slash character between Service and ? in https://ads.google.com/apis/ads/publisher/v201611/LineItemService?wsdl

Ref. http://asanamuz.ir/wp/?p=131

Upvotes: 1

Related Questions