Re: Accessing access token from Ads client instance

2021-08-23 Thread Google Ads API Forum Advisor
Hi Po-Yu, When using client libraries such as Ruby, initially, you will need to retrieve your credentials (client ID, client Secret) from the Google API Console, before you can specify them into the client library's properties file. Since you also mentioned that you already have a refresh token

Re: Accessing access token from Ads client instance

2021-08-19 Thread Po-Yu Hsieh
Hi, What about the case when I already have refresh token? I want the auth+download process be fully automated and avoid touching the browser. adsapi 在 2021年8月20日 星期五上午1:44:03 [UTC+8] 的信中寫道: > Hi, > > Please refer to the Ruby samples in the link: > https://developers.google.com/google-ads/ap

RE: Accessing access token from Ads client instance

2021-08-19 Thread Google Ads API Forum Advisor
Hi, Please refer to the Ruby samples in the link: https://developers.google.com/google-ads/api/docs/samples/authenticate-in-desktop-application?hl=en#ruby Let me know if you have any further questions. Thanks, Lakshmi Prathipati Google Ads API Team ref:_00D1U1174p._5004Q2Lod3d:ref -- -- =~=

Accessing access token from Ads client instance

2021-08-19 Thread Po-Yu Hsieh
Hi, I'm trying to download invoice PDF from URL retrieved by API call with the instruction below: https://developers.google.com/google-ads/api/docs/billing/invoice#pdf Making the HTML request requires access token for Google Ads service. >From how the authentication works, access token sh