Rest Api request without Developer token Using Auth2

41 views
Skip to first unread message

Mohammad Ashir Abbas khan

unread,
Sep 14, 2023, 2:33:55 PM9/14/23
to Google Ads API and AdWords API Forum
Hi,

I want to make a request and the header is :

header= {
    "Content-Type": "application/json",
    "developer-token": DEVELOPER_TOKEN,
    "login-customer-id": MANAGER_CUSTOMER_ID,
    "Authorization": f"Bearer {OAUTH2_ACCESS_TOKEN}",
        }

The client sends me an access token .. He doesn't send me the Developer token .. Is there any way to call the rest api without developer token or i use my developer token to access to there account.

Google Ads API Forum Advisor

unread,
Sep 15, 2023, 5:56:32 AM9/15/23
to ashirk...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

After reviewing your concern, I understand that you would like to know if there is a way to call the REST API without developer token since your client has not provided it or you can use your developer token to access the clients account.

Kindly note that the developer token is like a license key; it is tied to an MCC account for approval purposes, but once approved, you can use it to make calls against any Google Ads account within the organization. A developer token from Google lets your app connect to the Google Ads API. So, it is mandatory to have a developer token to make an API call. Also, you would not be able to use your developer token to access the client account unless you link the client's account to your MCC.

 
This message is in relation to case "ref:_00D1U1174p._5004Q2olTl9:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages