I also noticed something else. If i change the developerToken or customerId parameter I get the same error. So apparently those are wrong.
The developer token I got from the Google ads manager account > TOOLS> API center. Access level for this developer token is "Test account" The customer Id I got from Google ads manager account > SETTINGS & BILLING > ACCOUNT > Access & Security. The number under the manager account which is formatted as follows: xxx-xxx-xxxx. To connect to https://googleads.googleapis.com/v5/customers/xxxxxx xxxx/googleAds:searchStream the minus symbol is removed from the customer id. Op dinsdag 6 oktober 2020 om 12:16:31 UTC+2 schreef Thijs: > The *Reply privately to author* is disabled, i do not have sufficient > rights for some reason. > > Just to make sure. In our Google Ads Manager Account there is no option > Tools icon > Account access > Users. I can find my user details under > SETTINGS & BILLING > ACCOUNT > Access & Security. I use the user listed > here to login to the Google Api Console. I created a new service account > just to make sure. I get the exact same error. > > Kind regards, > Thijs > > Op dinsdag 6 oktober 2020 om 06:10:48 UTC+2 schreef adsapiforumadvisor: > >> Hi Thijs, >> >> I had to delete your previous response and repost it below : >> >> >> >> >> >> >> >> >> *"Hi Peter thanks for replying. I checked this and I am using the >> correct e-mail account address for as far as I can tell. The (service >> account) e-mail address I use to generate the access token is listed under >> credentials compatible with this API (in Google Ads Api). The email address >> itself looks something like this: "XXXXXX". BTW The way I generate the >> accessToken is exactly the same as I do for accessing the analytics Api >> which uses the same service account and does work. So I still need some >> help. Kind regards Thijs"* >> >> This is because any form of account related email or information is a >> potential security risk when exposed publicly. >> >> Moving forward, the @developer.gserviceaccount.com user that you used >> may not be the correct user to be logged in to when generating your service >> account credentials. >> >> Could you try and go to the *Tools icon > Account access > USERS* view >> of your Google Ads account and login to the Google API console >> <https://console.developers.google.com/apis/credentials> as one of the >> users listed in the said view? Once in the Google API console, you may >> retry generating the service account >> <https://developers.google.com/google-ads/api/docs/oauth/service-accounts> >> credentials. Should the issue persist, you may provide the user (email >> address) that you were logged in to so our team can investigate. >> >> Please note that when you send your user or email address, you may use >> the *Reply privately to author* option. >> >> >> Best regards, >> >> [image: Google Logo] >> Peter Laurence Napa Oliquino >> Google Ads API Team >> >> >> ref:_00D1U1174p._5004Q25Z2u8:ref >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "AdWords API and Google Ads 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/906ec6de-c529-4061-b248-4c8d27ecddb9n%40googlegroups.com.
