BingAds / BingAds-Java-SDK

Other
42 stars 48 forks source link

Bad format for CustomParameters: delete_value #32

Closed mhuang74 closed 8 years ago

mhuang74 commented 8 years ago

Looks like SDK code inserts "delete_value" token, which then it is unable to parse. StringExtensions.toCustomParaBulkString() and StringExtensions.parseCustomParameters() are not in agreement.

StringExtensions.toCustomParaBulkString()

StringExtensions.parseCustomParameters()

java.lang.IllegalArgumentException: Bad format for CustomParameters: delete_value at com.microsoft.bingads.v10.internal.bulk.StringExtensions.parseCustomParameters(StringExtensions.java:656) at com.microsoft.bingads.v10.bulk.entities.BulkKeyword$34.accept(BulkKeyword.java:358) at com.microsoft.bingads.v10.bulk.entities.BulkKeyword$34.accept(BulkKeyword.java:354)

shyTNT commented 8 years ago

@mhuang74 , thanks for your comment. SDK will insert "delete_value" into the bulk file if users want to delete the CustomParameters. I think maybe you parse the bulk file before you upload it. Could you please provide the scenario information of this issue?