hi Google

*Request*:
{
  "method": "GET",
  "url": "
https://content-googleads.googleapis.com/v15/customers:listAccessibleCustomers
",
  "*headers*": {
    "Content-Type": "application/json",
    "Authorization": "Bearer
ya29.c.c0AY_VpZiHAY0Ci86wMh_-lHPCYm0eKGjjx41O9rDOqD2jpK4AUCYMXKppaux9o3lQQRAO_d0QP8aOOhJfhTRF2YTvAYOtkgilMdPM0DXxYJGAv5qFyuUoCIroEVs8wbsrjORs8biU562VdenW5CHUvwAdepM6RnbsFwT-qRorRfihDpw0lAnz6fOAS2Ji-iRbdQJXgqre4l2o9GRTeWbsk4rWl79L1nYjaLWAPfyUhvNIt3lx5mdudK1z-iQP4YBh-m6-qvFrZ3NBeotxz0gqelN7UVh5Bz-U237pSBlOShE45iFnq8agBAeMncTTGKhn0SLb-tS_0ZolHRH_X3qusaO3m7gOB-iJU6Zq9sJUksFnIDQkxCQZ4G0RG385D5ngXV4QgM7J_e-Y1sVuMsucf5zrz2kjvcJ0WOSuRvwVcpzniRm052R6gUjifrX4wuqI6YWln73qmpIryO3Q3yO2kwqZBhRhrgezonWpgS-16655bonRitbpoVdgfhbjjmI3RB_z85VyXey4jgkzuYSbf140Xpy1qk6bIlfe6zslrhBUI_zJSMXFzFOlMZ-ojg46Q6_Qx_ve7h9XSiZ3c_uJ0anQ9qISe9nV6RnS1zqaqj0sx8O-o3yy9R7cJkk5ofpUReb867hlflBeUia7awuRWs257trIck6f7aOSSUOWz1xMniQWlSYM81VslY1mp7RvFmB5SVQFYd2So5u9ubUmkcrk8JVgUW3dscF9_Fi09o1n845Xe_pq_BysbxJtsaXhx_XQQUw7FhO1UVVIfeQX-3hRpppXwjVwZvZarz5JlchvJrqZt4fQ-S4hIm9U5Vn6OSyh2vZbyn_ybxZIllcXxjF6qgcjk5nnMSJUVm1dxQz7oo6-McsJq34SJhMkamthgdQnmU5OUXmuhqtkcU07ebnwFcbw9jjFFwzvfrl5__nwu64q-qZ0Fzmd85e4gUS2ZsrflJ46YeUz7S3pmeF0oY3YBt07t5W9smXIrnatWmd88F7yXzcnjQV",
    "developer-token": "kVSIQxhoKnITOu3ruisJdQ"
  }
}

*Response* :

{
  "error": {
    "code": 401,
    "message": "Request is missing required authentication credential.
Expected OAuth 2 access token, login cookie or other valid authentication
credential. See
https://developers.google.com/identity/sign-in/web/devconsole-project.";,
    "status": "UNAUTHENTICATED",
    "details": [
      {
        "@type": "
type.googleapis.com/google.ads.googleads.v15.errors.GoogleAdsFailure",
        "errors": [
          {
            "errorCode": {
              "authenticationError": "NOT_ADS_USER"
            },
            "message": "The Google account (@gmail.com user) that generated
the OAuth access tokens is not associated with any Ads accounts. Create a
new account, or add the Google account to an existing Ads account."
          }
        ],
        "requestId": "Us0U6QyTQLeHArwt86exvQ"
      }
    ]
  }
}

*Request-ID : "Us0U6QyTQLeHArwt86exvQ"*

On Thu, 4 Jan 2024 at 10:24, Mehul Panchal <mehul.panc...@jambojar-tech.com>
wrote:

