You should use an email when setting up sandbox. Then you'll need to 
initialize your sandbox accounts by making a get request to 
CampaignService. If that request is successful, you should now have 5 
sandbox accounts, which you can see by using the ManagedCustomerService. 
Pick one of the accounts and set clientCustomerId to its customerId.

On Wednesday, November 7, 2012 2:19:27 PM UTC-5, Noah wrote:
>
> Dave,
>
> Thanks for the fast response.
>
> I enabled oAuth2, and now am getting a different error:
>
> Version v201209 has no support for identifying clients by email at 
> /GOOGLE-ADWORDS-PERL-CLIENT-2.7.3/lib//Google/Ads/AdWords/Serializer.pm 
> line 68.
>
>
> I did read that the API now prefers a clientId instead of an e-mail. 
>  However, the instructions for the sandbox explicitly state that I should 
> use an e-mail.  Confused here.
>
> All I'm trying to do is create a test account in the sandbox so that I can 
> start to play with the API, reporting, etc.
>
> Thanks.
>
>
>
>
> On Nov 7, 2012, at 6:51 AM, David Torres <david....@google.com<javascript:>> 
> wrote:
>
> Hi Noah,
>
> Basically, what the error is telling you is that it can't find any 
> authorization mechanism (ClientLogin, OAuth) setup to construct your 
> request. So you need to provide auth credentials, either an email/password 
> if using client login or an oAuth2AccessToken/oAuth2RefreshToken is using 
> OAuth2.
>
> Check the library README, section "Authorization Options" for more details
>
> Best,
>
> -David Torres - AdWords API Team
>
> On Tuesday, November 6, 2012 4:37:44 PM UTC-5, Noah wrote:
>>
>> Just started looking into the adwords API today.
>>
>> 1) Downloaded, and installed the api library directly from Google.  All 
>> code and dependencies installed without any problems.
>>
>> 2) I want to use the sandbox to play around, so changed three items in 
>> the adwords.properties file (copy located in my home directory)
>> clientId=clien...@gmail.com
>> developerToken=m...@gmail.com++USD
>> alternateUrl=https://adwords-sandbox.google.com 
>>
>> 3) No matter which example I run, I get the same error:
>>
>> Couldn't find an authorization handler properly setup at 
>> GOOGLE-ADWORDS-PERL-CLIENT-2.7.3/lib//Google/Ads/Common/HTTPTransport.pm 
>> line 47.
>>
>>
>> What am I missing?
>>
>> Can anyone offer advice on how to properly connect to the sandbox and 
>> execute commands?
>>
>> Thank YOU
>>
>
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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 adwor...@googlegroups.com<javascript:>
> To unsubscribe from this group, send email to
> adwords-api...@googlegroups.com <javascript:>
> For more options, visit this group at
> http://groups.google.com/group/adwords-api?hl=en
>
>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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