I'm posting this here because apparently I'm too dense to figure out
how to actually get in touch with someone at Google about this or
where to report bugs.

I've been banging my head against the wall trying to use PHP5.2's
SoapClient to make API requests against v2009 to get data from my
account, but all I've been getting back is random data.  I think
SoapClient isnt properly passing along my headers to the API.

I've narrowed this down to a fairly simple example to show whats
happening.

Action: 
https://adwords.google.com/api/adwords/cm/v200906/CampaignServiceInterface/getRequest

Request XML:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/
envelope/" xmlns:v20="https://adwords.google.com/api/adwords/cm/
v200906">
  <soapenv:Body>
     <v20:get>
        <!--Optional:-->
        <v20:selector>
           <v20:campaignStatuses>ACTIVE</v20:campaignStatuses>
           <v20:campaignStatuses>PAUSED</v20:campaignStatuses>
           <v20:statsSelector>
              <v20:dateRange>
                 <v20:min>20090101</v20:min>
                 <v20:max>20100101</v20:max>
              </v20:dateRange>
           </v20:statsSelector>
           <!--Optional:-->
           <v20:paging>
              <!--Optional:-->
              <v20:startIndex>0</v20:startIndex>
              <!--Optional:-->
              <v20:numberResults>10</v20:numberResults>
           </v20:paging>
        </v20:selector>
     </v20:get>
  </soapenv:Body>
</soapenv:Envelope>

And you get just random account data back, It looks like its just
random free for all.  This doesnt look good.  I sure hope you cant
modify data this way.

Thanks for any help!
Stephen
--~--~---------~--~----~------------~-------~--~----~
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