I am trying to run one of the 
Google.Ads.GoogleAds.Example: GetAccountInformation   

I get an error that does not describe how to solve the 
problem: DeadlineExceeded 

We have an MCC account so we manage our clients AdWords accounts.

In the web config I set all the keys that were required and that correspond 
exactly to our old AdWords API from production.


  <add key="Timeout" value="100000" />

  <add key="DeveloperToken" value="..............." />
  <add key="OAuth2ClientId" value=".................." />
  <add key="OAuth2ClientSecret" value="..............." />
  <add key="OAuth2RefreshToken" value="................" />

  <add key="OAuth2Mode" value="APPLICATION"/>




    
    public void Run(GoogleAdsClient client, long customerId)
        {
            CustomerServiceClient customerService = client.GetService(
Services.V1.CustomerService);


            try
            {
                string customerResourceName = ResourceNames.Customer(  ----- 
  *here goes the customer id of **our** client*   ----);   


                Customer customer = customerService.GetCustomer(
customerResourceName);


                // Print account information.
                Console.WriteLine("Customer with ID {0}, descriptive name 
'{1}', currency " +
                    "code '{2}', timezone '{3}', tracking URL template 
'{4}' and auto tagging " +
                    "enabled '{5}' was retrieved.", customer.Id, customer.
DescriptiveName,
                    customer.CurrencyCode, customer.TimeZone, customer.
TrackingUrlTemplate,
                    customer.AutoTaggingEnabled);
            }
            catch (GoogleAdsException e)
            {
            }
        }




Am I doing something wrong?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4ba1fb21-bf78-45a6-a3bf-c848ffd8c6ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Google.... Haik
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
    • Re... wei liu

Reply via email to