Event & Behavior Target options miss matched in Twitter Ads API


#1

Hi,

Can any one help me please. I had selected two events for a ad-group in twitter native

But while fetching through API end point https://ads-api.twitter.com/4/accounts/******/targeting_criteria for the particular line item

It return result as below
Screenshot%20from%202019-03-12%2018-14-05

Where selected event name was not mentioned.

The same happen for behavior target option. I had selected Screenshot%20from%202019-03-12%2018-17-34

But it returns as below
Screenshot%20from%202019-03-12%2018-18-03

Thanks in advance.

Thanks,
Sandeep.S


#2

@sandeepsaripali

You can use Targeting Options endpoint by specifying targeting_value from that result.

twurl -H ads-api.twitter.com '/5/targeting_criteria/events?ids=248'
twurl -H ads-api.twitter.com '/5/targeting_criteria/behaviors?behavior_ids=lfls'

#3

Thanks @jrsyo for your response. It works…