This is slightly related to this issue: frequency_cap problem
We have accounts such as (account id: 4nuic) that we have access to set duration_in_days and frequency_cap in the Twitter UI. We would like to implement this feature and test it before attempting to set it on this account.
So we are using the sandbox API to test this feature.
We tried to set the duration_in_days and frequency cap on the campaign endpoint for a campaign, and received:
TWURL:
twurl -H "https://ads-api-sandbox.twitter.com/" "/1/accounts/gq10xk/campaigns" -d "name=RF Campaign 2" -d "start_time=2016-06-06T23:47:59Z" -d "daily_budget_amount_local_micro=15380000" -d "total_budget_amount_local_micro=123000000" -d "paused=true" -d "standard_delivery=true" -d "funding_instrument_id=hxi1e" -d "duration_in_days=7" -d "frequency_cap=7" -t | json-prettify
Response:
"errors": [
{
"code": "INVALID",
"message": "Saving value to field duration_in_days, frequency_cap requires account feature: REACH_FREQUENCY_CAP",
"attribute": "duration_in_days, frequency_cap"
}
],
"request": {
"params": {
"name": "RF Campaign 2",
"start_time": "2016-06-06T23:47:59Z",
"daily_budget_amount_local_micro": 15380000,
"funding_instrument_id": "hxi1e",
"duration_in_days": 7,
"standard_delivery": true,
"total_budget_amount_local_micro": 123000000,
"paused": true,
"account_id": "gq10xk",
"frequency_cap": 7
}
So we tried to add the feature to our sandbox account:
TWURL:
twurl -H "https://ads-api-sandbox.twitter.com/" "/1/accounts/gq10xk/features" -d "feature_keys=REACH_FREQUENCY_CAP" -t | json-prettify
Response:
"request":{"params":{"account_id":"gq10xk"}},"data_type":"features","data":["AGE_TARGETING","ALLOW_SKIPPABLE_VIDEOS_FOR_VIDEO_VIEWS_PREROLL_OBJECTIVE","BRAND_TPN","CONVERSATION_CARD","CPI_CHARGING","EVENT_TARGETING","INSTALLED_APP_CATEGORY_TARGETING","MOBILE_CONVERSION_TRANSACTION_VALUE","OPTIMIZED_ACTION_BIDDING","QUALIFIED_IMPRESSIONS_OBJECTIVE","VIDEO_VIEWS_PREROLL_OBJECTIVE","VIDEO_APP_DOWNLOAD_CARD","REACH_AND_FREQUENCY_ANALYTICS"]
Notice how the feature doesn’t return REACH_FREQUENCY_CAP in this list.
Can you please help us understand how to test this feature and set it up? We have accounts where it is available in the Twitter UI, but even these accounts don’t have a REACH_FREQUENCY_CAP feature permission.
Please advise.