UNPKG

facebook-nodejs-business-sdk

Version:
51 lines (48 loc) 2.11 kB
/** * Copyright (c) 2017-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the license found in the * LICENSE file in the root directory of this source tree. * @flow */ import {AbstractCrudObject} from './../abstract-crud-object'; /** * AdAccountAdVolume * @extends AbstractCrudObject * @see {@link https://developers.facebook.com/docs/marketing-api/} */ export default class AdAccountAdVolume extends AbstractCrudObject { static get Fields (): Object { return Object.freeze({ actor_id: 'actor_id', actor_name: 'actor_name', ad_limit_scope_business: 'ad_limit_scope_business', ad_limit_scope_business_manager_id: 'ad_limit_scope_business_manager_id', ad_limit_set_by_page_admin: 'ad_limit_set_by_page_admin', ads_running_or_in_review_count: 'ads_running_or_in_review_count', ads_running_or_in_review_count_subject_to_limit_set_by_page: 'ads_running_or_in_review_count_subject_to_limit_set_by_page', current_account_ads_running_or_in_review_count: 'current_account_ads_running_or_in_review_count', future_limit_activation_date: 'future_limit_activation_date', future_limit_on_ads_running_or_in_review: 'future_limit_on_ads_running_or_in_review', limit_on_ads_running_or_in_review: 'limit_on_ads_running_or_in_review', recommendations: 'recommendations', }); } static get RecommendationType (): Object { return Object.freeze({ aco_toggle: 'ACO_TOGGLE', aggregated_bid_limited: 'AGGREGATED_BID_LIMITED', aggregated_budget_limited: 'AGGREGATED_BUDGET_LIMITED', aggregated_cost_limited: 'AGGREGATED_COST_LIMITED', auction_overlap: 'AUCTION_OVERLAP', creative_fatigue: 'CREATIVE_FATIGUE', fragmentation: 'FRAGMENTATION', learning_limited: 'LEARNING_LIMITED', top_adsets_with_ads_under_cap: 'TOP_ADSETS_WITH_ADS_UNDER_CAP', top_campaigns_with_ads_under_cap: 'TOP_CAMPAIGNS_WITH_ADS_UNDER_CAP', uneconomical_ads_throttling: 'UNECONOMICAL_ADS_THROTTLING', zero_impression: 'ZERO_IMPRESSION', }); } }