AdWords limit problem

27 views
Skip to first unread message

sa

unread,
Apr 19, 2018, 3:26:56 AM4/19/18
to AdWords API Forum
Hi,

Another issue I encountered is that I checked the Limit documentation here where the character limits of the description fields are set at 35/38 characters. I got an error AdError.LINE_TOO_WIDE 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,

Peter Oliquino

unread,
Apr 19, 2018, 4:51:27 AM4/19/18
to AdWords API Forum
Hi,

Upon testing on my end, the current limit for the Description2 field of the CallOnlyAd is at 35 characters only. Unfortunately, there is no workaround as to how you can be able to pass a maximum of 80 characters for this field using the AdWords API. For now, you may keep an eye on our blog for any updates related to this ad and its fields.

Best regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages