Postman setup for Ad Manager APIs

313 views
Skip to first unread message

CME Integrations

unread,
Dec 16, 2020, 3:04:45 AM12/16/20
to Google Ad Manager API Forum
Hi,

I have been trying to access Ad manager API from Postman. But I always get Unauthorized resopse.

My Request : 
<soapenv:Header>
<v20:RequestHeader>
<!--Optional:-->
<v20:networkCode>XXXXX</v20:networkCode>
<!--Optional:-->
<v20:applicationName>Shift</v20:applicationName>
</v20:RequestHeader>
</soapenv:Header>
<soapenv:Body>
<v20:getSuggestedAdUnitsByStatement>
</v20:getSuggestedAdUnitsByStatement>
</soapenv:Body>
</soapenv:Envelope>

Response :
<HTML>

<HEAD>
<TITLE>Unauthorized</TITLE>
</HEAD>

<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Unauthorized</H1>
<H2>Error 401</H2>
</BODY>

</HTML>

Have anyone tried this before from Postman. My goal id to integrate with Google Ad manager from (Vlocity / Salesforce Industries) as Third Party. So, need to identify authorization steps and Request Flows

Thanks

Ad Manager API Forum Advisor Prod

unread,
Dec 16, 2020, 4:58:05 AM12/16/20
to cme.integr...@gmail.com, google-doubleclick...@googlegroups.com

Hi there,

Thank you for reaching out to us.

I would highly recommend going through the steps of running the Ad Manager API with one of our client libraries first, in order to ensure that all of the prerequisite authorization steps would have been completed prior to using Postman to do the same. In particular, you may want to do a check on the following aspects to see if you already possess the requisite files and/or have done the requisite steps:


This section might also help in troubleshooting your Postman setup. Kindly make sure that your HTTP queries are being properly authenticated with the correct access token, and are using the correct scope as well.
 

Google Logo
Ziv Yves Sanchez
Ad Manager API Team
 


ref:_00D1U1174p._5004Q29SME5:ref

Suresh Kumar Viveganandaguruswamy

unread,
Jun 29, 2023, 7:52:03 PM6/29/23
to Google Ad Manager API Forum
Hello,

I am also getting same error in postman. Did you get the solution for this issue ?. Please share if you have solution, I have the access token. 

Ad Manager API Forum Advisor

unread,
Jun 30, 2023, 2:48:45 AM6/30/23
to google-doubleclick...@googlegroups.com
Hi,

Thank you for contacting the Ad Manager API support team.

Since the issue is not clear, Could you please provide us with the following details. You can send the details via Reply privately to the author option, or direct private reply to this email.
 
This message is in relation to case "ref:_00D1U1174p._5004Q29SME5:ref"

Thanks,
Google Logo Ad Manager API Team


Reply all
Reply to author
Forward
0 new messages