sprinklr-inc/twitter4j-ads

Additional parameter for segmentation

Opened this issue · 0 comments

According to the documentation (https://dev.twitter.com/ads/analytics/metrics-and-segmentation), certain segmentation types (CITIES, DEVICES, PLATFORM_VERSIONS, POSTAL_CODES, REGIONS) require an additional parameter (country or platform, depending on the case). How can I pass the additional parameter? Apparently the methods TwitterAdsStatApi.createAsyncJob() and createAsyncJob() only take an optional TwitterSegmentationType value, so I'm always getting an error when trying to segment by the types previously mentioned.

Many thanks in advance,
Luis