Thanks for your response, please find the details attached. I am not sure, where I am going wrong here.
Request
-------
Method: /google.ads.googleads.v16.services.GoogleAdsService/SearchStream
Host:
googleads.googleapis.comHeaders: {
"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"