Hi Barak,

For information on Phing, please see the phing website<http://www.phing.info/>
.

The classmap json it's talking about is embedded in the 
api.properties<https://code.google.com/p/google-api-adwords-php/source/browse/src/Google/Api/Ads/AdWords/Lib/api.properties#17>.
 
Can you confirm that your codebase is up to-date (currently: 4.6.1)?
Some of the parsers have an issue with a lack of quotes around the classmap 
property, perhaps you can exchange:
ap.properties - line 17:
## FROM ##
wsdl2php.classmap={"getResponse":"${service}GetResponse", 
"get":"${service}Get", "mutate":"${service}Mutate", 
"mutateResponse":"${service}MutateResponse", 
"mutateCallToAction":"${service}MutateCallToAction", 
"search":"${service}Search", "Function":"FeedFunction"}

## TO ##
wsdl2php.classmap=*'*{"getResponse":"${service}GetResponse", 
"get":"${service}Get", "mutate":"${service}Mutate", 
"mutateResponse":"${service}MutateResponse", 
"mutateCallToAction":"${service}MutateCallToAction", 
"search":"${service}Search", "Function":"FeedFunction"}*'*

Regards,

- Paul, AdWords API Team.

On Sunday, 10 November 2013 10:19:36 UTC, Barak Haviv wrote:
>
> From the Readme
>
> "For the sake of backwards compatibility this feature is not enabled by 
> default.
> It can be enabled by setting wsdl2php.enablePseudoNamespaces to "true" in 
> the
> build.properties file and running the "generate" target in build.xml. This
> requires the source build of the library."
>
> I am not familiar with phing
>
> How do you run the generate target ?
> When I run phing
>  it fails with "Unable to parse classmap as JSON"
>

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

Reply via email to