Here is what I am using and it works ok. Also note that it doesn't
seem to care what you give it for campaign status filtering: You can
put junk in for the campaign status and it doesn't throw any errors.
I included the stats option for grins and giggles but always seem to
get zeros back.
FYI, I found soapUI to be of great help on this, so "thanks" to John
Bliss for that pointer in an earlier posting.
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/
envelope/" xmlns:v20="https://adwords.google.com/api/adwords/cm/
v200909">
<soapenv:Header>
<v20:RequestHeader>
<!--Optional:-->
<v20:authToken>GoogleAuthToken</v20:authToken>
<!--Optional:-->
<v20:developerToken>DeveloperToken</v20:developerToken>
<!--Optional:-->
<v20:userAgent>V2009 Getall Adwords
camp</v20:userAgent>
<!--Optional:-->
</v20:RequestHeader>
</soapenv:Header>
<soapenv:Body>
<v20:get>
<!--Optional:-->
<v20:selector>
<!--Zero or more repetitions:-->
<v20:ids></v20:ids>
<!--Zero or more repetitions:-->
<v20:campaignStatuses></v20:campaignStatuses>
<v20:statsSelector>
<v20:dateRange>
<v20:min>20100101</v20:min>
<v20:max>20100314</v20:max>
</v20:dateRange>
<v20:StatsSelector.Type></v20:StatsSelector.Type>
</v20:statsSelector>
</v20:selector>
</v20:get>
</soapenv:Body>
</soapenv:Envelope>
On Mar 18, 10:07 am, dshevnock <[email protected]> wrote:
> Does anyone have a sample raw SOAP request for the
> CampaignService.get() operation?
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.
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