I’m using this library: https://github.com/sprinklr-inc/twitter4j-ads/tree/8efed1337772792ab677a7b782111897659167ba, but it doesn’t seem to support segmentation by: “CONVERSION_TAGS” (https://dev.twitter.com/ads/analytics/metrics-and-segmentation). Does anyone know a Java sdk that supports it? Thank you!
Did you try passing in TwitterSegmentationType.CONVERSION_TAGS to getMetricGroups() in TwitterEntityStatisticsMetrics.java? If that doesn’t work, I think we should simply update this SDK to support this functionality!
No, I couldn’t find the value: CONVERSION_TAGS in: TwitterSegmentationType
I’m on version 1.0.
<!-- https://mvnrepository.com/artifact/com.sprinklr/twitter4j-ads --> <dependency> <groupId>com.sprinklr</groupId> <artifactId>twitter4j-ads</artifactId> <version>1.0</version> </dependency>
Does Twitter maintain this SDK? Isn’t open source? Can you guys update it or should I do it?
Thank you very much,
We are doing best to rally support around it, but behavior being there or missing depends upon whether original authors (Sprinklr) had implemented that functionality. I think I heard the Java SDK’s support for segmentation was being re-worked so could you please try pinging the github issue you filed again? Even if it’s not to fix this issue I’m sure they would love to see people from community making pull requests.