How to set up for MACT about app associated with PromotedTweet


#1

hello,

When i try to promote a tweet, i encounter a err:

App (mact_app_id=462813) associated with PromotedTweet must be set up for MACT when using BidUnit COST_PER_INSTALL on LineItem.

It seems that i should set up my image download card with some specific property field about MACT, However, I do not find any related property field about it from API: https://dev.twitter.com/ads/reference/post/accounts/account_id/cards/image_app_download

follows are detailed information:

  1. create a campaign
  2. create a line item, set up with:

product_type=PROMOTED_TWEETS&placements=PUBLISHER_NETWORK, TWITTER_TIMELINE,TWITTER_PROFILE&objective=APP_INSTALLS&bid_unit=APP_INSTALL&charge_by=APP_INSTALL

3, target multiple criteria, such as followers, keywords, location, language and so on.
4, create a image app download card, set up with:

app_country_code=JP&app_cta=INSTALL&googleplay_app_id=com.toutiao.topbuzzvideo&wide_app_image_media_id=12323422323

5,create nullcasted tweet, set up with: https://dev.twitter.com/ads/reference/post/accounts/account_id/tweet

status=create_a_tweet&as_user_id=780286001667125248

6, create promoted tweets, set up with:
https://dev.twitter.com/ads/reference/post/accounts/account_id/promoted_tweets

line_item_id=ju67&tweet_id=28922323

I got a err when program executes step 6.


#2

@TopBuzzApp1: Thanks for providing these details.

It sounds like you’re seeing the following error:

$ twurl -X POST -H ads-api.twitter.com "/1/accounts/18ce54d4x5t/promoted_tweets?line_item_id=807ce&tweet_ids={tweet_id}"
{
  "errors": [
    {
      "code": "INVALID",
      "message": "App (mact_app_id={mact_app_id}) associated with PromotedTweet must be set up for MACT when using BidUnit COST_PER_INSTALL on LineItem",
      "attribute": ""
    }
  ],
  "request": {
    "params": {
      "line_item_id": "807ce",
      "tweet_ids": [
        {tweet_id}
      ],
      "account_id": "18ce54d4x5t"
    }
  }
}

This indicates that you need to set up mobile app conversion tracking for that specific app. In the Twitter Ads UI, go to Tools > Conversion tracking and then select the Mobile app events tab. The URL is something like https://ads.twitter.com/accounts/ACCOUNT_ID/conversion_tracking?type=mobile (replace ACCOUNT_ID with your actual account ID). That’ll help guide you on how to get started.

This Create an app installs or app engagement campaign documentation may also help. Specifically, the “Measurement & Optimization” section.

Hope this helps.