Hi, I am working on creating line items via Ads API and going to use the include_sentiment parameter.
The documentation (Line Items | Docs | Twitter Developer Platform) says that it only valid for the PROMOTED_TWEETS product type and with either placements of ALL_ON_TWITTER or TWITTER_TIMELINES.

But actually I can use this parameter for other product types and placements
POST https://ads-api.twitter.com/6/accounts/18ce54uqcv6/line_items?campaign_id=d4tap&objective=APP_INSTALLS&placements=PUBLISHER_NETWORK&product_type=MEDIA&advertiser_domain=twitter.com&bid_amount_local_micro=10000&categories=IAB5&include_sentiment=ALL&name=line item name

{
    "request": {
        "params": {
            "name": "line item name",
            "placements": [
                "PUBLISHER_NETWORK"
            ],
            "bid_amount_local_micro": 10000,
            "advertiser_domain": "twitter.com",
            "product_type": "MEDIA",
            "objective": "APP_INSTALLS",
            "account_id": "18ce54uqcv6",
            "categories": [
                "IAB5"
            ],
            "include_sentiment": "ALL",
            "campaign_id": "d4tap"
        }
    },
    "data": {
        "bid_type": "TARGET",
        "advertiser_user_id": 1092898001050206208,
        "name": "line item name",
        "placements": [
            "PUBLISHER_NETWORK"
        ],
        "start_time": null,
        "bid_amount_local_micro": 10000,
        "automatically_select_bid": false,
        "advertiser_domain": "twitter.com",
        "target_cpa_local_micro": null,
        "primary_web_event_tag": null,
        "charge_by": "APP_CLICK",
        "product_type": "MEDIA",
        "end_time": null,
        "bid_unit": "APP_CLICK",
        "total_budget_amount_local_micro": null,
        "objective": "APP_INSTALLS",
        "id": "g134p",
        "entity_status": "ACTIVE",
        "optimization": "APP_CLICKS",
        "categories": [
            "IAB5"
        ],
        "currency": "USD",
        "created_at": "2019-10-08T10:14:28Z",
        "tracking_tags": [],
        "updated_at": "2019-10-08T10:14:28Z",
        "include_sentiment": "ALL",
        "campaign_id": "d4tap",
        "creative_source": "MANUAL",
        "deleted": false
    }
}

Therefore, I have a question, is this really outdated documentation and there are no more restrictions on the use of this parameter or is it a bug?

Thanks

Thanks for reaching out, @KarpukDM. Our team will take a look at this and get back to you. I suspect it’s likely outdated documentation.