I am looking for Targeting Criteria on Line Item ID.
As per document, this API call should always return a language code for Targeting value in case of Targeting Type is Language.
But, precisely on 8th July I observed that, Twitter API did not return Targeting Value the way it was sending before, only if the Targeting Type is Language.
Below is the data we received on 8th July
https://ads-api.twitter.com/0/accounts/{acctid}/targeting_criteria?line_item_id={lineitemid}&with_deleted=true&count=100
{
“line_item_id”: “******”,
“name”: “English”,
“id”: “******”,
“account_id”: “******”,
“created_at”: “2015-01-31T20:33:08Z”,
“targeting_value”: {
“id”: 4,
“code”: “en”,
“name”: “English”,
“created_at”: {
“posixTime”: 1394746281
},
“updated_at”: {
“posixTime”: 1394746281
},
“deleted”: 0
},
“updated_at”: “2015-01-31T20:33:08Z”,
“deleted”: false,
“targeting_type”: “LANGUAGE”
},
Below is the response I received before and after 8th July.
{
“line_item_id”: “",
“name”: “English”,
“id”: "",
“account_id”: "*****”,
“created_at”: “2015-01-31T20:33:08Z”,
“targeting_value”: “en”,
“updated_at”: “2015-01-31T20:33:08Z”,
“deleted”: false,
“targeting_type”: “LANGUAGE”
},
Can you please help me to understand the changes and its possibility of future occurrences? Or the conditions when API will return such values.
Also, tell me if you need any further information from my side.