Request URL for Customer Data Fails

16 views
Skip to first unread message

Werner Reyneke

unread,
Apr 21, 2022, 10:25:44 AM4/21/22
to Google Ads API and AdWords API Forum
Good day,
I'm trying to get the request logs for a customer by running the bash command below as per your examples, but it comes back as unauthorized, even though I'm using the correct authorization tokens.  Please advise urgently.  Thank you. The actual auth tokens have been changed for privacy reasons.

curl -v -D  POST https://googleads.googleapis.com/v10/googleAdsFields/customer\AG - eLingo SPA
--header "Content-Type: application/json" \
--header "login-customer-id: 8919258818" \
--header "developer-token: aBcdefghIjkl" \
--header "oauth2clientid: 7783443706-sn9ijj3is4l77gnlf4uohs96kbhmi77dl.apps.googleusercontent.com" \
--header "oauth2clientsecret: GOKJSPX-rlJHe1WN47suHtQM27tdH3NZOI2c" \
--header "Authorization: Bearer GOASPX-rlJHe1WN57suHtQM27dtH3NZOI2c"

bash cmd.JPG

Google Ads API Forum Advisor

unread,
Apr 22, 2022, 7:43:55 AM4/22/22
to wrey...@gmail.com, adwor...@googlegroups.com
Hi Werner,

Thank you for reaching to the Google Ads API Forum.

With regard to your concern, to find out the exact REST API format for the Google Ads API along with authorization. You may refer to this document

Best regards,
Google Logo
Jinky
Google Ads API Team
 


ref:_00D1U1174p._5004Q2a5Urw:ref
Reply all
Reply to author
Forward
0 new messages