Caught exception: SOAP-ERROR: Parsing WSDL

2015-01-19 Thread Anca Suciu
Hello,

I have a test program in PHP that creates some ad groups. This script ran 
successfully one year ago but not it's getting this error:

*Caught exception: SOAP-ERROR: Parsing WSDL: Couldn't load from 
'https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl' : 
failed to load external entity 
https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl; *

Do you have any idea what can cause this error?

Thank you!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e8cfb32f-4b8c-45af-b913-041a6c635043%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Not able to see my campaigns from my PHP script

2013-11-05 Thread Anca Suciu


**php version v5.3.2-1ubuntu4.5
I have extended one of the tests available in the Google Adwords PHP Library - 
AdWordsIntegrationTest.php 
and I just want to see the list of my campaigns. 
I was expecting to see all the campaigns from the adwords account and this list 
is not empty. 
However, the result got with my script is an empty list.
This is how the returned data looks like:
CampaignPage Object ( [entries] = [totalNumEntries] = 0 [PageType] = 
CampaignPage [_parameterMap:Page:private] = Array ( [Page.Type] = PageType ) )

Do you have any idea what am I doing wrong?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


AuthenticationError.OAUTH_TOKEN_INVALID when running a test application

2013-10-30 Thread Anca Suciu
I am trying to create a very simple application developed on top of the 
sample from the GoogleAdwords PHP Library. The purpose of the application 
is to create a new AdWordsUser that tries to access the Campaign service.
I have obtained the client_id, client_secret, access_token, refresh_token 
and filled all this data into the auth.ini file. However, when I run my 
test I am getting the following error:

Fatal error: Uncaught SoapFault exception: [soap:Server] 
[AuthenticationError.OAUTH_TOKEN_INVALID @ ; trigger:''] in 
/home/kaosmic/www/adwords/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php:216 
Stack trace: #0 
/home/kaosmic/www/adwords/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php(216): 
SoapClient-__soapCall('get', Array, NULL, Array, Array) #1 
/home/kaosmic/www/adwords/src/Google/Api/Ads/AdWords/v201309/CampaignService.php(6208):
 
AdsSoapClient-__soapCall('get', Array) #2 
/home/kaosmic/www/adwords/tests/AdWordsIntegrationTest.php(77): 
CampaignService-get(Object(Selector)) #3 
/home/kaosmic/www/adwords/tests/test.php(12): 
AdWordsIntegrationTest-testIntegrationCheckUserAgent() #4 {main} thrown in 
/home/kaosmic/www/adwords/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php 
on line 216 

I have tried to regerate my authorization code and then the access token 
and refresh token but it's not working. Do you have any ideas about what to 
do next?
Thank you.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.