Invalid Rule Item when downloading account structure

GregThoen 1 Reputation point
2020-12-04T20:30:48.99+00:00

Hi,

Starting a couple weeks ago or so, we've had errors when trying to download the structure for some of the accounts we manage. At first, it was a single account, but it's grown to 8 of our accounts now. The cause appears to be that Microsoft's Java SDK cannot parse some of the audience entities being downloaded. We are using the latest Java SDK (in gradle: com.microsoft.bingads:microsoft.bingads:13.0.6), and our code to handle this hasn't changed in quite a long time.

We are using the SDK's BulkServiceManager to download the structure to a file. For these 8 accounts, it fails with exceptions like the following:

com.microsoft.bingads.v13.bulk.EntityReadException: Couldn't parse column Combination Rule of BulkCombinedList entity: Invalid Rule Item: OR(808883818). See ColumnValues for detailed row information and cause for error details. at com.microsoft.bingads.v13.internal.bulk.MappingHelpers.createEntityReadException(MappingHelpers.java:71) at com.microsoft.bingads.v13.internal.bulk.MappingHelpers.convertToEntity(MappingHelpers.java:29) at com.microsoft.bingads.v13.bulk.entities.BulkCombinedList.processMappingsFromRowValues(BulkCombinedList.java:68) at com.microsoft.bingads.v13.internal.bulk.entities.SingleRecordBulkEntity.readFromRowValues(SingleRecordBulkEntity.java:111) at com.microsoft.bingads.v13.internal.bulk.SimpleBulkObjectReader.readNextBulkObject(SimpleBulkObjectReader.java:135) at com.microsoft.bingads.v13.internal.bulk.SimpleBulkRecordReader.peek(SimpleBulkRecordReader.java:114) at com.microsoft.bingads.v13.internal.bulk.SimpleBulkRecordReader.tryRead(SimpleBulkRecordReader.java:75) at com.microsoft.bingads.v13.internal.bulk.SimpleBulkRecordReader.tryRead(SimpleBulkRecordReader.java:56) at com.microsoft.bingads.v13.internal.bulk.entities.SingleRecordBulkEntity.readErrors(SingleRecordBulkEntity.java:161) at com.microsoft.bingads.v13.internal.bulk.entities.SingleRecordBulkEntity.readRelatedData(SingleRecordBulkEntity.java:145) at com.microsoft.bingads.v13.internal.bulk.SimpleBulkRecordReader.tryRead(SimpleBulkRecordReader.java:81) at com.microsoft.bingads.v13.internal.bulk.SimpleBulkRecordReader.tryRead(SimpleBulkRecordReader.java:56) at com.microsoft.bingads.v13.internal.bulk.SimpleBulkRecordReader.read(SimpleBulkRecordReader.java:32) at com.microsoft.bingads.v13.internal.bulk.EntityIterator.readNextBatch(EntityIterator.java:54) at com.microsoft.bingads.v13.internal.bulk.EntityIterator.updateNextBatch(EntityIterator.java:46) at com.microsoft.bingads.v13.internal.bulk.EntityIterator.hasNext(EntityIterator.java:27)
....
Caused by: java.lang.IllegalArgumentException: Invalid Rule Item: OR(808883818) at com.microsoft.bingads.v13.internal.bulk.StringExtensions.parseCombinationRule(StringExtensions.java:1157) at com.microsoft.bingads.v13.internal.bulk.StringExtensions.lambda$parseCombinationRules$3(StringExtensions.java:1142) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) at com.microsoft.bingads.v13.internal.bulk.StringExtensions.parseCombinationRules(StringExtensions.java:1144) at com.microsoft.bingads.v13.bulk.entities.BulkCombinedList$2.accept(BulkCombinedList.java:56) at com.microsoft.bingads.v13.bulk.entities.BulkCombinedList$2.accept(BulkCombinedList.java:53) at com.microsoft.bingads.v13.internal.bulk.SingleFieldBulkMapping.convertToEntity(SingleFieldBulkMapping.java:32) at com.microsoft.bingads.v13.internal.bulk.SimpleBulkMapping.convertToEntity(SimpleBulkMapping.java:16) at com.microsoft.bingads.v13.internal.bulk.MappingHelpers.convertToEntity(MappingHelpers.java:21)

This is using JDK 11, if that matters, but I expect it doesn't, as it just seems to be an issue that the BingAds Java SDK doesn't understand an entry in the file that the API is returning.

We'd appreciate your help getting this resolved as quickly as possible, as this is the height of the shopping season, and we're unable to manage multiple of our clients' accounts.

Thanks in advance,
Greg

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
386 questions
{count} votes

6 answers

Sort by: Most helpful
  1. Eric Urban - MSFT 626 Reputation points Microsoft Employee
    2021-01-16T20:45:38.743+00:00

    @GregThoen thanks for confirming the issue is resolved!

    0 comments No comments