On Wednesday 17 March 2010, Joshua J. Kugler elucidated thus:
> All I get from the campaign_service.Get(selector) call (this is using
> suds in Python):
>
> (CampaignPage){
> totalNumEntries = 0
> Page.Type = "CampaignPage"
> totalBudget =
> (Budget){
> period = "DAILY"
> amount =
> (Money){
> ComparableValue.Type = "Money"
> microAmount = 0
> }
> deliveryMethod = "STANDARD"
> }
> }
OK, I from a v13 API call that I don't have any campaigns available to
me...so, that answers part of my question, BUT when I specify an id in
getCampaign (v13) it tells me I can't access that campaign. When I do
that for v200909, it just returns zero records and doesn't tell me why.
Not very friendly. :)
> I see that the CampaignService has an object named "Stats" which has
> all the aforementioned fields, but there is no indication on how to
> retrieve that object for a campaign. How do I do a call that will
> retrieve a Stats object, and thus the information I need?
OK, so I understand now that if results are returned, they'll include
a "Stats" object...got it.
> In fact, in the wsdl file, on line 3352 (CampaignService.wsdl for
> 200909), the operation is defined as:
>
> <wsdl:operation name="get">
>
> (lower case 'G'). Same for 'mutate.' It would seem the documentation
> is incorrect in this case.
Sigh...I could have sworn the docs were saying "Get," but I guess not.
They are saying GetSomething for the old calls when the correct call is
getSomething, though. :)
So, a couple of questions answered, one still outstanding. :)
j
--
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/ ID 0x73B13B6A
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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