create AdExchangeCreative server error

8 views
Skip to first unread message

D K

unread,
1:55 AM (9 hours ago) 1:55 AM
to Google Ad Manager API Forum
request parameters:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://www.google.com/apis/ads/publisher/v202508" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SOAP-ENV:Header>
    <ns1:RequestHeader>
      <ns1:networkCode>xxx</ns1:networkCode>
      <ns1:applicationName>xxx</ns1:applicationName>
    </ns1:RequestHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <ns1:createCreatives>
      <ns1:creatives xsi:type="ns1:AdExchangeCreative">
        <ns1:advertiserId>xxx</ns1:advertiserId>
        <ns1:name>Creative#xx</ns1:name>
        <ns1:size>
          <ns1:width>1</ns1:width>
          <ns1:height>1</ns1:height>
          <ns1:isAspectRatio>false</ns1:isAspectRatio>
        </ns1:size>
        <ns1:isAllowsAllRequestedSizes>true</ns1:isAllowsAllRequestedSizes>
      </ns1:creatives>
    </ns1:createCreatives>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

response:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <ResponseHeader xmlns="https://www.google.com/apis/ads/publisher/v202508">
      <requestId>b674271987ea3108f726f2426dced2c5</requestId>
      <responseTime>240</responseTime>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Server</faultcode>
      <faultstring>[ServerError.SERVER_ERROR @ ]</faultstring>
      <detail>
        <ApiExceptionFault xmlns="https://www.google.com/apis/ads/publisher/v202508">
          <message>[ServerError.SERVER_ERROR @ ]</message>
          <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServerError">
            <fieldPath/>
            <trigger/>
            <errorString>ServerError.SERVER_ERROR</errorString>
            <reason>SERVER_ERROR</reason>
          </errors>
        </ApiExceptionFault>
      </detail>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>

Ad Manager API Forum Advisor

unread,
3:03 AM (8 hours ago) 3:03 AM
to qq861...@gmail.com, google-doubleclick...@googlegroups.com
Hi,

Thank you for contacting the Ad Manager API support team.

I recommend setting the codeSnippet field in the request. Since this is required for AdExchangeCreatives.

Thanks,
 
Google Logo Ad Manager API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-09-08 07:03:21Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01u631O:ref" (ADR-00332122)



Reply all
Reply to author
Forward
0 new messages