Hello,

is it possible to use the Google Ads API from a JavaScript application 
running in the browser?

I tried making a POST request to a URL like this to fetch campaigns for a 
specific customer:
https://googleads.googleapis.com/v8/customers/<customer-id>/googleAds:search

But I get a CORS error "...has been blocked by CORS policy: Response to 
preflight request doesn't pass access control check: No 
'Access-Control-Allow-Origin' header is present on the requested resource."

I know the request is correct, as I've tried it successfully using 
cURL/Postman.

Thanks,
Hugo

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/6d6b3d4e-112c-484f-9cbb-04092a4d350cn%40googlegroups.com.

Reply via email to