Label Service in Google Ads API

49 views
Skip to first unread message

Hemalatha D

unread,
Feb 13, 2024, 12:06:37 AM2/13/24
to Google Ads API and AdWords API Forum
I'm using xml schema to createLabels. but, getting error HTTP Status Code: 500
To createLabel, do we need to enable permission, if yes, could you please enable it from your end.

Networkcode- 133009657
ApplicationName- Nine Digital (Production)

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope
        xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <soapenv:Header>
    <ns1:RequestHeader
soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"
soapenv:mustUnderstand="0"
 xmlns:ns1=[gamApiVersion]>
    <ns1:networkCode>[networkCode]</ns1:networkCode>
      <ns1:applicationName>[applicationName]</ns1:applicationName>
    </ns1:RequestHeader>
  </soapenv:Header>
   <soapenv:Body>
      <createLabels xmlns=[gamApiVersion]>
         <labels>          
            <name>[labelName]</name>          
            <types>[labelType]</types>
         </labels>
      </createLabels>
   </soapenv:Body>
</soapenv:Envelope>

=====================

Internal : Unexpected error Error during Web API HTTP Request
HTTP Status Code: 500
HTTP Response Content: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><ResponseHeader xmlns="https://www.google.com/apis/ads/publisher/v202311"><requestId>b85bb2d0c1a5f2c3882d45d6c5945011</requestId><responseTime>116</responseTime></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>[PermissionError.PERMISSION_DENIED @ ]</faultstring><detail><ApiExceptionFault xmlns="https://www.google.com/apis/ads/publisher/v202311"><message>[PermissionError.PERMISSION_DENIED @ ]</message><errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PermissionError"><fieldPath></fieldPath><trigger></trigger><errorString>PermissionError.PERMISSION_DENIED</errorString><reason>PERMISSION_DENIED</reason></errors></ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>

Google Ads API Forum Advisor

unread,
Feb 13, 2024, 3:00:14 AM2/13/24
to lathakri...@gmail.com, adwor...@googlegroups.com
Hi,

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

After reviewing your concern, I see that you have already raised this concern on another thread with the subject "LabelService | createLabels", and we have already responded there for this issue. To avoid multiple threads on the same issue, please take a look at that thread and continue the discussion on the same for further updates on the issue.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02rz3WV:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages