Hi,

Another issue I encountered is that I checked the Limit documentation here 
<https://developers.google.com/adwords/api/docs/appendix/limits> where the 
character limits of the description fields are set at 35/38 characters. I 
got an error AdError.LINE_TOO_WIDE 
<https://developers.google.com/adwords/api/docs/reference/latest/AdGroupAdService.AdError>
 because 
it exceeds the API character limit for that field; however, when I logged 
into in the AdWords UI dashboard, the ad limit for that field of that ad is 
80 characters. Will this ever going to change or are there any workaround? 
Because being able to copy the ad description and create a new ad off it is 
rather important to the main functionality of our application. The 
following SOAP request and response is the error I got for this caught 
limit error:

<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 xmlns:ns1="
https://adwords.google.com/api/adwords/cm/v201802"; 
soapenv:mustUnderstand="0"> ... </ns1:RequestHeader> </soapenv:Header> 
<soapenv:Body> <mutate xmlns="
https://adwords.google.com/api/adwords/cm/v201802";> <operations> 
<operator>ADD</operator> <operand> <adGroupId>56873305080</adGroupId> <ad 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201802"; 
xsi:type="ns2:CallOnlyAd"> <ns2:id>264034532308</ns2:id> ... 
<ns2:description2>適合新手 退休人仕 親子活動。 大量車位 免費參觀。 有機田出租 種植班 BBQ 有機製品
</ns2:description2> <ns2:callTracked>false</ns2:callTracked> 
<ns2:phoneNumberVerificationUrl>http://www.livingfarm.com.hk
</ns2:phoneNumberVerificationUrl> </ad> <status>ENABLED</status> ... 
</operand> </operations> </mutate> </soapenv:Body></soapenv:Envelope>
<?xml version="1.0" encoding="UTF-8" standalone="no"?><soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";> <soap:Header> 
<ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201802";> 
<requestId>00056a0303569f800a62e304a40f77e3</requestId> 
<serviceName>AdGroupAdService</serviceName> <methodName>mutate</methodName> 
<operations>1</operations> <responseTime>109</responseTime> 
</ResponseHeader> </soap:Header> <soap:Body> <soap:Fault> 
<faultcode>soap:Client</faultcode> <faultstring>[AdError.LINE_TOO_WIDE @ 
operations[0].operand.ad.description2]</faultstring> <detail> 
<ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201802
"> <message>[AdError.LINE_TOO_WIDE @ 
operations[0].operand.ad.description2]</message> 
<ApplicationException.Type>ApiException</ApplicationException.Type> <errors 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:type="AdError"> 
<fieldPath>operations[0].operand.ad.description2</fieldPath> 
<fieldPathElements> <field>operations</field> <index>0</index> 
</fieldPathElements> <fieldPathElements> <field>operand</field> 
</fieldPathElements> <fieldPathElements> <field>ad</field> 
</fieldPathElements> <fieldPathElements> <field>description2</field> 
</fieldPathElements> <trigger/> 
<errorString>AdError.LINE_TOO_WIDE</errorString> 
<ApiError.Type>AdError</ApiError.Type> <reason>LINE_TOO_WIDE</reason> 
</errors> </ApiExceptionFault> </detail> </soap:Fault> </soap:Body>
</soap:Envelope>
Thanks,

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/26219aca-0d4f-46f1-ad24-a0df51340d93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to