Replied to all, so others can see my solution
 
Enabling logging showed me the problem.
Code:
    // Detailed logs.
    TraceUtilities.Configure(TraceUtilities.DETAILED_REQUEST_LOGS_SOURCE,
        "D:\\temp\\Google\\detail.log", 
System.Diagnostics.SourceLevels.All);

    // Summary logs.
    TraceUtilities.Configure(TraceUtilities.SUMMARY_REQUEST_LOGS_SOURCE,
        "D:\\temp\\Google\\summary.log", 
System.Diagnostics.SourceLevels.All);

Log result:
"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."
      }

I applied for basic access two weeks ago, but haven't heard anything. No 
accept or decline message. 
I looked it up and it should take about three business days... So.. I don't 
know why It's been this long.

I applied again, so hopefully it will be approved soon.


On Friday, June 30, 2023 at 5:30:06 PM UTC+2 Google Ads API Forum Advisor 
wrote:

> Hi Henrik,
>
> Thank you for reaching out to Google Ads API Forum.
>
> With regards to your concern, could you provide us with the complete logs 
> generated on your end showing the error in this format (*request *and 
> *response* logs with *request id *and *request header)? *This is so we 
> could provide more appropriate guidance. 
>
> If you haven't enabled logging yet, it can be enabled by navigating to the 
> Client libraries > Your client library (ex. Java) > *Logging 
> documentation*, which you can access from the link below. 
>
> You may then send the requested information privately via the Reply to 
> author option. If this option is not available, you may send the details 
> directly to our googleadsa...@google.com alias instead.
>
> *Reference links:*
>
>    - *Logging documentation* - 
>    
> *https://developers.google.com/google-ads/api/docs/best-practices/logging#client_library_logging*
>  
>    
> <https://developers.google.com/google-ads/api/docs/best-practices/logging#client_library_logging>
>  
>    - *request* - 
>    
> *https://developers.google.com/google-ads/api/docs/concepts/field-service#request*
>  
>    
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>  
>    - *response* - 
>    
> *https://developers.google.com/google-ads/api/docs/concepts/field-service#response*
>  
>    
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>  
>    - *request ID *- 
>    
> *https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id*
>  
>    
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>  
>    - *request header *- 
>    
> *https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers*
>  
>    
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>
>  
>
> This message is in relation to case "ref:_00D1U1174p._5004Q2mpeMv: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/404b2d7e-a7dd-4843-b68d-47de3fc5c1c2n%40googlegroups.com.
  • RE... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
    • ... Henrik Ravnskjær

Reply via email to