Error about QUALIFIED_VIEWS feature creating twitter line item


#1

Is there documentation somewhere about the QUALIFIED_VIEWS feature. I don’t understand why this is an HTTP 400 BAD REQUEST.

[{"code":"INVALID","message":"Saving value QUALIFIED_VIEWS to field OBJECTIVE requires one of these account features: QUALIFIED_VIEWS","attribute":"objective"}],"request":{"params":{"bid_type":"MAX","placements":["TWITTER_TIMELINE"],"bid_amount_local_micro":1000000,"product_type":"PROMOTED_TWEETS","objective":"QUALIFIED_IMPRESSIONS","account_id":"18ce54cvmes","include_sentiment":"POSITIVE_ONLY","campaign_id":"5ftbm"}}} response code 400


#2

Anything mentioning “requires one of these account features” (https://dev.twitter.com/ads/reference/get/accounts/%3Aaccount_id/features) is generally referring to something that your partner manager can help enable upon that particular account (because usually these features are not considered to be generally available yet).

In this particular example, the guide for setting up Qualified Impressions campaigns should definitely be: https://dev.twitter.com/ads/campaigns/qualified-impressions

If the account has the feature enabled in UI but not API, or used to work and now doesn’t, or some scenario like that please let us know in detail so we can track it as a regression, otherwise my assumption is it’s simply missing the permission.

Thanks,

John


#3

Hi John,

We have the following features enabled. Do you know why we’d get an error about QUALIFIED_VIEWS when we are passing QUALIFIED_IMPRESSIONS as the objective for the line item?

{"request":{"params":{"account_id":"-----"}},"data_type":"features","data":["AGE_TARGETING","ALLOW_SKIPPABLE_VIDEOS_FOR_VIDEO_VIEWS_PREROLL_OBJECTIVE","BRAND_TPN","CPI_CHARGING","ENGAGER_RETARGETING","EVENT_TARGETING","INSTALLED_APP_CATEGORY_TARGETING","MOBILE_CONVERSION_TRANSACTION_VALUE","OPTIMIZED_ACTION_BIDDING","OPTIMIZED_WEBSITE_CONVERSIONS","QUALIFIED_IMPRESSIONS_OBJECTIVE","VIDEO_APP_DOWNLOAD_CARD","REACH_AND_FREQUENCY_ANALYTICS"]}

Thanks,

Chris


#4

@chris_august7 This seems like a bug, you clearly have the campaign objective enabled.

Are you doing this in a sandbox account?


#5

in a production account, not in the sandbox


#6

Hi Chris,

The sample request you provided in your first post is for account id 18ce54cvmes, which does not have the Qualified Views/Qualified Impressions feature enabled (these two names refer to the same product). See below for the list of features enabled for that account.

If you’re seeing that error occur for an ads account which does have the feature enabled, coul dyou please provide the full request and response showing the error code, as well as the full request/response to the GET /1/accounts/:account_id/features endpoint?

twurl -H ads-api.twitter.com "/1/accounts/18ce54cvmes/features"

{
  "request": {
    "params": {
      "account_id": "18ce54cvmes"
    }
  },
  "data_type": "features",
  "data": [
    "ALLOW_SKIPPABLE_VIDEOS_FOR_VIDEO_VIEWS_PREROLL_OBJECTIVE",
    "CPI_CHARGING",
    "EVENT_TARGETING",
    "INSTALLED_APP_CATEGORY_TARGETING",
    "MOBILE_CONVERSION_TRANSACTION_VALUE",
    "OPTIMIZED_ACTION_BIDDING",
    "VIDEO_APP_DOWNLOAD_CARD"
  ]
}

#7

Hi Helen,

Thanks for the clarification. The info we were missing was that QUALIFIED_IMPRESSIONS and QUALIFIED_VIEWS are the same thing.

Chris