Fetching campaigns with name instead id


Hey All,

I am thinking to fetch campaigns from Twitter using name instead of id.
We have API URI available to fetch campaigns by id,

But not sure if there is any work around to fetch campaigns with matching name that we can pass by as query string parameter.
Any quick reply will be really appreciated.

Thanking you in advance.


Hi @parag_yf,

There is no request that will return results directly based on campaign name. If you want to enable searching over campaign names, you would need to collect the name information from GET accounts/:account_id/campaigns and parse it on your end.


Hi @jillblaz,

Sorry for delay in response. Thanks for your comments. I will do that way only for searching campaigns by name.