facebook-nodejs-business-sdk
Version:
SDK for the Facebook Marketing API in Javascript and Node.js
48 lines (44 loc) • 1.3 kB
JavaScript
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* 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';
/**
* AdsPixelStatsResult
* @extends AbstractCrudObject
* @see {@link https://developers.facebook.com/docs/marketing-api/}
*/
export default class AdsPixelStatsResult extends AbstractCrudObject {
static get Fields (): Object {
return Object.freeze({
aggregation: 'aggregation',
data: 'data',
start_time: 'start_time',
});
}
static get Aggregation (): Object {
return Object.freeze({
browser_type: 'browser_type',
custom_data_field: 'custom_data_field',
device_os: 'device_os',
device_type: 'device_type',
event: 'event',
event_detection_method: 'event_detection_method',
event_processing_results: 'event_processing_results',
event_source: 'event_source',
event_total_counts: 'event_total_counts',
event_value_count: 'event_value_count',
had_pii: 'had_pii',
host: 'host',
match_keys: 'match_keys',
pixel_fire: 'pixel_fire',
url: 'url',
url_by_rule: 'url_by_rule',
});
}
}