Hi Grant, Using the object Google::AdWords::v200909::Types::TextAd is the only way to tell the SOAP serializer that an xsi:type="TextAd" is required when generating the SOAP request, but let me ask you since I'm not an guru of Perl so maybe I can learn from your experience, what from this approach you find "static" and "messy" and how would you think it could be improved.
Also for your information I'm currently working on a new version of the library that will actually cover some of the current deficiencies of the library like the support to all the services as well as to remove the need to manually patch the SOAP:WSDL module, so that is why I'm interested to know how do you think would be the best and cleanest way to approach this problem. Best, -David - AdWords API Team On Jul 23, 9:55 pm, Grant <[email protected]> wrote: > Is there another method of serializing to TextAd (for example) with > google-api-adwords-perl besides this: > > use Google::AdWords::v200909::Types::TextAd; > ... > ad => Google::AdWords::v200909::Types::TextAd->new({ > > It seems too static and a bit messy. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
