For many years, we have HTML Encoded the various text elements (e.g. 
headline, description) of ads.  It's been many years, so I don't recall 
which characters caused issues, but I do recall that the HTML Encoding 
allowed characters to be uploaded through the API that otherwise caused 
errors.  

Today, while uploading new ResponsiveSearchAds, I got a StringLengthError 
thrown for one of the TextAsset elements in the descriptions element of the 
ResponsiveSearchAd.  In investigating, my string was 93 characters long 
because the "&" value was counted as 5 literal characters instead of 1 
character ("&").  I was able to remove the HTML encoding for the ampersand 
and upload the ad without error.  

Although I was able to successfully upload this specific ad, I'm worried 
that removing the HTML encoding may eventually throw an error on whatever 
character or characters I had added HTML encoding to fix.  For other ad 
types, HTML encoding is not literally counted toward the character limits.  
That in mind, I'm wondering if this is an oversight with respect to the 
back end validation of RSAs?  Thoughts from the API team?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/293e9fdc-e577-4fd3-b9fd-4d8f5f25b878%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... CFJ
    • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to