Hello, We're using Google Ads API in our app.
First, the manager account owner starts the OAuth process, then a list of managed accounts is displayed to them, then they select the managed account to use for conversions queries using this C# code : * var client = new GoogleAdsClient(config); var service = client.GetService(Services.V17.ConversionUploadService); var searchService = client.GetService(Services.V17.GoogleAdsService); SearchGoogleAdsRequest request = new SearchGoogleAdsRequest() { Query = "SELECT conversion_action.id FROM conversion_action WHERE conversion_action.name = '" + convs.First().Eventname + "'", CustomerId = customerId.ToString() };* But this queries raises an exception because the user has no permission. This is because we provide the managed account id as login-customer-id. However, providing it manually at debug time allows the query to complete. My question is, how can we retrieve the corresponding manager account id to the selected customer id so that the query succeeds ? I tried many things from the docs but without success. It seems that it's not possible to retrieve the manager id using any query based on customer id, is it ? Best, Olivier -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/0fda9996-4d1e-4f5b-92a0-c11cdc4e55acn%40googlegroups.com.