Hi
I just tried to update descriptions of Expanded Dynamic Search ad, i 
followed the same way for other creatives update process but while update 
DSA got below error response form API.

Array ( [status] => error [message] => Error in ad update [data] => Array ( 
[errorResponse] => [AdError.CANNOT_MODIFY_AD @ operations[0].operand.id] 
[errorMsg] => CANNOT_MODIFY_AD ) ) 

Attached soap log with complete request and response.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b4c75af5-b4dc-42e8-b079-a9ec0ed8ff97n%40googlegroups.com.
[2020-09-14 12:24:17] AW_SOAP.WARNING: clientCustomerId=430-855-8101 
operations=1 service=AdService method=mutate responseTime=244 
requestId=0005af408ef2d6e80a62144f8e0d33c8 server=adwords.google.com isFault=1 
faultMessage=[AdError.CANNOT_MODIFY_AD @ operations[0].operand.id]  
[2020-09-14 12:24:17] AW_SOAP.NOTICE: POST 
/api/adwords/cm/v201809/AdService?wsdl HTTP/1.1
Host: adwords.google.com
Connection: close
User-Agent: PHP-SOAP/5.6.36-1+ubuntu14.04.1+deb.sury.org+1
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 1342
Authorization: REDACTED

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201809"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><SOAP-ENV:Header><ns1:RequestHeader><ns1:clientCustomerId>430-855-8101</ns1:clientCustomerId><ns1:developerToken>REDACTED</ns1:developerToken><ns1:userAgent>unknown
 (AwApi-PHP, googleads-php-lib/40.0.0, 
PHP/5.6.36-1+ubuntu14.04.1+deb.sury.org+1)</ns1:userAgent><ns1:validateOnly>false</ns1:validateOnly><ns1:partialFailure>false</ns1:partialFailure></ns1:RequestHeader></SOAP-ENV:Header><SOAP-ENV:Body><ns1:mutate><ns1:operations><ns1:operator>SET</ns1:operator><ns1:operand
 
xsi:type="ns1:ExpandedDynamicSearchAd"><ns1:id>464288314767</ns1:id><ns1:trackingUrlTemplate>http://trackers.exampleupdate.com/traveltracker/{escapedlpurl}</ns1:trackingUrlTemplate><ns1:finalUrlSuffix>params1=values1&amp;params2=values2</ns1:finalUrlSuffix><ns1:urlCustomParameters><ns1:parameters><ns1:key>promo</ns1:key><ns1:value>#2020</ns1:value></ns1:parameters></ns1:urlCustomParameters><ns1:description>my
 description text asset one edited.</ns1:description><ns1:description2>my 
description text asset two 
edited.</ns1:description2></ns1:operand></ns1:operations></ns1:mutate></SOAP-ENV:Body></SOAP-ENV:Envelope>

HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Date: Mon, 14 Sep 2020 06:58:14 GMT
Expires: Mon, 14 Sep 2020 06:58:14 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Content-Security-Policy: frame-ancestors 'self'
X-XSS-Protection: 1; mode=block
Server: GSE
Alt-Svc: h3-29=":443"; ma=2592000,h3-27=":443"; ma=2592000,h3-T051=":443"; 
ma=2592000,h3-T050=":443"; ma=2592000,h3-Q050=":443"; 
ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; 
ma=2592000; v="46,43"
Accept-Ranges: none
Vary: Accept-Encoding
Connection: close
Transfer-Encoding: chunked

<soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Header><ResponseHeader
 
xmlns="https://adwords.google.com/api/adwords/cm/v201809";><requestId>0005af408ef2d6e80a62144f8e0d33c8</requestId><serviceName>AdService</serviceName><methodName>mutate</methodName><operations>1</operations><responseTime>244</responseTime></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>[AdError.CANNOT_MODIFY_AD
 @ operations[0].operand.id]</faultstring><detail><ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/cm/v201809";><message>[AdError.CANNOT_MODIFY_AD
 @ 
operations[0].operand.id]</message><ApplicationException.Type>ApiException</ApplicationException.Type><errors
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="AdError"><fieldPath>operations[0].operand.id</fieldPath><fieldPathElements><field>operations</field><index>0</index></fieldPathElements><fieldPathElements><field>operand</field></fieldPathElements><fieldPathElements><field>id</field></fieldPathElements><trigger></trigger><errorString>AdError.CANNOT_MODIFY_AD</errorString><ApiError.Type>AdError</ApiError.Type><reason>CANNOT_MODIFY_AD</reason></errors></ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>
  

Reply via email to