@types/facebook-nodejs-business-sdk
Version:
TypeScript definitions for facebook-nodejs-business-sdk
24 lines (23 loc) • 1.19 kB
TypeScript
import { AbstractCrudObject } from "./../abstract-crud-object";
import AbstractObject from "./../abstract-object";
import Cursor from "./../cursor";
/**
* AdLabel
* @see {@link https://developers.facebook.com/docs/marketing-api/}
*/
export default class AdLabel extends AbstractCrudObject {
static get Fields(): Readonly<{
account: "account";
created_time: "created_time";
id: "id";
name: "name";
updated_time: "updated_time";
}>;
getAdCreatives(fields: string[], params?: Record<string, any>, fetchFirstPage?: boolean): Cursor | Promise<Cursor>;
getAds(fields: string[], params?: Record<string, any>, fetchFirstPage?: boolean): Cursor | Promise<Cursor>;
getAdSets(fields: string[], params?: Record<string, any>, fetchFirstPage?: boolean): Cursor | Promise<Cursor>;
getCampaigns(fields: string[], params?: Record<string, any>, fetchFirstPage?: boolean): Cursor | Promise<Cursor>;
delete(fields: string[], params?: Record<string, any>): Promise<AbstractObject>;
get(fields: string[], params?: Record<string, any>): Promise<AdLabel>;
update(fields: string[], params?: Record<string, any>): Promise<AdLabel>;
}