facebook-nodejs-business-sdk
Version:
SDK for the Facebook Ads API in Javascript and Node.js
44 lines (41 loc) • 1.14 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';
/**
* AdToplineDetail
* @extends AbstractCrudObject
* @see {@link https://developers.facebook.com/docs/marketing-api/}
*/
export default class AdToplineDetail extends AbstractCrudObject {
static get Fields () {
return Object.freeze({
active_status: 'active_status',
ad_account_id: 'ad_account_id',
flight_end_date: 'flight_end_date',
flight_start_date: 'flight_start_date',
id: 'id',
io_number: 'io_number',
line_number: 'line_number',
price: 'price',
quantity: 'quantity',
sf_detail_line_id: 'sf_detail_line_id',
subline_id: 'subline_id',
targets: 'targets',
time_created: 'time_created',
time_updated: 'time_updated',
topline_id: 'topline_id'
});
}
get (fields, params): AdToplineDetail {
return this.read(
fields,
params
);
}
}