RE: refresh token issue

2021-01-19 Thread Google Ads API Forum Advisor Prod
Hi,

Thanks for posting your concern.

Based on this document, a refresh token will indeed expired in 7 days if issued 
by a Google Cloud Platform project with an OAuth consent screen configured for 
an external user type and a publishing status of "Testing".

However, I am afraid that refresh token related concerns are outside of our 
expertise already. With this, I would suggest posting your question here to get 
support from the team that is more equipped to provide support to this question.

Regards,

Ernie John Blanca Tacata
Google Ads API Team
ref:_00D1U1174p._5004Q2B1YT5: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 
"AdWords API and Google Ads 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/r7pf70QN7RI100D6npHDkySa6y0zbJtCz86g%40sfdc.net.


Re: refresh token issue

2021-01-20 Thread INI GlobalOps
Thank you the link to get support went to a list of stack overflow 
questions - is that correct?

On Tuesday, January 19, 2021 at 10:39:55 PM UTC-5 adsapiforumadvisor wrote:

> Hi,
>
> Thanks for posting your concern.
>
> Based on this document 
> , 
> a refresh token will indeed expired in 7 days if issued by a Google Cloud 
> Platform project with an OAuth consent screen configured for an external 
> user type and a publishing status of "Testing".
>
> However, I am afraid that refresh token related concerns are outside of 
> our expertise already. With this, I would suggest posting your question 
> here  to get 
> support from the team that is more equipped to provide support to this 
> question.
>
> Regards,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2B1YT5: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 
"AdWords API and Google Ads 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/bc6cc045-a7c3-4527-9ee7-543f2abbc8b8n%40googlegroups.com.


Re: refresh token issue

2021-01-20 Thread Google Ads API Forum Advisor Prod
Hi,

Yes, the navigation to the API console support should start here, you should 
then find the Stack Overflow google-api tag link which you can also use to 
reach out to the community.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2B1YT5: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 
"AdWords API and Google Ads 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/__okh0QN9RSY00akdfdcbhRQSXUOILCLyX7A%40sfdc.net.


Re: Refresh Token issue

2023-04-17 Thread google-api-tester
getting hung at 
https://github.com/googleads/google-ads-php/blob/af5bbaf010eca772cebdf0a56581adac8137f1f9/examples/Authentication/GenerateUserCredentials.php#L74

On Monday, 17 April 2023 at 19:35:27 UTC+5:30 google-api-tester wrote:

> Team,
>
> Please continue from here.
> https://github.com/googleads/google-ads-php/issues/894
>
> Infinite run of GenerateUserCredentials 
> 
> .php
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/623377cd-5618-4269-ad7a-55ffe5863b40n%40googlegroups.com.


Re: refresh token issue

2023-04-17 Thread google-api-tester
As I mentioned earlier,

- getting hung at 
https://github.com/googleads/google-ads-php/blob/af5bbaf010eca772cebdf0a56581adac8137f1f9/examples/Authentication/GenerateUserCredentials.php#L74
- No logs generated for  GenerateUserCredentials 


probably issue is with Windows

On Monday, 17 April 2023 at 23:51:11 UTC+5:30 Google Ads API Forum Advisor 
wrote:

> Hi,
>
> Thank you for reaching out to Google Ads API Forum.
>
> Moving forward with your concern, in order for us to investigate further, 
> can you provide us the complete API logs (*request* and *response* logs 
> with the *request-id*) generated on your end when you encountered the 
> issue? This is so we can also check on our end as well and investigate 
> further.
>
> For the PHP client library, logging can be enabled by following the *PHP 
> Logging* guide.You can provide it via the Reply privately to author 
> option. If this option is not available, then send it instead on this email 
> address googleadsa...@google.com .
>
> Reference links included in this email:
>
>- request: 
>
> *https://developers.google.com/google-ads/api/docs/concepts/field-service?hl=en#request*
>  
>
> 
>  
>- response: 
>
> *https://developers.google.com/google-ads/api/docs/concepts/field-service?hl=en#response*
>  
>
> 
>  
>- request-id: 
>
> *https://developers.google.com/google-ads/api/docs/concepts/call-structure?hl=en#request-id*
>  
>
> 
>  
>- PHP Logging: 
>
> *https://developers.google.com/google-ads/api/docs/client-libs/php/logging* 
>
>  
>
> Regards,
> [image: Google Logo] Google Ads API Team 
>
> ref:_00D1U1174p._5004Q2kWN9e: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/7dafb25b-d181-4175-9d8b-5b4fce97be46n%40googlegroups.com.


Re: refresh token issue

2023-04-18 Thread Chillar Admin
Update:

Now generated refresh token using

but getting the below error, trying OAuth consent screen with test user only

