Hello,

we have received mail that we use a deprecated  *OAuth out-of-band (OOB) 
flow* for oauth. We have migrated to the new google ads api for all calls, 
but still rely on old code for create a Credential object for use with 
getting access tokens to use in LOCATION feeds in google ads.

Namely:

    com.google.api.client.auth.oauth2.Credential credential = 
        new com.google.api.ads.common.lib.auth.OfflineCredentials.Builder()
          .forApi(OfflineCredentials.Api.ADWORDS)
          .withRefreshToken(adwordsRefreshToken)
          .withClientSecrets(adwordsClientId,adwordsClientSecret)
          .build()
          .generateCredential()

I suppose that code led to the mail. 

Is there a drop in replacement?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/01d5c9c1-fc9a-4ddc-80da-d4794f478ff4n%40googlegroups.com.
  • co... FW API
    • ... FW API
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to