import { AbstractCrudObject } from "./../abstract-crud-object"; import Cursor from "./../cursor"; import AdAccountBusinessConstraints from "./ad-account-business-constraints"; import AdPlacePageSet from "./ad-place-page-set"; import AdCreative from "./ad-creative"; import AdImage from "./ad-image"; import AdLabel from "./ad-label"; import PlayableContent from "./playable-content"; import AdRule from "./ad-rule"; import Ad from "./ad"; import AdSet from "./ad-set"; import AdsPixel from "./ads-pixel"; import AdVideo from "./ad-video"; import Campaign from "./campaign"; import AdAsyncRequestSet from "./ad-async-request-set"; import CustomAudience from "./custom-audience"; import CustomConversion from "./custom-conversion"; import AdReportRun from "./ad-report-run"; import PublisherBlockList from "./publisher-block-list"; import ReachFrequencyPrediction from "./reach-frequency-prediction"; import AdAccountRecommendations from "./ad-account-recommendations"; import AdAccountSubscribedApps from "./ad-account-subscribed-apps"; import AdsValueAdjustmentRuleCollection from "./ads-value-adjustment-rule-collection"; /** * AdAccount * @see {@link https://developers.facebook.com/docs/marketing-api/} */ export default class AdAccount extends AbstractCrudObject { static get Fields(): Readonly<{ account_id: "account_id"; account_status: "account_status"; ad_account_promotable_objects: "ad_account_promotable_objects"; age: "age"; agency_client_declaration: "agency_client_declaration"; all_capabilities: "all_capabilities"; amount_spent: "amount_spent"; attribution_spec: "attribution_spec"; balance: "balance"; brand_safety_content_filter_levels: "brand_safety_content_filter_levels"; business: "business"; business_city: "business_city"; business_country_code: "business_country_code"; business_name: "business_name"; business_state: "business_state"; business_street: "business_street"; business_street2: "business_street2"; business_zip: "business_zip"; can_create_brand_lift_study: "can_create_brand_lift_study"; capabilities: "capabilities"; created_time: "created_time"; currency: "currency"; custom_audience_info: "custom_audience_info"; default_dsa_beneficiary: "default_dsa_beneficiary"; default_dsa_payor: "default_dsa_payor"; disable_reason: "disable_reason"; end_advertiser: "end_advertiser"; end_advertiser_name: "end_advertiser_name"; existing_customers: "existing_customers"; expired_funding_source_details: "expired_funding_source_details"; extended_credit_invoice_group: "extended_credit_invoice_group"; failed_delivery_checks: "failed_delivery_checks"; fb_entity: "fb_entity"; funding_source: "funding_source"; funding_source_details: "funding_source_details"; has_migrated_permissions: "has_migrated_permissions"; has_page_authorized_adaccount: "has_page_authorized_adaccount"; id: "id"; io_number: "io_number"; is_attribution_spec_system_default: "is_attribution_spec_system_default"; is_ba_skip_delayed_eligible: "is_ba_skip_delayed_eligible"; is_direct_deals_enabled: "is_direct_deals_enabled"; is_in_3ds_authorization_enabled_market: "is_in_3ds_authorization_enabled_market"; is_notifications_enabled: "is_notifications_enabled"; is_personal: "is_personal"; is_prepay_account: "is_prepay_account"; is_tax_id_required: "is_tax_id_required"; liable_address: "liable_address"; line_numbers: "line_numbers"; media_agency: "media_agency"; min_campaign_group_spend_cap: "min_campaign_group_spend_cap"; min_daily_budget: "min_daily_budget"; name: "name"; offsite_pixels_tos_accepted: "offsite_pixels_tos_accepted"; owner: "owner"; owner_business: "owner_business"; partner: "partner"; rf_spec: "rf_spec"; send_bill_to_address: "send_bill_to_address"; show_checkout_experience: "show_checkout_experience"; sold_to_address: "sold_to_address"; spend_cap: "spend_cap"; tax_id: "tax_id"; tax_id_status: "tax_id_status"; tax_id_type: "tax_id_type"; timezone_id: "timezone_id"; timezone_name: "timezone_name"; timezone_offset_hours_utc: "timezone_offset_hours_utc"; tos_accepted: "tos_accepted"; user_access_expire_time: "user_access_expire_time"; user_tasks: "user_tasks"; user_tos_accepted: "user_tos_accepted"; viewable_business: "viewable_business"; }>; static get Currency(): Readonly<{ aed: "AED"; ars: "ARS"; aud: "AUD"; bdt: "BDT"; bob: "BOB"; brl: "BRL"; cad: "CAD"; chf: "CHF"; clp: "CLP"; cny: "CNY"; cop: "COP"; crc: "CRC"; czk: "CZK"; dkk: "DKK"; dzd: "DZD"; egp: "EGP"; eur: "EUR"; gbp: "GBP"; gtq: "GTQ"; hkd: "HKD"; hnl: "HNL"; huf: "HUF"; idr: "IDR"; ils: "ILS"; inr: "INR"; isk: "ISK"; jpy: "JPY"; kes: "KES"; krw: "KRW"; lkr: "LKR"; mop: "MOP"; mxn: "MXN"; myr: "MYR"; ngn: "NGN"; nio: "NIO"; nok: "NOK"; nzd: "NZD"; pen: "PEN"; php: "PHP"; pkr: "PKR"; pln: "PLN"; pyg: "PYG"; qar: "QAR"; ron: "RON"; sar: "SAR"; sek: "SEK"; sgd: "SGD"; thb: "THB"; try: "TRY"; twd: "TWD"; uah: "UAH"; usd: "USD"; uyu: "UYU"; vnd: "VND"; zar: "ZAR"; }>; static get PermittedTasks(): Readonly<{ aa_analyze: "AA_ANALYZE"; advertise: "ADVERTISE"; analyze: "ANALYZE"; draft: "DRAFT"; manage: "MANAGE"; }>; static get Tasks(): Readonly<{ aa_analyze: "AA_ANALYZE"; advertise: "ADVERTISE"; analyze: "ANALYZE"; draft: "DRAFT"; manage: "MANAGE"; }>; static get BrandSafetyContentFilterLevels(): Readonly<{ an_relaxed: "AN_RELAXED"; an_standard: "AN_STANDARD"; an_strict: "AN_STRICT"; facebook_relaxed: "FACEBOOK_RELAXED"; facebook_standard: "FACEBOOK_STANDARD"; facebook_strict: "FACEBOOK_STRICT"; feed_dnm: "FEED_DNM"; feed_relaxed: "FEED_RELAXED"; feed_standard: "FEED_STANDARD"; feed_strict: "FEED_STRICT"; uninitialized: "UNINITIALIZED"; unknown: "UNKNOWN"; }>; static get ClaimObjective(): Readonly<{ automotive_model: "AUTOMOTIVE_MODEL"; collaborative_ads: "COLLABORATIVE_ADS"; home_listing: "HOME_LISTING"; media_title: "MEDIA_TITLE"; product: "PRODUCT"; travel: "TRAVEL"; vehicle: "VEHICLE"; vehicle_offer: "VEHICLE_OFFER"; }>; static get ContentType(): Readonly<{ automotive_model: "AUTOMOTIVE_MODEL"; destination: "DESTINATION"; flight: "FLIGHT"; generic: "GENERIC"; home_listing: "HOME_LISTING"; hotel: "HOTEL"; local_service_business: "LOCAL_SERVICE_BUSINESS"; media_title: "MEDIA_TITLE"; offline_product: "OFFLINE_PRODUCT"; product: "PRODUCT"; vehicle: "VEHICLE"; vehicle_offer: "VEHICLE_OFFER"; }>; static get Subtype(): Readonly<{ app: "APP"; bag_of_accounts: "BAG_OF_ACCOUNTS"; bidding: "BIDDING"; claim: "CLAIM"; custom: "CUSTOM"; engagement: "ENGAGEMENT"; exclusion: "EXCLUSION"; fox: "FOX"; lookalike: "LOOKALIKE"; managed: "MANAGED"; measurement: "MEASUREMENT"; messenger_subscriber_list: "MESSENGER_SUBSCRIBER_LIST"; offline_conversion: "OFFLINE_CONVERSION"; partner: "PARTNER"; primary: "PRIMARY"; regulated_categories_audience: "REGULATED_CATEGORIES_AUDIENCE"; study_rule_audience: "STUDY_RULE_AUDIENCE"; video: "VIDEO"; website: "WEBSITE"; }>; static get ActionSource(): Readonly<{ physical_store: "PHYSICAL_STORE"; website: "WEBSITE"; }>; getAccountControls(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createAccountControl(fields: string[], params?: Record, pathOverride?: string | null): Promise; getActivities(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getAdPlacePageSets(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createAdPlacePageSet(fields: string[], params?: Record, pathOverride?: string | null): Promise; createAdPlacePageSetsAsync(fields: string[], params?: Record, pathOverride?: string | null): Promise; getAdSavedKeywords(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getAdStudies(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getAdCloudPlayables(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getAdCreatives(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createAdCreative(fields: string[], params?: Record, pathOverride?: string | null): Promise; getAdCreativesByLabels(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; deleteAdImages(params?: Record): Promise; getAdImages(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createAdImage(fields: string[], params?: Record, pathOverride?: string | null): Promise; getAdLabels(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createAdLabel(fields: string[], params?: Record, pathOverride?: string | null): Promise; getAdPlayables(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createAdPlayable(fields: string[], params?: Record, pathOverride?: string | null): Promise; getAdRulesHistory(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getAdRulesLibrary(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createAdRulesLibrary(fields: string[], params?: Record, pathOverride?: string | null): Promise; getAds(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createAd(fields: string[], params?: Record, pathOverride?: string | null): Promise; getAdsReportingMmmReports(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getAdsReportingMmmSchedulers(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getAdsVolume(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getAdsByLabels(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getAdSets(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createAdSet(fields: string[], params?: Record, pathOverride?: string | null): Promise; getAdSetsByLabels(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getAdsPixels(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createAdsPixel(fields: string[], params?: Record, pathOverride?: string | null): Promise; getAdvertisableApplications(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; deleteAdVideos(params?: Record): Promise; getAdVideos(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createAdVideo(fields: string[], params?: Record, pathOverride?: string | null): Promise; getAffectedAdSets(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; deleteAgencies(params?: Record): Promise; getAgencies(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createAgency(fields: string[], params?: Record, pathOverride?: string | null): Promise; getApplications(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; deleteAssignedUsers(params?: Record): Promise; getAssignedUsers(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createAssignedUser(fields: string[], params?: Record, pathOverride?: string | null): Promise; createAsyncBatchRequest(fields: string[], params?: Record, pathOverride?: string | null): Promise; getAsyncRequests(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getAsyncAdCreatives(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createAsyncAdCreative(fields: string[], params?: Record, pathOverride?: string | null): Promise; getAsyncAdRequestSets(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createAsyncAdRequestSet(fields: string[], params?: Record, pathOverride?: string | null): Promise; getAudienceFunnel(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createBlockListDraft(fields: string[], params?: Record, pathOverride?: string | null): Promise; createBrandSafetyContentFilterLevel(fields: string[], params?: Record, pathOverride?: string | null): Promise; getBroadTargetingCategories(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getBusinessProjects(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; deleteCampaigns(params?: Record): Promise; getCampaigns(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createCampaign(fields: string[], params?: Record, pathOverride?: string | null): Promise; getCampaignsByLabels(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getConnectedInstagramAccounts(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getConnectedInstagramAccountsWithIabp(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getConversionGoals(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getCustomAudiences(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createCustomAudience(fields: string[], params?: Record, pathOverride?: string | null): Promise; getCustomAudiencesTos(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createCustomAudiencesTo(fields: string[], params?: Record, pathOverride?: string | null): Promise; getCustomConversions(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createCustomConversion(fields: string[], params?: Record, pathOverride?: string | null): Promise; getDeliveryEstimate(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getDeprecatedTargetingAdSets(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getDsaRecommendations(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getGeneratePreviews(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getImpactingAdStudies(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getInsights(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getInsightsAsync(fields: string[], params?: Record, pathOverride?: string | null): Promise; getInstagramAccounts(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getIosFourteenCampaignLimits(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getMatchedSearchApplications(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getMaxBid(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getMcmeConversions(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getMinimumBudgets(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getOnBehalfRequests(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createProductAudience(fields: string[], params?: Record, pathOverride?: string | null): Promise; getPromotePages(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getPublisherBlockLists(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createPublisherBlockList(fields: string[], params?: Record, pathOverride?: string | null): Promise; getReachEstimate(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getReachFrequencyPredictions(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createReachFrequencyPrediction(fields: string[], params?: Record, pathOverride?: string | null): Promise; getRecommendations(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createRecommendation(fields: string[], params?: Record, pathOverride?: string | null): Promise; getSavedAudiences(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; deleteSubscribedApps(params?: Record): Promise; getSubscribedApps(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createSubscribedApp(fields: string[], params?: Record, pathOverride?: string | null): Promise; getTargetingBrowse(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getTargetingSearch(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getTargetingSentenceLines(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getTargetingSuggestions(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getTargetingValidATIOn(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; getTracking(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createTracking(fields: string[], params?: Record, pathOverride?: string | null): Promise; getUsers(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; deleteUsersOfAnyAudience(params?: Record): Promise; getValueRuleSet(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createValueRuleSet(fields: string[], params?: Record, pathOverride?: string | null): Promise; getVideoAds(fields: string[], params?: Record, fetchFirstPage?: boolean): Cursor | Promise; createVideoAd(fields: string[], params?: Record, pathOverride?: string | null): Promise; get(fields: string[], params?: Record): Promise; update(fields: string[], params?: Record): Promise; }