Hi Aryeh, Along these lines, if we have a software product that is connected to our developer token and our Manager account, how do we allow other Google Ads accounts (these may be Manager accounts) to connect to our product without requiring them to create their own Developer token?
On Monday, January 31, 2022 at 11:49:08 AM UTC-6 adsapi wrote: > Hi Lukas, > > One developer token can be used by many GCP projects concurrently, you can > just create a new GCP project set up for your Workspace and using the same > developer token. The only restriction is each Google API Console project > can be associated with the developer token from 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 switching to a > developer token under a new manager account, you'll need to create a new > Google API Console project > <https://developers.google.com/google-ads/api/docs/first-call/oauth-cloud-project> > for > Google Ads API requests that use the new manager's token. If you do not use > a new Google API Console project, you'll get a DEVELOPER_TOKEN_PROHIBITED > error > when making a request. > > Also, Workspace accounts are used by service account access to the API > <https://developers.google.com/google-ads/api/docs/oauth/service-accounts?hl=en>. > > Note that we strongly recommend using OAuth2 desktop app or web app flow > <https://developers.google.com/google-ads/api/docs/oauth/cloud-project#choose_an_application_type> > instead > of service accounts *unless you need a domain-specific feature* (for > example, impersonation). OAuth2 desktop app and web app flows do require an > initial user interaction for granting access to the account, but are much > simpler to set up. > > For the OAuth2 desktop app flow > <https://developers.google.com/google-ads/api/docs/oauth/cloud-project#desktop>, > > you can persist a refresh token (which never expires) to obtain a new > access token whenever necessary. When using one of our client libraries > <https://developers.google.com/google-ads/api/docs/oauth/client-library>, > you can authorize your app by filling out a configuration file. > > Regards, > > [image: Google Logo] > Aryeh Baker > Google Ads API Team > > > ref:_00D1U1174p._5004Q2W2q00: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 "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/0eefd61e-edb4-40ec-b54e-a97cbbea065an%40googlegroups.com.