[2023-04-18T08:31:24.602255+02:00] google-ads.WARNING: Request made: Host: "
googleads.googleapis.com", Method:
"/google.ads.googleads.v13.services.GoogleAdsService/SearchStream",
CustomerId: 1012152333, RequestId: "SlpcHJj4FGbR6fDnb_4QTA", IsFault: 1,
FaultMessage: "["The developer token is only approved for use with test
accounts. To access non-test accounts, apply for Basic or Standard access.
"]"
[2023-04-18T08:31:24.603980+02:00] google-ads.NOTICE: Request
---
Method Name: /google.ads.googleads.v13.services
.GoogleAdsService/SearchStream
Host: googleads.googleapis.com
Headers: {
"x-goog-api-client": "gl-php\/7.4.29 gccl\/19.0.0 gapic\/19.0.0
gax\/1.19.1 grpc\/1.43.0 rest\/1.19.1 pb\/+n",
"x-goog-request-params": "customer_id=1012152333",
"developer-token": "REDACTED"
}
Request:
{"customerId":"1012152333","query":"SELECT campaign.id, campaign.name FROM
campaign ORDER BY campaign.id"}

Response
---
Headers: {
"request-id": "SlpcHJj4FGbR6fDnb_4QTA",
"date": "Tue, 18 Apr 2023 06:31:24 GMT",
"alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
}

Fault
---
Status code: 7
Details: The caller does not have permission
Failure: {"errors":[{"errorCode":{"authorizationError":
"DEVELOPER_TOKEN_NOT_APPROVED"},"message":"The developer token is only
approved for use with test accounts. To access non-test accounts, apply for
Basic or Standard access."}],"requestId":"SlpcHJj4FGbR6fDnb_4QTA"}


On Tue, 18 Apr 2023 at 11:17, google-api-tester <
chillartech.prim...@gmail.com> wrote:

> As I mentioned earlier,
>
> - getting hung at
> https://github.com/googleads/google-ads-php/blob/af5bbaf010eca772cebdf0a56581adac8137f1f9/examples/Authentication/GenerateUserCredentials.php#L74
> - No logs generated for  GenerateUserCredentials
> 
>
> probably issue is with Windows
>
> On Monday, 17 April 2023 at 23:51:11 UTC+5:30 Google Ads API Forum Advisor
> wrote:
>
>> Hi,
>>
>> Thank you for reaching out to Google Ads API Forum.
>>
>> Moving forward with your concern, in order for us to investigate further,
>> can you provide us the complete API logs (*request* and *response* logs
>> with the *request-id*) generated on your end when you encountered the
>> issue? This is so we can also check on our end as well and investigate
>> further.
>>
>> For the PHP client library, logging can be enabled by following the *PHP
>> Logging* guide.You can provide it via the Reply privately to author
>> option. If this option is not available, then send it instead on this email
>> address googleadsa...@google.com .
>>
>> Reference links included in this email:
>>
>>- request:
>>
>> *https://developers.google.com/google-ads/api/docs/concepts/field-service?hl=en#request*
>>
>> 
>>- response:
>>
>> *https://developers.google.com/google-ads/api/docs/concepts/field-service?hl=en#response*
>>
>> 
>>- request-id:
>>
>> *https://developers.google.com/google-ads/api/docs/concepts/call-structure?hl=en#request-id*
>>
>> 
>>- PHP Logging:
>>
>> *https://developers.google.com/google-ads/api/docs/client-libs/php/logging*
>>
>> 
>>
>> Regards,
>> [image: Google Logo] Google Ads API Team
>>
>> ref:_00D1U1174p._5004Q2kWN9e: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/7dafb25b-d181-4175-9d8b-5b4fce97be46n%40googlegroups.com
> 
> .
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also f

Re: refresh token issue

2023-04-18 Thread Chillar Admin
Team,

Logs are already attached with requestId.
Can you pls help me with which kind of logs you need to debug further.

On Mon, 17 Apr 2023 at 23:50, Google Ads API Forum Advisor
 wrote:

> Hi,
>
> Thank you for reaching out to Google Ads API Forum.
>
> Moving forward with your concern, in order for us to investigate further,
> can you provide us the complete API logs (*request* and *response* logs
> with the *request-id*) generated on your end when you encountered the
> issue? This is so we can also check on our end as well and investigate
> further.
>
> For the PHP client library, logging can be enabled by following the *PHP
> Logging* guide.You can provide it via the Reply privately to author
> option. If this option is not available, then send it instead on this email
> address googleadsapi-supp...@google.com .
>
> Reference links included in this email:
>
>- request:
>
> *https://developers.google.com/google-ads/api/docs/concepts/field-service?hl=en#request*
>
> 
>- response:
>
> *https://developers.google.com/google-ads/api/docs/concepts/field-service?hl=en#response*
>
> 
>- request-id:
>
> *https://developers.google.com/google-ads/api/docs/concepts/call-structure?hl=en#request-id*
>
> 
>- PHP Logging:
>*https://developers.google.com/google-ads/api/docs/client-libs/php/logging*
>
>
> Regards,
> [image: Google Logo] Google Ads API Team
>
> ref:_00D1U1174p._5004Q2kWN9e: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/CAGy%2BXrBb4NdU-8ooBm48yQXF9tkRBxKO9tFp9oN6t636EP%2B-Zw%40mail.gmail.com.


Re: refresh token issue

2023-04-19 Thread Chillar Admin
Thanks for the deletion of logs, I already changed the refresh token after
posting.

Problem is I am trying with test account only. Want to test first and then
possibly we moved to better access

On Wed, 19 Apr 2023 at 16:38, Google Ads API Forum Advisor
 wrote:

> Hi,
>
> Thank you for getting back to us.
>
> I understand your concern and upon checking, the error that you are
> encountering is related to Developer Token. As mentioned earlier in this
> thread, "*This error means that the developer token is only approved for
> use with test accounts. To access non-test accounts, apply for Basic or
> Standard access. Upon checking the CID shown in your request which is the
> 1012152333, it appears that the account has only a test access. With this,
> we would recommend applying for Basic or Standard access by referring to
> this guide: *
> *https://developers.google.com/google-ads/api/docs/access-levels#basic_access*
> 
> *."*
>
> In addition, I would like to inform you that I had to delete your post
> since complete logs were posted on the forum. For reference, you may refer
> to the below URL as a sample of redacted sensitive information:
>
> URL was:
> https://googleads.googleapis.com/v13/customers/X/assets:mutate
>
> I hope this helps.
>
> Kind regards,
> [image: Google Logo] Google Ads API Team
>
> ref:_00D1U1174p._5004Q2kWN9e: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/CAGy%2BXrCeRhMKMaY%2B_oADAwxaofmArjQC%3DaFSAFQhuBVGWh6WQw%40mail.gmail.com.


Re: Refresh Token Issue -

2022-07-14 Thread dimas ilham
add some words, google AdWords is deprecated you can't use it anymore, move 
to google ads documentation here 
https://developers.google.com/google-ads/api/docs/client-libs/python or 
Github on here https://github.com/googleads/google-ads-python/blob/main

Pada Jumat, 15 Juli 2022 pukul 11.48.40 UTC+7 dimas ilham menulis:

> Hi, trying to help out.
>
> 1. you can use a web application for example if you just use google ads 
> for your website.
>
> 2. I'm seeing u using python, you can just watch this for example 
> https://www.youtube.com/watch?v=9Kf7P3Qq5bY&t=189s
>
> Pada Kamis, 14 Juli 2022 pukul 05.52.27 UTC+7 sree...@easyknock.com 
> menulis:
>
>> Hi All,
>>
>> I'm using this API (Sample Code)
>>  
>> https://developers.google.com/google-ads/api/docs/samples/upload-offline-conversion
>> to upload Conversion Data to Google Ads
>>
>> As per this Document -
>> 1) I need to generate Client id and Client Secret.
>>  I'm not sure what should be the type "Web Application " or "Desktop" 
>> ?
>>  
>>   2)  Secondly I need to generate refresh token and for this I came 
>> across this Code base - 
>> 
>> https://github.com/googleads/googleads-python-lib/wiki/API-access-using-own-credentials-(installed-application-flow)
>>
>>  3) so here is what I did, I generated the Client Id and Client Secret 
>> with Type "Desktop App" and I used this Client Id and Client Secret to 
>> Generate the Refresh Token By executing this code - 
>> https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/authentication/generate_refresh_token.py
>>
>> Log into the Google Account you use to access your AdWords account and go 
>> to the following URL:
>>
>> It returns an URL and when I click on that URL, this is the error, I am 
>> getting
>>
>> """
>> Authorization Error
>> Error 400: invalid_request
>>
>> You can't sign in to this app because it doesn't comply with Google's 
>> OAuth 2.0 policy for keeping apps secure.
>>
>> You can let the app developer know that this app doesn't comply with one 
>> or more Google validation rules
>> """
>>
>> Please see the attached screenshot.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b6319aef-d1e7-45bb-9141-cffefddd64d0n%40googlegroups.com.


RE: Refresh Token Issue -

2022-07-15 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi All,

You have reached Google Ads API Forum.

Thank you for suggesting the possible solution to this concern, I can validate 
that the flow of the authentication is correct. In addition, it appears that 
the error occurred because you haven't followed the Oauth verification process. 
With this, I suggest that you follow the instruction below:

How to verify: OAuth API verification FAQs - Google Cloud Platform Console Help
General information: Unverified apps - Google Cloud Platform Console Help

Best regards,

Jinky
Google Ads API Team
ref:_00D1U1174p._5004Q2cWMEi: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/j-AMI0RF28YJ00iidsuzahQvWVdvMcIJJARw%40sfdc.net.