I have the same problem with you. Can you resolve it?

在 2019年3月21日星期四 UTC+8上午3:29:00,Haik写道:
>
> 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 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
--- 
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 adwords-api+unsubscr...@googlegroups.com.
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/e9494f93-29a0-43da-96f5-97ce867f5fd1%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