Unexpected error targeting unicode test


#1

The term “この時点ではまだ募集していません” throws an error after it’s been url quote escaped, which brings the term to over 140 characters. This seems like a bug to me, it should check the length for the term after decoding it.

u’errors’: [{u’attribute’: u’targeting_name’, u’message’: u"targeting_name ‘%E3%81%93%E3%81%AE%E6%99%82%E7%82%B9%E3%81%A7%E3%81%AF%E3%81%BE%E3%81%A0%E5%8B%9F%E9%9B%86%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%9B%E3%82%93’ is invalid for targeting type ‘BROAD_MATCH_KEYWORD’", u’code’: u’INVALID_PARAMETER’}, {u’attribute’: u’targeting_name’, u’message’: u"targeting_name field of the targeting criteria ‘%E3%81%93%E3%81%AE%E6%99%82%E7%82%B9%E3%81%A7%E3%81%AF%E3%81%BE%E3%81%A0%E5%8B%9F%E9%9B%86%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%9B%E3%82%93’ is greater than 140 in length", u’code’: u’INVALID’}],


#2

Hi!

Could you give us the exact request you sent when you received the error meessage? That way we can detect the cause easily. You can use :account_id, :campaign_id, etc to hide your secret infromation.

Thank you,
Ryohei


#3

You seem to be using wrong targeting_type. Please use “BROAD_KEYWORD” instead of “BROAD_MATCH_KEYWORD”