facebook-nodejs-business-sdk
Version:
SDK for the Facebook Ads API in Javascript and Node.js
39 lines (36 loc) • 1.05 kB
JavaScript
/**
* 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';
/**
* AnalyticsPlatformMetricsConfig
* @extends AbstractCrudObject
* @see {@link https://developers.facebook.com/docs/marketing-api/}
*/
export default class AnalyticsPlatformMetricsConfig extends AbstractCrudObject {
static get Fields () {
return Object.freeze({
has_a2u: 'has_a2u',
has_api_calls: 'has_api_calls',
has_app_invites: 'has_app_invites',
has_fb_login: 'has_fb_login',
has_game_requests: 'has_game_requests',
has_payments: 'has_payments',
has_referrals: 'has_referrals',
has_stories: 'has_stories',
has_structured_requests: 'has_structured_requests',
id: 'id'
});
}
get (fields, params): AnalyticsPlatformMetricsConfig {
return this.read(
fields,
params
);
}
}