Hi @juanshishido,
It doesn’t seem to work for us. I created a new campaign and line item (as shown below). Then, I created a line item app and tried to get it, and got nothing back.
Response from POST to Create a New Campaign
Response Code = 201
{"data_type":"campaign","data":{"name":"Test App Installs","start_time":"2016-12-20T07:00:00Z",
"reasons_not_servable":["STARTS_IN_FUTURE","INCOMPLETE"],"servable":false,
"daily_budget_amount_local_micro":2000000,"end_time":"2016-12-30T07:00:00Z",
"funding_instrument_id":"i1efw","duration_in_days":null,"standard_delivery":true,
"total_budget_amount_local_micro":5000000,"id":"6ri37","entity_status":"ACTIVE",
"paused":false,"account_id":"okrly1","frequency_cap":null,"currency":"USD",
"created_at":"2016-12-12T18:42:46Z","updated_at":"2016-12-12T18:42:46Z",
"deleted":false},"request":{"params":{"name":"Test App Installs",
"start_time":"2016-12-20T07:00:00Z","daily_budget_amount_local_micro":2000000,
"end_time":"2016-12-30T07:00:00Z","funding_instrument_id":"i1efw",
"standard_delivery":true,"total_budget_amount_local_micro":5000000,"account_id":"okrly1"}}}
Response from POST to Create a New Line Item
Response Code = 201
{"data_type":"line_item","data":{"bid_type":"MAX","advertiser_user_id":342317535,
"name":"Test Line Item ~ App Installs ~ Line Item App",
"placements":["ALL_ON_TWITTER"],"start_time":null,
"bid_amount_local_micro":100000,"automatically_select_bid":false,
"advertiser_domain":null,"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":"7227g","entity_status":"ACTIVE",
"paused":false,"account_id":"okrly1","optimization":"DEFAULT",
"categories":[],"currency":"USD","created_at":"2016-12-12T18:57:06Z",
"tracking_tags":[],"updated_at":"2016-12-12T18:57:06Z",
"include_sentiment":"POSITIVE_ONLY","campaign_id":"6ri37",
"creative_source":"MANUAL","deleted":false},
"request":{"params":{"bid_type":"MAX",
"name":"Test Line Item ~ App Installs ~ Line Item App",
"placements":["ALL_ON_TWITTER"],"bid_amount_local_micro":100000,
"charge_by":"APP_CLICK","product_type":"PROMOTED_TWEETS",
"bid_unit":"APP_CLICK","objective":"APP_INSTALLS",
"paused":false,"account_id":"okrly1","include_sentiment":"POSITIVE_ONLY",
"campaign_id":"6ri37","creative_source":"MANUAL"}}}
Response to POST to create Line Item App
Response Code = 201
{"date_type":"line_item_apps",
"data":{"line_item_id":"7227g","app_store_identifier":"com.futuretwo.dellvr",
"id":"1gfq1","created_at":"2016-12-12T19:00:20Z",
"updated_at":"2016-12-12T19:00:20Z","os_type":"Android","deleted":false}}
======
GET call to Get Line Item App. We expect to see the line item app created above, but get nothing.
Response Code = 200
{"request":{"params":{"with_deleted":true,"line_item_id":"7227g",
"account_id":"okrly1"}},"data":[],"data_type":"line_item_apps",
"total_count":0,"next_cursor":null}
===
If I try to get all Line Item Apps for the account “okrly1”, I get a similar result… no data, but a HTTP 200 response, as shown below:
Response Code = 200
{"request":{"params":{"with_deleted":true,"account_id":"okrly1"}},
"data":[],"data_type":"line_item_apps","total_count":0,"next_cursor":null}