As for your questions I'll check it soon,
as for now, if I've api unit to zero could I've this problem too?
thanks again


On 20 Mag, 19:39, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:
> Hello,
>
>  I'm afraid that doesn't really answer my questions. Assuming you're
> sending request to the Production environment, have you confirmed that
> the MCC account in context.email has access to the child AdWords
> account whose customer id is given in context.clientId?
>
> Cheers,
> -Jeff Posnick, AdWords API Team
>
> On May 20, 1:09 pm, Heisenbug <simone.bian...@gmail.com> wrote:
>
> > I use this code to acces production account......
>
> > Hashtable<String, String> headers = new Hashtable<String, String>();
> > headers.put("email", context.email);
> > headers.put("password", context.pswadwords);
> > headers.put("useragent", context.useragent);
> > headers.put("developerToken", context.developertoken);
> > headers.put("applicationToken", context.applicationtoken);
> > AdWordsUser mccUser = new AdWordsUser(headers);
> > headers.put("clientId", context.clientId);
> > AdWordsUser adWordsUser = new AdWordsUser(headers);
>
> > AccountInterface accountService =
> >   (AccountInterface)mccUser.getService(AdWordsUser.ACCOUNT_SERVICE);
> > String[] clientAccounts = accountService.getClientAccounts();
> > CampaignInterface campaignService =
> >   (CampaignInterface)adWordsUser.getService
> > (AdWordsUser.CAMPAIGN_SERVICE);
> > Campaign[] campaigns = campaignService.getAllAdWordsCampaigns(0);
>
> > On 20 Mag, 18:27, AdWords API Advisor <adwordsapiadvi...@google.com>
> > wrote:
>
> > > Hello,
>
> > >  Are you trying to access the Production or Sandbox environments?
>
> > >  The error you're getting would indicate that you're specifying
> > > "842-310-1923" as the clientCustomerId SOAP request header, but the
> > > email header you're specifying isn't a valid MCC for that account. If
> > > you're going against the Sandbox, you shouldn't be using the
> > > clientCustomerId header at all; instead, use the clientEmail header as
> > > described at
>
> > >  http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbo...
>
> > > If you're going against the Production environment, then just make
> > > sure that the account in your email header is set up as a parent MCC
> > > for account 842-310-1923.
>
> > > Cheers,
> > > -Jeff Posnick, AdWords API Team
>
> > > On May 20, 7:26 am, Heisenbug <simone.bian...@gmail.com> wrote:
>
> > > > Hello all,
> > > > I've this error when I try to call the getAllAdWordsCampaigns method
> > > > someones know what is the problem?
> > > > thanks
>
> > > > faultCode: {http://schemas.xmlsoap.org/soap/envelope/}
> > > > Server.userException
> > > >  faultSubcode:
> > > >  faultString: Either this object does not exist, or this user does not
> > > > have perm
> > > > ission to access it.
> > > >  faultActor:
> > > >  faultNode:
> > > >  faultDetail:
> > > >         {https://adwords.google.com/api/adwords/v13}fault:
> > > >      <ns1:code>4</ns1:code>
> > > >      <ns1:message>Either this object does not exist, or this user does
> > > > not have
> > > > permission to access it.</ns1:message>
> > > >      <ns1:trigger>842-310-1923</ns1:trigger>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to