Hi,

I am using the google ads restful API to download cost reports
https://googleads.googleapis.com/v8/customers/$clientCustomerId
/googleAds:searchStream

I passed thhis in the headers: loginCustomerId is the mcc accountId
"login-customer-id" -> loginCustomerId,

Then I got the the following error in response:
HTTP/1.1 403 Forbidden [Request-Id: u4KBpTrKotiCxn8Loh3__Q, Vary: Origin, 
Vary: X-Origin, Vary: Referer, Content-Type: application/json; 
charset=UTF-8, Content-Encoding: gzip, Date: Fri, 06 Aug 2021 10:20:31 GMT, 
Server: ESF, Cache-Control: private, X-XSS-Protection: 0, X-Frame-Options: 
SAMEORIGIN, X-Content-Type-Options: nosniff, Alt-Svc: h3=":443"; 
ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; 
ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; 
ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43", 
Transfer-Encoding: chunked]

What's doing wrong here?

Thanks,
Daniel Chen

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/371b91a2-2b93-4ab1-b1f8-a1015c2716b7n%40googlegroups.com.
  • 403 forbidden when ... 'Daniel Chen' via AdWords API and Google Ads API Forum
    • Re: 403 forbid... 'Daniel Chen' via AdWords API and Google Ads API Forum
      • RE: 403 fo... Google Ads API Forum Advisor
        • Re: 40... 'Daniel Chen' via AdWords API and Google Ads API Forum
          • Re... Google Ads API Forum Advisor
            • ... 'Daniel Chen' via AdWords API and Google Ads API Forum
              • ... 'Daniel Chen' via AdWords API and Google Ads API Forum

Reply via email to