Same here, worked fine this week but now I get the exact same error in the 
Google Ads Beta API. Using a similar ads.properties (with the old prefix 
settings) in the old Google Adwords API works fine.


Op woensdag 13 februari 2019 12:47:25 UTC+1 schreef Ananth Sakthivel:
>
> since yesterday my code was working fine and it's fetching the AdsAccount 
> Details through the Service of "GetCustomer()". but today onwards its stop 
> working and throwing the Below error,
>
> *Google.Ads.GoogleAds.Lib.GoogleAdsException*
> *  HResult=0x80131500*
> *  Message=Status(StatusCode=PermissionDenied, Detail="The caller does not 
> have permission")*
> *  Source=Google.Api.Gax.Grpc*
>
> I have already added the "LoginCustomerId" in my config file. but still, 
> it's not sorted out.
>
> My TestManager CustomerID: 2349150893
> Developer token:__R0sxIaTEA-cd2bmu1kmA
> *please have a look on my code below, also I attached the screenshot of my 
> errors.*
>
>  try
>             {
>                 Client = new GoogleAdsClient();
>                 CustomerService = 
> Client.GetService(Services.V0.CustomerService);               
>                 GoogleAdsServiceClient googleAdsService = 
> Client.GetService(Services.V0.GoogleAdsService);
>                     SearchGoogleAdsRequest request = new 
> SearchGoogleAdsRequest()
>                     {
>                         Query = @"SELECT customer_client.client_customer 
> FROM customer_client",
>                         CustomerId = Client.Config.LoginCustomerId
>                     };
>                     PagedEnumerable<SearchGoogleAdsResponse, GoogleAdsRow> 
> searchPagedResponse = googleAdsService.Search(request);
>                     object sync = new Object();
>                        
>                 Parallel.ForEach(searchPagedResponse, response =>
>                 {
>                      lock (sync)
>                      {
>                          var ClientDetails = 
> CustomerService.GetCustomer(response.CustomerClient.ClientCustomer);//Error 
> at this line
>                          if (!ClientDetails.Manager.Value)
>                          {
>                             
>                          }
>                      }
>
>                 });
>             }
>
> [image: 2019-02-13_17-12-10.png]
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e696ad2e-574f-42d6-898e-9d6dfcaeb896%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • USER_PE... Ananth Sakthivel
    • Re... Inspired UM
    • Re... peter
    • Re... Charles Astwood
      • ... Jordi Puig
        • ... Ethan Lyon
          • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
            • ... Ananth Sakthivel
              • ... Pavan M Raj Gowda
            • ... peter
            • ... Dharun SKT
    • Re... vandesandtmarc
    • Re... rentcafedev1

Reply via email to