Hi, 
Thanks for your help, please find the output attached below. 
Regards
Abhinav 



Request
-------
Method: /google.ads.googleads.v16.services.GoogleAdsService/SearchStream
Host: googleads.googleapis.com
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "1660066223",
  "x-goog-api-client": "gl-python/3.11.8 grpc/1.62.1 gax/2.18.0 gccl/23.1.0 
pb/4.25.3",
  "x-goog-request-params": "customer_id=5947094947"
}
Request: customer_id: "5947094947"
query: "\n            SELECT\n            campaign.id,\n           
 campaign.name,\n            campaign.status,\n           
 campaign.optimization_score,\n           
 campaign.bidding_strategy_type,\n           
 campaign.advertising_channel_type,\n           
 campaign.advertising_channel_sub_type,\n            segments.date, \n     
       segments.ad_network_type,\n            metrics.impressions,\n       
     metrics.clicks,\n            metrics.cost_micros,\n           
 metrics.ctr\n\n            FROM campaign\n            \n            WHERE 
segments.date BETWEEN \'2024-03-05\' AND \'2024-04-04\'\n            \n     
       ORDER BY segments.date"


Response
-------
Headers: {
  "google.ads.googleads.v16.errors.googleadsfailure-bin": 
"\n,\n\u0003\u0001\u0013\u0012%Oauth token HTTP header is 
malformed.\u0012\u0016F8EE4oVBOVTJRkyN0QdDIg",
  "grpc-status-details-bin": "\b\u0010\u0012\u0001Request 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.\u001a\u0001\nDtype.googleapis.com/google.ads.googleads.v16.errors.GoogleAdsFailure\u0012F\n,\n\u0003\u0001\u0013\u0012%Oauth
 
token HTTP header is malformed.\u0012\u0016F8EE4oVBOVTJRkyN0QdDIg",
  "request-id": "F8EE4oVBOVTJRkyN0QdDIg"
}
Fault: errors {
  error_code {
    authentication_error: OAUTH_TOKEN_HEADER_INVALID
  }
  message: "Oauth token HTTP header is malformed."
}
request_id: "F8EE4oVBOVTJRkyN0QdDIg"


Request made: ClientCustomerId: 5947094947, Host: googleads.googleapis.com, 
Method: /google.ads.googleads.v16.services.GoogleAdsService/SearchStream, 
RequestId: F8EE4oVBOVTJRkyN0QdDIg, IsFault: True, FaultMessage: Oauth token 
HTTP header is malformed.


On Wednesday 3 April 2024 at 15:52:33 UTC+5:30 Google Ads API Forum Advisor 
wrote:

> Hi,
>
> Thank you for reaching out to the Google Ads API support team.
>
> Upon checking your account '1660066223', I could see that you have the 
> basic access level to the developer token. Kindly note that we are unable 
> to view the request and response (screenshot). Could you please reshare as 
> a .txt format and provide us with  more information on what exact support 
> you want from the Google Ads API support team to assist you further.
>   
> This message is in relation to case 
> "ref:!00D1U01174p.!5004Q02tOoth:ref" (ADR-00229721)
>
> 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/76ef71bf-b47f-40c9-8e09-cbb1c7957990n%40googlegroups.com.
  • Is... Abhinav Jain
    • ... Abhinav Jain
    • ... Abhinav Jain
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to