Hello Laurent, The error in question is being triggered because the effective user under which your call is being made is considered an MCC user, and not a client account. In the Sandbox environment, a client account's address would look like [email protected] (and would be specified as the clientEmail header). In the Production environment, it would be the address of an actual AdWords account.
Please be sure you read the section of the Developer's Guide about the Sandbox, as it explains how client accounts in the Sandbox work and the caveats with using the TrafficEstimatorService in the Sandbox: http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbox.html Cheers, -Jeff Posnick, AdWords API Team On Mar 5, 9:20 am, MyMedia <[email protected]> wrote: > Hi, > > I'm testing the TrafficEstimator service within the sandbox, > with the following request: > > <estimateKeywordList> > <keywordRequests> > <maxCpc>1000000</maxCpc> > <text>banane</text> > <type>Broad</type> > </keywordRequests> > </estimateKeywordList> > > And I get the following error message: > > Array ( [faultcode] => soapenv:Server.userException [faultstring] => > Must specify a client in order to do traffic estimates. [detail] => > Array ( [fault] => Array ( [code] => 94 [message] => Must specify a > client in order to do traffic estimates. ) ) ) > > My main question is: > > "What client are we exactly talking about ?" > > Is it about a client specification in the soap headers, with the > clientEmail section? > Or anywhere else? > > My actual soap headers follow: > > <email>[email protected]</email> > <password>[PASSWORD]</password> > <clientEmail>[email protected]</clientEmail> > <useragent>MyMedia: AdWords API PHP Sample Code</ > useragent><developerToken>[email protected]++eur</ > developerToken> > <applicationToken></applicationToken> > > Note that I'm using the sandbox, so I figure that there is no client. > There may be a point that I'm missing, but which one? > > Thanks > Laurent --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
