Did you set the API permission right? You have to activate the API which you need for your project here: https://console.cloud.google.com/apis/library
And if you try to connect you have to set the scopes right. [email protected] schrieb am Freitag, 17. Juni 2022 um 13:09:39 UTC+2: > Hi Patrik, > Thank you very much for clarifying that. > Also here is "loginCustomerId -> the customer no. of the manager account > ", the customer number my Google manager account or clients Google Manager > account. My use case is to export users to the client's Google Ads account. > > I am getting USER_PERMISSION_DENIED while making google ads API call to > export user to my clients google ads account. > Thanks, > Ajit > > On Friday, June 17, 2022 at 4:04:40 PM UTC+5:30 [email protected] > wrote: > >> Hej Ajit, >> >> you will need: >> developerToken -> you find in the manager account >> loginCustomerId -> the customer no. of the manager account >> >> clientId -> you find it in your oauth authentication console >> clientSecret -> same here >> >> All this values you have to put in a ini/config file >> >> (client) CUSTOMER_ID -> the customer no. of the account/customer you want >> to edit >> This value you need in your code / api request >> >> Hope that helps you! >> >> Patrik >> [email protected] schrieb am Freitag, 17. Juni 2022 um 10:03:48 >> UTC+2: >> >>> Hi, >>> I am getting a USER_PERMISSION_DENIED error while making google ads API >>> call. Upon googling I got to know that we need to pass login customer id >>> and client customer id while making API call? >>> 1. I want to understand what is the difference between login customer id >>> and client customer id? >>> 2. How do I get login customer id and client customer id ? >>> 3. When do I have to use both login customer id and client customer id >>> while making API call? >>> Some sample code examples to use both login customer id and client >>> customer id using java library would be helpful >>> >>> Thanks & Regards, >>> Ajit >>> >>> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/1f062048-a317-44b0-a55c-9e69bac60236n%40googlegroups.com.
