Hi Eric,

Thanks for your help, I create this issue :
http://code.google.com/p/google-api-adwords-perl/issues/detail?id=4

Nicolas

On Nov 25, 10:50 pm, AdWords API Advisor
<[email protected]> wrote:
> Hi Nicolas,
>
> The problem with the generated XML is that the "ids" element has a
> blank namespace.
>
>   <ids xmlns="">19830</ids>
>
> Your code appears correct, so this could be an issue with the Perl
> client library.  Please create a bug on the Perl client library's
> issue tracker:
>
>  http://code.google.com/p/google-api-adwords-perl/issues/list
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On Nov 25, 5:57 am, kolok <[email protected]> wrote:
>
> > Hello,
>
> > I try to migrate from V13 to v200909. I work with perl and i migrate
> > my perl lib from "Google-Adwords-v1.14" : non official lib to "google-
> > api-adwords-perl" from google.
>
> > First, I try to migrate my script which get 1 campaign from its id on
> > sandbox.
> >   - I initialize my connection with Google::AdWords::Client object :
> > no problem
> >   - I ask for 1 campaign : it returns all campaigns of account.
>
> > My code is :
> >  # init campaign selector
> >  my $campaign_selector = {
> >    selector => {
> >      ids => [19830]
> >    }
> >  };
>
> >  # Call CampaignService.get() to retrieve the campaigns.
> >  my $response = $client->CampaignService()->get($campaign_selector);
> >  my $ra_campaign = $response->result()->{entries};
>
> > SAOP request is :
> > SOAP::Transport::HTTP::Client::send_receive: 
> > POSThttps://adwords-sandbox.google.com/api/adwords/cm/v200909/CampaignSer...
> > HTTP/1.1
> > Accept: text/xml
> > Accept: multipart/*
> > Accept: application/soap
> > Content-Length: 952
> > Content-Type: text/xml; charset=utf-8
> > SOAPAction: ""
>
> > <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">
> >  <applicationToken>SANDBOX</applicationToken>
> >  <authToken>DQAAAIEAAAD4FAxxgUt858NHmFfXxBOWZu3inS30G4-zmsuWRyvtb8RK-
> > z5krKRcD7KBjz8BaR6JHGCuBq3zSQTUBH7iNmX29rLWE2GOOU3S8ckavG7MP4yLWHaX-6oCeNuM 
> > u9vHK7rH1ve1-
> > t_vRLrKE-F49tP48hNBHr_UXtCO8Y-HqycHlNCMu2cixP0Ti8QiMpDF***</authToken>
> >  <clientEmail>[email protected]</clientEmail>
> >  <developerToken>noud...@we******.com++usd</developerToken>
> >  <userAgent>Perl Google::AdWords::Client 1.3.0: weborama</userAgent>
> >  <validateOnly>false</validateOnly>
> >  </RequestHeader>
> > </SOAP-ENV:Header>
> > <SOAP-ENV:Body>
> >  <get xmlns="https://adwords.google.com/api/adwords/cm/v200909";>
> >   <selector>
> >    <ids xmlns="">19830</ids>
> >   </selector>
> >  </get></SOAP-ENV:Body></SOAP-ENV:Envelope>
>
> > this return 2 campaigns : 4560 and 19830
>
> > This problem is it because I do not use correctly the perl lib or is
> > it the type which is not set on ids field ?
>
> > Thanks for your help.
> > Nicolas

--

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