facebook-nodejs-business-sdk
Version:
SDK for the Facebook Ads API in Javascript and Node.js
39 lines (36 loc) • 983 B
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';
/**
* OrderIDAttributions
* @extends AbstractCrudObject
* @see {@link https://developers.facebook.com/docs/marketing-api/}
*/
export default class OrderIDAttributions extends AbstractCrudObject {
static get Fields () {
return Object.freeze({
app_id: 'app_id',
attribution_type: 'attribution_type',
attributions: 'attributions',
conversion_device: 'conversion_device',
dataset_id: 'dataset_id',
holdout_status: 'holdout_status',
order_id: 'order_id',
order_timestamp: 'order_timestamp',
pixel_id: 'pixel_id',
id: 'id'
});
}
get (fields, params): OrderIDAttributions {
return this.read(
fields,
params
);
}
}