Hi,

The DeadlineExceeded error you encountered could be due to temporary
glitches in the Google Ads servers or the API calls are made too quickly. This
said, when you are facing such errors, I would suggest to wait for some
time and make the API call again.

If the issue persist, could you provide the complete request and response
logs when you encountered the error? Please reply via *Reply privately to
author*.


Regards,
Dave
Google Ads API Team



=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/21/19 00:16:23 h...@clickcease.com wrote:

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/4ba1fb21-bf78-45a6-a3bf-c848ffd8c6ab%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/4ba1fb21-bf78-45a6-a3bf-c848ffd8c6ab%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1ajod500000000010hirj40003s1pgx6kmj0d1o64o30c1g68r30dpp%40mail.gmail.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