> Hi Google,
>
> Here is my request response, requestid and headers
> *Request : *
> {
>   "method": "GET",
>   "url": "
> https://content-googleads.googleapis.com/v15/customers:listAccessibleCustomers
> ",
>   "headers": {
>     "Content-Type": "application/json",
>     "Authorization": "Bearer
> ya29.c.c0AY_VpZiHAY0Ci86wMh_-lHPCYm0eKGjjx41O9rDOqD2jpK4AUCYMXKppaux9o3lQQRAO_d0QP8aOOhJfhTRF2YTvAYOtkgilMdPM0DXxYJGAv5qFyuUoCIroEVs8wbsrjORs8biU562VdenW5CHUvwAdepM6RnbsFwT-qRorRfihDpw0lAnz6fOAS2Ji-iRbdQJXgqre4l2o9GRTeWbsk4rWl79L1nYjaLWAPfyUhvNIt3lx5mdudK1z-iQP4YBh-m6-qvFrZ3NBeotxz0gqelN7UVh5Bz-U237pSBlOShE45iFnq8agBAeMncTTGKhn0SLb-tS_0ZolHRH_X3qusaO3m7gOB-iJU6Zq9sJUksFnIDQkxCQZ4G0RG385D5ngXV4QgM7J_e-Y1sVuMsucf5zrz2kjvcJ0WOSuRvwVcpzniRm052R6gUjifrX4wuqI6YWln73qmpIryO3Q3yO2kwqZBhRhrgezonWpgS-16655bonRitbpoVdgfhbjjmI3RB_z85VyXey4jgkzuYSbf140Xpy1qk6bIlfe6zslrhBUI_zJSMXFzFOlMZ-ojg46Q6_Qx_ve7h9XSiZ3c_uJ0anQ9qISe9nV6RnS1zqaqj0sx8O-o3yy9R7cJkk5ofpUReb867hlflBeUia7awuRWs257trIck6f7aOSSUOWz1xMniQWlSYM81VslY1mp7RvFmB5SVQFYd2So5u9ubUmkcrk8JVgUW3dscF9_Fi09o1n845Xe_pq_BysbxJtsaXhx_XQQUw7FhO1UVVIfeQX-3hRpppXwjVwZvZarz5JlchvJrqZt4fQ-S4hIm9U5Vn6OSyh2vZbyn_ybxZIllcXxjF6qgcjk5nnMSJUVm1dxQz7oo6-McsJq34SJhMkamthgdQnmU5OUXmuhqtkcU07ebnwFcbw9jjFFwzvfrl5__nwu64q-qZ0Fzmd85e4gUS2ZsrflJ46YeUz7S3pmeF0oY3YBt07t5W9smXIrnatWmd88F7yXzcnjQV",
>     "developer-token": "kVSIQxhoKnITOu3ruisJdQ"
>   }
> }
>
> Response:
>
>
>
> On Wed, 3 Jan 2024 at 16:44, Google Ads API Forum Advisor
> <adsapi@forumsupport.google> wrote:
>
>> Hi,
>>
>> Thank you for getting back to us.
>>
>> By reviewing your query, I understand that you are getting the error
>> "UNAUTHENTICATED". Can you confirm if you have followed all the
>> connectivity steps? For your reference, you may check on the Ensuring
>> connectivity
>> <https://developers.google.com/google-ads/api/docs/best-practices/troubleshooting>
>>  guide.
>>
>> If the issue still persists, kindly provide us with the updated complete
>> API logs (request
>> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>>  and response
>> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>>  with request-id
>> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>>  and request header
>> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>)
>> generated at your end to better assist you on this request.
>>
>> If you are using a client library and haven't enabled the logging yet, I
>> would request you to enable logging for the specific client library that
>> you are using. You can refer to the guides *Java*
>> <https://developers.google.com/google-ads/api/docs/client-libs/java/logging>
>> , *.Net*
>> <https://developers.google.com/google-ads/api/docs/client-libs/dotnet/logging>
>> , *PHP*
>> <https://developers.google.com/google-ads/api/docs/client-libs/php/logging>
>> , *Python*
>> <https://developers.google.com/google-ads/api/docs/client-libs/python/logging>
>> , *Ruby*
>> <https://developers.google.com/google-ads/api/docs/client-libs/ruby/logging>
>>  or *Perl*
>> <https://developers.google.com/google-ads/api/docs/client-libs/perl/logging> 
>> to
>> enable logging at your end. For REST interface requests, you can enable
>> logging via the curl command by using the -i flag.
>>
>> You can send the details via *Reply privately to the author option*, or 
>> *direct
>> private reply* to this email.
>>
>> This message is in relation to case "ref:!00D1U01174p.!5004Q02r4kZ4:ref"
>>
>> Thanks,
>>
>> [image: Google Logo] Google Ads API Team
>>
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CALswdxdO%3DDA%2BaU7P_bU7FmgPNRvQdej1v5rkB9JwsDyg92rRvA%40mail.gmail.com.
  • Go... Mehul Panchal
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Mehul Panchal
        • ... Mehul Panchal
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
            • ... Mehul Panchal
              • ... Mehul Panchal
                • ... Mehul Panchal
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to