Unable to update bid_unit and charge_by fields for line item of a Video View Campaign


#1

Request

url=‘https://ads-api.twitter.com/1/accounts/18ce53uo3nm/line_items/6iazs’, postParams=[PostParameter{name=‘automatically_select_bid’, value=‘true’, file=null, fileBody=null}, PostParameter{name=‘bid_amount_local_micro’, value=’’, file=null, fileBody=null}, PostParameter{name=‘charge_by’, value=‘VIEW’, file=null, fileBody=null}, PostParameter{name=‘bid_unit’, value=‘VIEW’, file=null, fileBody=null}, PostParameter{name=‘include_sentiment’, value=‘ALL’, file=null, fileBody=null}], authentication=OAuthAuthorization{consumerKey=‘TP7ebHOCMLv9Xd9nkT20Q’, consumerSecret=’******************************************’, oauthToken=AccessToken{screenName=‘null’, userId=23996599}}

Response

{“data_type”:“line_item”,“data”:{“bid_type”:“AUTO”,“advertiser_user_id”:23996599,“name”:“video saurav”,“placements”:[“TWITTER_TIMELINE”,“TWITTER_PROFILE”],“start_time”:null,“bid_amount_local_micro”:null,“automatically_select_bid”:true,“advertiser_domain”:null,“target_cpa_local_micro”:0,“primary_web_event_tag”:null,“charge_by”:“VIEW_3S_100PCT”,“product_type”:“PROMOTED_TWEETS”,“end_time”:null,“bid_unit”:“VIEW_3S_100PCT”,“total_budget_amount_local_micro”:null,“objective”:“VIDEO_VIEWS”,“id”:“6iazs”,“paused”:false,“account_id”:“18ce53uo3nm”,“optimization”:“DEFAULT”,“categories”:[],“currency”:“USD”,“created_at”:“2016-10-18T13:38:35Z”,“tracking_tags”:[],“updated_at”:“2016-10-18T13:40:26Z”,“include_sentiment”:“ALL”,“campaign_id”:“67hy3”,“creative_source”:“MANUAL”,“deleted”:false},“request”:{“params”:{“line_item_id”:“6iazs”,“bid_amount_local_micro”:"",“automatically_select_bid”:true,“account_id”:“18ce53uo3nm”,“include_sentiment”:“ALL”}}}


#2

Response code returned is 2xx but the data is same as the one created


#3

@juanshishido can you help please :slight_smile:


#4

@abhishek_pyro: Thanks for following up. We’re aware of this issue (see this post) and are working toward a resolution. However, we don’t currently have a timeframe to share.

For the time being, the workaround is to delete the line item and create a new one with the new param values.

We’ll update this thread once we have more information.