Re: Developer Token and Google Console

2022-12-06 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Illarion,

Thank you for your response.

So that I can raise this to the rest of our API support team and to inquire if 
it's possible to look up which GCP projects are associated to your developer 
token, could you then share the MCC / manager account ID where your developer 
token is associated to?

When sending this information, you may do so via the Reply privately to author 
option. If this option is not available, you may send the details directly to 
our googleadsapi-supp...@google.com alias instead.

Best regards,

Peter Laurence
Google Ads API Team
ref:_00D1U1174p._5004Q2ghQEg: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/91gmD0RMHHWR00qjhyoQueSAWK1QMvb_gjRQ%40sfdc.net.


Re: Developer Token and Google Console

2022-12-06 Thread 'Illarion Oralin' via Google Ads API and AdWords API Forum
Hi Peter,
Thank you,  list accessible accounts 

 didn't 
contain our needed MCC account with dev token but we managed to find it 
manually.

Now we want to check what GCP projects are paired with this MCC account (or 
its dev token) to inform all its users before the rotation.
Is it possible to contact your team 1:1 so we can provide the information 
about this MCC for you to check what GCP projects are paired to its token?

On Thursday, December 1, 2022 at 4:22:47 PM UTC+1 adsapi wrote:

> Hi Illarion,
>
> Thank you for your questions. You may refer to my responses below :
>
>
>
>
> *1. Articles on Google Ads API state that "Once a Google Cloud project is 
> used with a developer token, it is bound to that token and can't be used by 
> another." (source 
> )
>  
> and  "Once you make a Google Ads API request, the developer token 
> is permanently paired to the Google API Console project. " (source 
> )
>  
> Does it mean that if I reset my developer token (like described here 
> )
>  
> for the Ads Manager account that I used to get a developer token then I 
> would not be able to use the new token (or any other from other accounts) 
> with my current Google API Console project?*
>
> As per this section 
> 
>  
> of the developer token reset guide, it only explicitly states that the old 
> token can no longer be used. This indicates that the new token (that 
> belongs still to the same MCC account) can be used with your existing 
> Google Cloud Project's credentials, and also states that "*You can start 
> using the new developer token immediately.*".
>
>
> *2. If I have access to the Google Console project (with all credentials 
> to make Ads API calls) and a developer token from an Ads account (but don't 
> know which one exactly) that is currently paired with this Console project 
> - is it possible to figure out which of the Ads accounts was used to create 
> this developer token?*
>
> It is currently not possible via the API to directly retrieve the MCC 
> account details where the developer token is associated to. However, via 
> the list accessible accounts 
> 
>  
> feature, you should be able to retrieve the accounts that your OAuth2 
> credentials has direct access to : 
>
>- *The request returns a list of all accounts that you are able to act 
>upon directly given your current credentials.* 
>
> From the results, you can then check if a MCC account is returned and 
> login to that account (if you have access), then check its *TOOLS & 
> SETTINGS > SETUP > API Center* to verify if the developer token exists in 
> that MCC account's API Center.
>
> Let me know if this helps.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2ghQEg: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/aacaf385-25eb-47ac-9af6-6588da182a59n%40googlegroups.com.


RE: Developer Token and Google Console

2022-12-01 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Illarion,

Thank you for your questions. You may refer to my responses below :

1. Articles on Google Ads API state that "Once a Google Cloud project is used 
with a developer token, it is bound to that token and can't be used by 
another." (source) and  "Once you make a Google Ads API request, the developer 
token is permanently paired to the Google API Console project. " (source)

Does it mean that if I reset my developer token (like described here) for the 
Ads Manager account that I used to get a developer token then I would not be 
able to use the new token (or any other from other accounts) with my current 
Google API Console project?

As per this section of the developer token reset guide, it only explicitly 
states that the old token can no longer be used. This indicates that the new 
token (that belongs still to the same MCC account) can be used with your 
existing Google Cloud Project's credentials, and also states that "You can 
start using the new developer token immediately.".

2. If I have access to the Google Console project (with all credentials to make 
Ads API calls) and a developer token from an Ads account (but don't know which 
one exactly) that is currently paired with this Console project - is it 
possible to figure out which of the Ads accounts was used to create this 
developer token?

It is currently not possible via the API to directly retrieve the MCC account 
details where the developer token is associated to. However, via the list 
accessible accounts feature, you should be able to retrieve the accounts that 
your OAuth2 credentials has direct access to :

The request returns a list of all accounts that you are able to act upon 
directly given your current credentials.

>From the results, you can then check if a MCC account is returned and login to 
>that account (if you have access), then check its TOOLS & SETTINGS > SETUP > 
>API Center to verify if the developer token exists in that MCC account's API 
>Center.

Let me know if this helps.

Best regards,

Peter Laurence
Google Ads API Team
ref:_00D1U1174p._5004Q2ghQEg: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/cS6f60RM7XDG00EfhgnEFxQyuanEDBEiJWPg%40sfdc.net.