Re: Unmarshalling Error with Selector in v201302 (aw_api_php_lib_4.1.1)

2013-08-02 Thread Nick Bloor
Hi,
I am also experiencing this issue.
I applied Paul Matthew's update (to adwords_api_php_4.5.1) but when I run 
/adwords_api_php_4.5.1/examples/AdWords/v201306/Optimization/GetKeywordIdeas.php
 
I get the following error:

Warning: Error parsing 
/adwords_api_php_4.5.1/src/Google/Api/Ads/AdWords/Lib/api.properties on 
line 15 in 
/adwords_api_php_4.5.1/src/Google/Api/Ads/Common/Util/ApiPropertiesUtils.php 
on line 34
Notice: Undefined index: api.versions in 
/adwords_api_php_4.5.1/src/Google/Api/Ads/AdWords/Lib/AdWordsUser.php on 
line 120
Notice: Undefined index: api.server in 
/adwords_api_php_4.5.1/src/Google/Api/Ads/AdWords/Lib/AdWordsUser.php on 
line 122
An error has occurred: Unmarshalling Error: cvc-elt.4.2: Cannot resolve 
'Paging' to a type definition for element 'ns1:paging'.

Upon investigation I can see that the ApiPropertiesUtils class is trying to 
parse_ini_file the api.properties file, but doesn't like the JSON lines.
I have tried putting quotes around, and this does get rid of all the errors 
except the last one.
An error has occurred: Unmarshalling Error: cvc-elt.4.2: Cannot resolve 
'Paging' to a type definition for element 'ns1:paging'.

So I am at a bit of a loss on how to resolve this.
Any help will be greatly appreciated.

I am running PHP Version 5.2.4-2ubuntu5.26

Regards
Nick Bloor.
Worthers.



On Tuesday, 2 April 2013 07:46:38 UTC+1, Paul Matthews (AdWords API Team) 
wrote:

 This issue has now been fixed, at:

- change 
 sethttps://code.google.com/p/google-api-adwords-php/source/detail?r=365f3a63326f875621327147f415e2bab263e1fc
- 
 downloadshttps://code.google.com/p/google-api-adwords-php/downloads/list

 Regards,

 - Paul, AdWords API Team.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.




Re: Unmarshalling Error with Selector in v201302 (aw_api_php_lib_4.1.1)

2013-04-02 Thread Paul Matthews (AdWords API Team)
This issue has now been fixed, at:

   - change 
sethttps://code.google.com/p/google-api-adwords-php/source/detail?r=365f3a63326f875621327147f415e2bab263e1fc
   - downloadshttps://code.google.com/p/google-api-adwords-php/downloads/list

Regards,

- Paul, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.




Re: Unmarshalling Error with Selector in v201302 (aw_api_php_lib_4.1.1)

2013-03-19 Thread Marcin Rosinski
Same here, looks like there is a bug with a Selector service, I have 
checked and even examples - GetKeywords.php is affected, looks like we 
can't migrate until resolved, Google Please updated us on it.

cheers,
/Marcin

On Wednesday, 13 March 2013 17:21:14 UTC, mol...@knowme.net wrote:

 I just updated to the latest version of the PHP API v201302.
 When running the example GetCampaigns.php I get the following error:

 An error has occurred: Unmarshalling Error: cvc-elt.4.2: Cannot resolve 
 'Selector' to a type definition for element 'ns1:serviceSelector'. 

 fyi ... I also needed to update init.php to get the examples to run as the 
 src path was incorrect. Needed to change

 define('SRC_PATH', dirname(__FILE__) . '/../../../src/');

 to

 define('SRC_PATH', dirname(__FILE__) . '/../../src/');

 Any help would be most appreciated.
 Thanks in advance
 Mark



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.




Re: Unmarshalling Error with Selector in v201302 (aw_api_php_lib_4.1.1)

2013-03-19 Thread Anash P. Oommen (AdWords API Team)
Hi Mark, Marcin,

Could you file an issue at 
https://code.google.com/p/google-api-adwords-php/issues/list? I'll ask the 
PHP library maintainers to investigate the issue.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Saturday, March 16, 2013 4:09:25 PM UTC+5:30, Marcin Rosinski wrote:

 Same here, looks like there is a bug with a Selector service, I have 
 checked and even examples - GetKeywords.php is affected, looks like we 
 can't migrate until resolved, Google Please updated us on it.

 cheers,
 /Marcin

 On Wednesday, 13 March 2013 17:21:14 UTC, mol...@knowme.net wrote:

 I just updated to the latest version of the PHP API v201302.
 When running the example GetCampaigns.php I get the following error:

 An error has occurred: Unmarshalling Error: cvc-elt.4.2: Cannot resolve 
 'Selector' to a type definition for element 'ns1:serviceSelector'. 

 fyi ... I also needed to update init.php to get the examples to run as 
 the src path was incorrect. Needed to change

 define('SRC_PATH', dirname(__FILE__) . '/../../../src/');

 to

 define('SRC_PATH', dirname(__FILE__) . '/../../src/');

 Any help would be most appreciated.
 Thanks in advance
 Mark



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.




Re: Unmarshalling Error with Selector in v201302 (aw_api_php_lib_4.1.1)

2013-03-19 Thread moleary
Hi Anash ... thank you, I'll file the issue

On Wednesday, March 13, 2013 12:21:14 PM UTC-5, mol...@knowme.net wrote:

 I just updated to the latest version of the PHP API v201302.
 When running the example GetCampaigns.php I get the following error:

 An error has occurred: Unmarshalling Error: cvc-elt.4.2: Cannot resolve 
 'Selector' to a type definition for element 'ns1:serviceSelector'. 

 fyi ... I also needed to update init.php to get the examples to run as the 
 src path was incorrect. Needed to change

 define('SRC_PATH', dirname(__FILE__) . '/../../../src/');

 to

 define('SRC_PATH', dirname(__FILE__) . '/../../src/');

 Any help would be most appreciated.
 Thanks in advance
 Mark



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.




Unmarshalling Error with Selector in v201302 (aw_api_php_lib_4.1.1)

2013-03-14 Thread moleary
I just updated to the latest version of the PHP API v201302.
When running the example GetCampaigns.php I get the following error:

An error has occurred: Unmarshalling Error: cvc-elt.4.2: Cannot resolve 
'Selector' to a type definition for element 'ns1:serviceSelector'. 

fyi ... I also needed to update init.php to get the examples to run as the 
src path was incorrect. Needed to change

define('SRC_PATH', dirname(__FILE__) . '/../../../src/');

to

define('SRC_PATH', dirname(__FILE__) . '/../../src/');

Any help would be most appreciated.
Thanks in advance
Mark

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.