I have problem with characters with caron, for eg.: s with caron, c
with caron, etc...
This problem is only in Campaign service! In AdGroup and Ad Service
is this ok.
#request
<addCampaignList>
<campaign>
<name>šem z toho srnka</name>
....
</campaign>
</addCampaignList>
#response
soapenv:Server.userException
One or more input elements failed validation.
code: 122
Message: One or more input elements failed validation
Index: 0
Field: name
Trigger: šem z toho srnka
Code: 36
isExemptable: false
Detail: These characters are not allowed: š
> I have problem with characters with caron, for eg.: s with caron, c
> with caron, etc...
> This problem is only in Campaign service! In AdGroup and Ad Service
> is this ok.
> #request
> <addCampaignList>
> <campaign>
> <name>šem z toho srnka</name>
> ....
> </campaign>
> </addCampaignList>
> #response
> soapenv:Server.userException
> One or more input elements failed validation.
> code: 122
> Message: One or more input elements failed validation
> Index: 0
> Field: name
> Trigger: šem z toho srnka
> Code: 36
> isExemptable: false
> Detail: These characters are not allowed: š
We are using nuSOAP (via PHP) and UTF-8 encoding (we also tried non
multibyte encodings liek ISO-8859-1 and WINDOWS-1250, but with same
result )
We have problem only with campaigns names, in adgroups or ads is
everything ok.
On our side is no difference between code, that we are using for
CampaignsService and other Services (i mean encoding and etc.)
On 23 Čen, 17:58, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:
> How are you accessing the API--are you using a client library or
> directly via a SOAP toolkit? Which language are you using?
> Cheers,
> -Jeff Posnick, AdWords API Team
> On Jun 23, 4:07 am, "lukas.benes" <lukas.be...@nacesty.cz> wrote:
> > Hello
> > I have problem with characters with caron, for eg.: s with caron, c
> > with caron, etc...
> > This problem is only in Campaign service! In AdGroup and Ad Service
> > is this ok.
> > #response
> > soapenv:Server.userException
> > One or more input elements failed validation.
> > code: 122
> > Message: One or more input elements failed validation
> > Index: 0
> > Field: name
> > Trigger: šem z toho srnka
> > Code: 36
> > isExemptable: false
> > Detail: These characters are not allowed: š
I'm able to successfully create campaigns with "š" in their names in
my tests. I tried by directly sending an XML document with the XML
entity š and also using the APIlity PHP client library (which I
believe uses NuSOAP under the hood), specifying a PHP string with the
"š" character and letting PHP encode the XML entity for me.
I don't think there should be anything account specific that limits
this, but to cover all bases, have you tried creating a campaign in
that account with that character in it via the AdWords web interface?
Cheers,
-Jeff Posnick, AdWords API Team
On Jun 25, 10:11 am, "lukas.benes" <lukas.be...@nacesty.cz> wrote:
> We are using nuSOAP (via PHP) and UTF-8 encoding (we also tried non
> multibyte encodings liek ISO-8859-1 and WINDOWS-1250, but with same
> result )
> We have problem only with campaigns names, in adgroups or ads is
> everything ok.
> On our side is no difference between code, that we are using for
> CampaignsService and other Services (i mean encoding and etc.)
> On 23 Čen, 17:58, AdWords API Advisor <adwordsapiadvi...@google.com>
> wrote:
> > Hello Lukas,
> > How are you accessing the API--are you using a client library or
> > directly via a SOAP toolkit? Which language are you using?
> > Cheers,
> > -Jeff Posnick, AdWords API Team
> > On Jun 23, 4:07 am, "lukas.benes" <lukas.be...@nacesty.cz> wrote:
> > > Hello
> > > I have problem with characters with caron, for eg.: s with caron, c
> > > with caron, etc...
> > > This problem is only in Campaign service! In AdGroup and Ad Service
> > > is this ok.
Same problem with V11, russian characters with UTF-8 in Sandbox. While i try to create campaign I have this error. I've got this problem just today. About month or more i didn't use Sandbox. Earlyer i didn't get this problem.
> I have problem with characters with caron, for eg.: s with caron, c > with caron, etc... > This problem is only in Campaign service! In AdGroup and Ad Service > is this ok.
> #request
> <addCampaignList> > <campaign> > <name>šem z toho srnka</name> > .... > </campaign> > </addCampaignList>
> #response > soapenv:Server.userException > One or more input elements failed validation. > code: 122 > Message: One or more input elements failed validation > Index: 0 > Field: name > Trigger: šem z toho srnka > Code: 36 > isExemptable: false > Detail: These characters are not allowed: š
I can confirm that the Sandbox is rejecting those Cyrillic characters
in Campaign names. If you send the same request to the Production
servers it should go through without issue.
The Sandbox should match the validation logic in Production, and
those characters should be considered valid, so there's something
amiss in the Sandbox. I'll let the core engineering team know and see
if there is a difference in configuration somewhere.
Thanks for sending along that sample.
Cheers,
-Jeff Posnick, AdWords API Team
On Jul 1, 4:56 am, Hypper <1hypp...@gmail.com> wrote:
> Same problem with V11, russian characters with UTF-8 in Sandbox.
> While i try to create campaign I have this error.
> I've got this problem just today. About month or more i didn't use
> Sandbox. Earlyer i didn't get this problem.
> > I have problem with characters with caron, for eg.: s with caron, c
> > with caron, etc...
> > This problem is only in Campaign service! In AdGroup and Ad Service
> > is this ok.
> > #response
> > soapenv:Server.userException
> > One or more input elements failed validation.
> > code: 122
> > Message: One or more input elements failed validation
> > Index: 0
> > Field: name
> > Trigger: šem z toho srnka
> > Code: 36
> > isExemptable: false
> > Detail: These characters are not allowed: š
> I can confirm that the Sandbox is rejecting those Cyrillic characters > in Campaign names. If you send the same request to the Production > servers it should go through without issue.
> The Sandbox should match the validation logic in Production, and > those characters should be considered valid, so there's something > amiss in the Sandbox. I'll let the core engineering team know and see > if there is a difference in configuration somewhere.
>> Same problem with V11, russian characters with UTF-8 in Sandbox. >> While i try to create campaign I have this error. >> I've got this problem just today. About month or more i didn't use >> Sandbox. Earlyer i didn't get this problem.
>>> Hello >>> I have problem with characters with caron, for eg.: s with caron, c >>> with caron, etc... >>> This problem is only in Campaign service! In AdGroup and Ad Service >>> is this ok. >>> #request >>> <addCampaignList> >>> <campaign> >>> <name>šem z toho srnka</name> >>> .... >>> </campaign> >>> </addCampaignList> >>> #response >>> soapenv:Server.userException >>> One or more input elements failed validation. >>> code: 122 >>> Message: One or more input elements failed validation >>> Index: 0 >>> Field: name >>> Trigger: šem z toho srnka >>> Code: 36 >>> isExemptable: false >>> Detail: These characters are not allowed: š >>> Thank You >> -- >> Успехов!
I'm sorry that it's taking some time to get to the bottom of the
issue. There is a bug in with the engineering team regarding it and it
is not being ignored, no. It does sometimes take longer to resolve
issues with the Sandbox than with the production environment, and I'll
let you know when there's an update. Thanks for your patience in the
meantime.
Cheers,
-Jeff Posnick, AdWords API Team
On Jul 14, 4:39 am, Hypper <1hypp...@gmail.com> wrote:
> Problem still not solved in Sandbox. Would you let me now if problem
> just ignored?
> AdWords API Advisor пишет:
> > Hello,
> > I can confirm that the Sandbox is rejecting those Cyrillic characters
> > in Campaign names. If you send the same request to the Production
> > servers it should go through without issue.
> > The Sandbox should match the validation logic in Production, and
> > those characters should be considered valid, so there's something
> > amiss in the Sandbox. I'll let the core engineering team know and see
> > if there is a difference in configuration somewhere.
> >> Same problem with V11, russian characters with UTF-8 in Sandbox.
> >> While i try to create campaign I have this error.
> >> I've got this problem just today. About month or more i didn't use
> >> Sandbox. Earlyer i didn't get this problem.
> >>> Hello
> >>> I have problem with characters with caron, for eg.: s with caron, c
> >>> with caron, etc...
> >>> This problem is only in Campaign service! In AdGroup and Ad Service
> >>> is this ok.
> >>> #request
> >>> <addCampaignList>
> >>> <campaign>
> >>> <name>šem z toho srnka</name>
> >>> ....
> >>> </campaign>
> >>> </addCampaignList>
> >>> #response
> >>> soapenv:Server.userException
> >>> One or more input elements failed validation.
> >>> code: 122
> >>> Message: One or more input elements failed validation
> >>> Index: 0
> >>> Field: name
> >>> Trigger: šem z toho srnka
> >>> Code: 36
> >>> isExemptable: false
> >>> Detail: These characters are not allowed: š
> >>> Thank You
> >> --
> >> Успехов!