@hector_borras: We haven’t been able to repro this.
The following shows what we’ve tried. (Perhaps there are particularities you can identify.)
Creating the line item.
$ twurl -X POST -H ads-api.twitter.com "/1/accounts/18ce54d4x5t/line_items?campaign_id=6eo26&bid_amount_local_micro=100000&product_type=PROMOTED_TWEETS&placements=PUBLISHER_NETWORK&objective=APP_INSTALLS&paused=true&advertiser_domain=twitter.com&categories=IAB12" | jq
{
"data_type": "line_item",
"data": {
"bid_type": "TARGET",
"advertiser_user_id": 756201191646691300,
"name": "Untitled",
"placements": [
"PUBLISHER_NETWORK"
],
"start_time": null,
"bid_amount_local_micro": 100000,
"automatically_select_bid": false,
"advertiser_domain": "twitter.com",
"target_cpa_local_micro": null,
"primary_web_event_tag": null,
"charge_by": "APP_CLICK",
"product_type": "PROMOTED_TWEETS",
"end_time": null,
"bid_unit": "APP_CLICK",
"total_budget_amount_local_micro": null,
"objective": "APP_INSTALLS",
"id": "6oq2e",
"entity_status": "PAUSED",
"paused": true,
"account_id": "18ce54d4x5t",
"optimization": "DEFAULT",
"categories": [
"IAB12"
],
"currency": "USD",
"created_at": "2016-11-07T22:12:27Z",
"tracking_tags": [],
"updated_at": "2016-11-07T22:12:27Z",
"include_sentiment": "POSITIVE_ONLY",
"campaign_id": "6eo26",
"creative_source": "MANUAL",
"deleted": false
},
"request": {
"params": {
"placements": [
"PUBLISHER_NETWORK"
],
"bid_amount_local_micro": 100000,
"advertiser_domain": "twitter.com",
"product_type": "PROMOTED_TWEETS",
"objective": "APP_INSTALLS",
"paused": true,
"account_id": "18ce54d4x5t",
"categories": [
"IAB12"
],
"campaign_id": "6eo26"
}
}
}
Creating the association between the app and the line item.
$ twurl -X POST -H ads-api.twitter.com "/1/accounts/18ce54d4x5t/line_item_apps?line_item_id=6oq2e&app_store_identifier=com.twitter.android&os_type=ANDROID" | jq
{
"date_type": "line_item_apps",
"data": {
"line_item_id": "6oq2e",
"app_store_identifier": "com.twitter.android",
"id": "1dn4u",
"created_at": "2016-11-07T22:19:56Z",
"updated_at": "2016-11-07T22:19:56Z",
"os_type": "Android",
"deleted": false
}
}
Retrieving the associations.
$ twurl -H ads-api.twitter.com "/1/accounts/18ce54d4x5t/line_item_apps" | jq
{
"request": {
"params": {
"account_id": "18ce54d4x5t"
}
},
"data": [
{
"line_item_id": "6oq2e",
"app_store_identifier": "com.twitter.android",
"id": "1dn4u",
"created_at": "2016-11-07T22:19:56Z",
"updated_at": "2016-11-07T22:19:56Z",
"os_type": "Android",
"deleted": false
}
],
"data_type": "line_item_apps",
"total_count": 1,
"next_cursor": null
}
Same result when including with_deleted=true.
Anything here look different than what you did?