Hello Google Ads API,

Sorry for sending multiple messages 
I don't have experience with this forum.

To reformulate the problem. I will be grateful if you can answer the below 
questions so I can better understand what to do.

I have a similar problem.  I'm working on migrating from Adwords API to 
Google Ads API.
I tried to make requests for Google Ads API with the developer token we 
used for AdwordsAPI but I received "the caller does not have permission". 
So we needed to update terms from the api center from the manager account 
but only the CEO  had access to this account and he didn't know which one 
is it.

In the meantime we used a different account (we thought that this is the 
correct account because it was a manager account but it wasn't) and I 
created a test developer token with this account to make tests until the 
CEO finds the manager account and accepts the terms.
Yesterday he found the account and accepted the terms and I tried to use 
that developer token again (the one we are still using for Adwords API) and 
I received this error "DEVELOPER_TOKEN_PROHIBITED".

The strange thing is that Adwords API is still working with the old 
developer token but google ads api doesn't.
So the test dev token somehow became associated with the production 
project? Not sure how because the first tests for google ads api were made 
using the prod dev token but at that time I had the first error I mentioned 
"the caller does not have permission".
Production project with clientId and clientSecret is on another account 
than the one were we have the old dev token used for AdwordsAPi and the 
test dev token I created recently.

We have a lot of users already connected and I would like some solutions 
that will not require all of our clients to reconnect again.
We have refresh token per client (each client has his refresh token). 

1) Can we transfer the token or another solution? I don't think it matters 
for us which token we use as long as the users remains connected.
2) Or can we just transfer the test token to a production token and we will 
not require to ask the client to reconnect again?
3) If we create another project with different clientId and secret, we will 
need to ask our clients to reconnect again?
4) Why the developer token is still working for AdwordsAPI but for Google 
Ads API doesn't?
5) Which solution doesn't require our clients to reconnect again?

Best Regards,
Titus

On Tuesday, April 12, 2022 at 9:38:01 PM UTC+3 adsapi wrote:

> Hello Titus,
>
> Thanks for reaching out to the Google Ads API Forum.
>
> The DEVELOPER_TOKEN_PROHIBITED 
> <https://developers.google.com/google-ads/api/docs/best-practices/common-errors?hl=en#developer_token_prohibited>
>  
> error indicates that you have used another Developer Token to make API 
> calls. Kindly note that each Google API Console project can be associated 
> with the developer token for only one manager account. Once you make a 
> Google Ads API request, the developer token is permanently paired to the 
> Google API Console project. If you do not use the new Google API Console 
> project, you'll get a DEVELOPER_TOKEN_PROHIBITED error when making a 
> request.
>
> The solution is to create a new Google Cloud Project ID and generate new 
> OAuth2 credentials under the new Project. Then you could make API calls 
> with the new OAuth2 credentials and the Developer Token. Let us know if you 
> have any further questions.
>
> Best Regards,
> [image: Google Logo] 
> Jakeia Sabrina 
> Google Ads API Team  
>
> ref:_00D1U1174p._5004Q2a2LPV: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 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/faa094e3-3d8a-498e-bad5-2c1a1952e36fn%40googlegroups.com.

Reply via email to