Hi All!
I’m having some issues when trying to edit a line item. Basically, when I set automatically_select_bid=true and I don’t specify bid_type, the API it’s returning me the following error:
“bid_amount_local_micro is a required parameter”
Also tried sending bid_type=AUTO and not specyfing automatically_select_bid, but I’m still receiving the same error. Here is the documentation for that endpoint: https://dev.twitter.com/ads/reference/put/accounts/%3Aaccount_id/line_items/%3Aline_item_id. For the automatically_select_bid field it says “If set to true, bid_amount_local_micro must be NULL, and bid_type will be set to AUTO.”, but it’s not working in that way.
Here is one of the requests I’m doing:
URL: https://ads-api-sandbox.twitter.com/0/accounts/gq10ri/line_items/cmnf
Body:
{
“campaign_id”: “g930”,
“product_type”: “PROMOTED_TWEETS”,
“placements”: [
“ALL_ON_TWITTER”
],
“objective”: “WEBSITE_CLICKS”,
“name”: “”,
“bid_amount_local_micro”: null,
“automatically_select_bid”: true,
“total_budget_amount_local_micro”: null,
“paused”: false,
“deleted”: false
}
Thanks in advice!