Hi,
Thanks for your response, please find the details attached. I am not sure,
where I am going wrong here.
Regards
Abhinav
*Request and Response Received*
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\u0016nawblytU2o_PZPKko8-nYA",
"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\u0016nawblytU2o_PZPKko8-nYA",
"request-id": "nawblytU2o_PZPKko8-nYA"
}
Fault: errors {
error_code {
authentication_error: OAUTH_TOKEN_HEADER_INVALID
}
message: "Oauth token HTTP header is malformed."
}
request_id: "nawblytU2o_PZPKko8-nYA"
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/db54cbf4-10c3-449e-ab6d-30822d4e7cdcn%40googlegroups.com.