Hi John,

It looks like the problem is that the statsSelector element is being
generated with an empty namespace:

  <statsSelector xmlns="">

I don't have an ETA on when this issue will be resolved, but I will
notify the maintainers of the library.

Best,
- Eric Koleda, AdWords API Team

On Jun 2, 11:42 am, John Wright <[email protected]> wrote:
> Thanks for the input.
>
> According to the documents the namespace doesn't change between the
> production and the sandbox environments.
>
>
>
>
>
> On Wed, Jun 2, 2010 at 10:38 AM, Rohan Almeida <[email protected]> wrote:
>
> > Just a hunch, but does the xmlns for the sandbox differ? Your request XML
> > has
> > xmlns="https://adwords.google.com/api/adwords/cm/v200909";
>
> > Perhaps it should be adwords-sandbox.google.com ?
>
> > --
> > Rohan
>
> > On Wednesday 02 June 2010 08:56 PM, JohnW2G wrote:
>
> >> I see that this problem has been posted before and an Issue ticket was
> >> made for it:
>
> >>http://code.google.com/p/google-api-adwords-perl/issues/detail?id=12
>
> >> But there has been no traction on it for over two months.  Is there
> >> any ETA for a fix on this?
>
> >> On Jun 2, 9:30 am, JohnW2G<[email protected]>  wrote:
>
> >>> I have set up the v200909 of the API libraries for Perl and tried to
> >>> run the sample display_stats.pl file.  I am able to send a request to
> >>> the sandbox environment just fine but I am getting back an error
> >>> response, here are the xmls:
>
> >>> Outgoing Request:
> >>> <SOAP-ENV:Envelope xmlns:xs="http://www.w3.org/2001/XMLSchema";
> >>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:SOAP-
> >>> ENV="http://schemas.xmlsoap.org/soap/envelope/";>
> >>>         <SOAP-ENV:Header>
> >>>                 <RequestHeader xmlns="
> >>>https://adwords.google.com/api/adwords/cm/
> >>> v200909">
> >>>                         <authToken>REDACTED</authToken>
> >>>                         <developerToken>xxx</developerToken>
> >>>                         <userAgent>Perl Google::AdWords::Client 1.3.2:
> >>> xxx</userAgent>
> >>>                         <validateOnly>false</validateOnly>
> >>>                 </RequestHeader>
> >>>         </SOAP-ENV:Header>
> >>>         <SOAP-ENV:Body>
> >>>                 <get xmlns="
> >>>https://adwords.google.com/api/adwords/cm/v200909";>
> >>>                         <selector>
> >>>                                 <statsSelector xmlns="">
> >>>                                         <dateRange>
> >>>                                                 <min>20090602</min>
> >>>                                                 <max>20100602</max>
> >>>                                         </dateRange>
> >>>                                 </statsSelector>
> >>>                         </selector>
> >>>                 </get>
> >>>         </SOAP-ENV:Body>
> >>> </SOAP-ENV:Envelope>
>
> >>> Incoming Response:
> >>> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
> >>>         <soap:Body>
> >>>                 <soap:Fault>
> >>>                         <faultcode>soap:Server</faultcode>
> >>>                         <faultstring>Unmarshalling Error:
> >>> cvc-complex-type.2.4.a: Invalid
> >>> content was found starting with element 'statsSelector'. One of
> >>> '{"https://adwords.google.com/api/adwords/cm/v200909":campaignIds,
> >>> "https://adwords.google.com/api/adwords/cm/v200909":adGroupIds,
> >>> "https://adwords.google.com/api/adwords/cm/v200909":adIds, "https://
> >>> adwords.google.com/api/adwords/cm/v200909":statsSelector, "https://
> >>> adwords.google.com/api/adwords/cm/v200909":paging}' is expected.</
> >>> faultstring>
> >>>                 </soap:Fault>
> >>>         </soap:Body>
> >>> </soap:Envelope>
>
> >>> Error deserializing message: Unmarshalling Error: cvc-complex-type.
> >>> 2.4.a: Invalid content was found starting with element
> >>> 'statsSelector'. One of '{"https://adwords.google.com/api/adwords/cm/
> >>> v200909":campaignIds, "https://adwords.google.com/api/adwords/cm/
> >>> v200909":adGroupIds, "https://adwords.google.com/api/adwords/cm/
> >>> v200909":adIds, "https://adwords.google.com/api/adwords/cm/
> >>> v200909":statsSelector, "https://adwords.google.com/api/adwords/cm/
> >>> v200909":paging}' is expected.
> >>> .
> >>> Message was:
> >>> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
> >>>         <soap:Body>
> >>>                 <soap:Fault>
> >>>                         <faultcode>soap:Server</faultcode>
> >>>                         <faultstring>Unmarshalling Error:
> >>> cvc-complex-type.2.4.a: Invalid
> >>> content was found starting with element 'statsSelector'. One of
> >>> '{"https://adwords.google.com/api/adwords/cm/v200909":campaignIds,
> >>> "https://adwords.google.com/api/adwords/cm/v200909":adGroupIds,
> >>> "https://adwords.google.com/api/adwords/cm/v200909":adIds, "https://
> >>> adwords.google.com/api/adwords/cm/v200909":statsSelector, "https://
> >>> adwords.google.com/api/adwords/cm/v200909":paging}' is expected.</
> >>> faultstring>
> >>>                 </soap:Fault>
> >>>         </soap:Body>
> >>> </soap:Envelope>
>
> --
> John Wright
> Senior Lead Web Developerwww.where2getit.com
> Phone: (949) 922-8519 x238
> Email:[email protected] <email%[email protected]>
> AIM:jwrightw2g
> Local Search for National Brands
>
> Let us know how we're doing! Please fill out this short survey for a chance
> to win a Free iPod or a new Wii game console. 
> Thanks!http://survey.constantcontact.com/survey/a07e2rwhzm6g6e6iahk/start%20
>
> Let’s 
> Connect!http://twitter.com/where2getithttp://www.linkedin.com/in/where2getithttp://www.facebook.com/where2getit

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

Reply via email to