Hi,

I've just been trying to get to the bottom of some errors that are 
sporadically thrown up when including prices in adparam.insertionText - an 
example of the code is below.

The update will succeed 3 out of 4 times but on the 4th time the following 
error will be thrown :


*PolicyViolationError.POLICY_ERROR @ operations[0].operand.criterion.text; 
trigger:'£' *
*
*
The strange thing is why it will work most of the time and not at other 
times, even when i'm just re-running the exact same script. If I change the 
insertionText to use a currencyCode instead ie "549GBP" it will work EVERY 
time! 

So i seems that occasionally it is not recognising £ symbol as being an 
valid character in the insertionText field even though 
this<http://code.google.com/apis/adwords/docs/reference/latest/AdParamService.AdParam.html>
 says 
it is valid.

--------------------------------------------------------------------
Dim priceParam As AdParam = New AdParam
priceParam.adGroupId = 123456789
priceParam.criterionId = 987654321
priceParam.paramIndex = 1
Dim priceInsert As String = "£549"
priceParam.insertionText = priceInsert
Dim priceOperation As AdParamOperation = New AdParamOperation
priceOperation.[operator] = [Operator].SET
priceOperation.operand = priceParam

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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

Reply via email to