Hi Joshua,

The behavior you are noticing is as it was designed.  Selectors in
v2009 filter the result set, and passing in an invalid id will not
return an error.

Best,
- Eric

On Mar 18, 1:49 pm, "Joshua J. Kugler" <[email protected]> wrote:
> On Thursday 18 March 2010, AdWords API Advisor elucidated thus:
>
> > Hi Joshua,
>
> > It seems you've found answers to many of your questions.  Which ones
> > are outstanding?
>
> Thanks for replying.  The one outstanding is the response I'm getting
> when I don't have access to the queried campaign.  With the v13 API, if
> I queried a campaign I didn't have access to (maybe because I didn't
> supply the correct account e-mail), I got:
>
> 'This campaign is accessible to the user, but does not belong to the
> current customer.  If you wish to access this campaign, you must set
> the clientEmail header to an appropriate login.'
>
> With 200909, I simply get:
>
> (CampaignPage){
>    totalNumEntries = 0
>    Page.Type = "CampaignPage"
>    totalBudget =
>       (Budget){
>          period = "DAILY"
>           amount =
>              (Money){
>                 ComparableValue.Type = "Money"
>                 microAmount = 0
>             }
>          deliveryMethod = "STANDARD"
>       }
>
> }
>
> with no indication if it is a valid campaign ID, or whether or not I
> have access to the ID I queried.  The distinction between "not
> existing" and "insufficient permissions" seems to have been removed
> with no way (I can see) to tell the difference.
>
> Thanks!
>
> j
>
>
>
>
>
>
>
> > Best,
> > - Eric Koleda, AdWords API Team
>
> > On Mar 17, 10:13 pm, "Joshua J. Kugler" <[email protected]> wrote:
> > > 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/Programmerhttp://www.eeinternet.com
> > > PGP Key:http://pgp.mit.edu/ID0x73B13B6A
>
> --
> Joshua Kugler
> Part-Time System Admin/Programmerhttp://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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to