Hi Carmine,
Apologies as I have not realized this at first. It should not have
considered the *{keyword: } *in counting the length of characters. In my
test account, I was able to add successfully an expanded text ad with
headlinePart1 same as yours. Below is the sample SOAP response which shows
a successful creation:
<value>
<adGroupId>XXXXXXXXXXXX</adGroupId>
<ad xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type=
"ExpandedTextAd">
<id>XXXXXXXXXXXX</id>
<finalUrls>http://www.example.com/0</finalUrls>
<type>EXPANDED_TEXT_AD</type>
<Ad.Type>ExpandedTextAd</Ad.Type>
<headlinePart1>*{keyword: my personal backup ads}*</headlinePart1>
<headlinePart2>Best Space Cruise Line</headlinePart2>
<description>Buy your tickets now!</description>
</ad>
<status>PAUSED</status>
<approvalStatus>UNCHECKED</approvalStatus>
</value>
It is weird that you are having this error on your end. Could you provide
your SOAP request and response logs via *Reply privately to author *so I
can further investigate? If you haven't enabled the SOAP logs yet, you can
enable it by following the "How do I enable logging section?" of this
document
<https://github.com/googleads/googleads-java-lib#how-do-i-enable-logging>.
Thanks,
Vincent
AdWords API Team
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ba6b6c42-bdeb-4f73-ade4-6f5491f816a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.