Hello Richard,

Your configuration looks ok to me. I suggest to run this example to 
initialize the sandbox:

  
http://code.google.com/p/google-api-ads-ruby/source/browse/adwords_api/examples/v201206/basic_operations/get_campaigns.rb

After first run, you can make this request to find out account client 
customer Ids:

  
http://code.google.com/p/google-api-ads-ruby/source/browse/adwords_api/examples/v201206/account_management/get_account_hierarchy.rb

After that, pick one of non-MCC account and set the library configuration 
to use it.


-Danial, AdWords API Team.


On Saturday, July 28, 2012 2:02:53 AM UTC+4, Richard Burton wrote:
>
> Hi there,
>
> I want to play in the sandbox and generate the demo client IDs. How do I 
> do this? Here is where I am at so far:
>
> adwords = AdwordsApi::Api.new({
>   :authentication => {
>     :method => 'ClientLogin',
>     :developer_token => '*********@gmail.com++EUR',
>     :user_agent => 'Richard Burton',
>     :password => '********',
>     :email => '*********@gmail.com'
>     },
>     :service => {
>       :environment => 'SANDBOX'
>     }
>     })
>
>  
>   campaign_srv = adwords.service(:CampaignService, :v201109)
>  
>  campaigns = campaign_srv.get({:fields => ['Id', 'Name', 'Status']})
>  
> campaigns.each do |c|
>   puts c.methods.sort
> end
>
> Thanks a lot in advance for any help.
>

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

Reply via email to