Detecting Campaign Status from Promoted Tweet Level Stats



What is the best way to determine state of campaign (active,paused,expired,deleted) before pulling promoted tweet level stats on a MAP campaign?


Hi, @fjcatd33. Calling the GET accounts/:account_id/campaigns endpoint should get you the information you need. Look for the paused and deleted keys. You might also find reasons_not_servable useful.

Please let us know if this helps. Thanks!


@fjcatd33: Were you able to access the information you were looking for?


Hey @juanshishido

Yes, this is the information I expected. Was hoping there was a way to do it without having to call for all the campaigns first (we run into a lot of rate limit issues) but makes sense, we’re moving forward with this strategy.