Hi,
I have had to upgrade my API to version adwords_api_php_4.5.1
I am trying to run the example (using version v201306)
program
/scripts/adwords_api_php_4.5.1/examples/AdWords/v201306/Optimization/GetKeywordIdeas.php
but am receiving 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'.
Looking at the api.properties file I can see these 2 lines causing an issue:
wsdl2php.conflictClassmap={"DateTime":"AdWordsDateTime",
"SoapHeader":"SoapRequestHeader"}
wsdl2php.classmap={"getResponse":"${service}GetResponse",
"get":"${service}Get", "mutate":"${service}Mutate",
"mutateResponse":"${service}MutateResponse",
"mutateCallToAction":"${service}MutateCallToAction",
"search":"${service}Search", "Function":"FeedFunction"}
as the ApiPropertiesUtils class is trying to pull in the file into an
array, and it isn't liking the JSON strings.
If I put quotes around the strings all the error messages disappear except,
"An error has occurred: Unmarshalling Error: cvc-elt.4.2: Cannot resolve
'Paging' to a type definition for element 'ns1:paging'."
and the example is still not working.
I am happy that my auth.ini is correct, but am going round in circles....
I am wondering if there is a solution to this problem and if anybody else
is experiencing the same issue?
Thanks in advance.
Regards
Nick Bloor
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.