Class: FacebookAds::Business

Inherits:
AdObject show all
Defined in:
lib/facebook_ads/ad_objects/business.rb

Overview

For any issues or feature requests related to this class, please let us know on github and we’ll fix in our codegen framework. We’ll not be able to accept pull request for this class.

Constant Summary collapse

TWO_FACTOR_TYPE =
[
  "admin_required",
  "all_required",
  "none",
]
VERTICAL =
[
  "ADVERTISING",
  "AUTOMOTIVE",
  "CONSUMER_PACKAGED_GOODS",
  "ECOMMERCE",
  "EDUCATION",
  "ENERGY_AND_UTILITIES",
  "ENTERTAINMENT_AND_MEDIA",
  "FINANCIAL_SERVICES",
  "GAMING",
  "GOVERNMENT_AND_POLITICS",
  "HEALTH",
  "LUXURY",
  "MARKETING",
  "NON_PROFIT",
  "ORGANIZATIONS_AND_ASSOCIATIONS",
  "OTHER",
  "PROFESSIONAL_SERVICES",
  "RESTAURANT",
  "RETAIL",
  "TECHNOLOGY",
  "TELECOM",
  "TRAVEL",
]
PERMITTED_TASKS =
[
  "ADVERTISE",
  "ANALYZE",
  "CASHIER_ROLE",
  "CREATE_CONTENT",
  "MANAGE",
  "MANAGE_JOBS",
  "MANAGE_LEADS",
  "MESSAGING",
  "MODERATE",
  "MODERATE_COMMUNITY",
  "PAGES_MESSAGING",
  "PAGES_MESSAGING_SUBSCRIPTIONS",
  "PROFILE_PLUS_ADVERTISE",
  "PROFILE_PLUS_ANALYZE",
  "PROFILE_PLUS_CREATE_CONTENT",
  "PROFILE_PLUS_FACEBOOK_ACCESS",
  "PROFILE_PLUS_FULL_CONTROL",
  "PROFILE_PLUS_MANAGE",
  "PROFILE_PLUS_MANAGE_LEADS",
  "PROFILE_PLUS_MESSAGING",
  "PROFILE_PLUS_MODERATE",
  "PROFILE_PLUS_MODERATE_DELEGATE_COMMUNITY",
  "PROFILE_PLUS_REVENUE",
  "READ_PAGE_MAILBOXES",
  "VIEW_MONETIZATION_INSIGHTS",
]
SURVEY_BUSINESS_TYPE =
[
  "ADVERTISER",
  "AGENCY",
  "APP_DEVELOPER",
  "PUBLISHER",
]
PAGE_PERMITTED_TASKS =
[
  "ADVERTISE",
  "ANALYZE",
  "CASHIER_ROLE",
  "CREATE_CONTENT",
  "MANAGE",
  "MANAGE_JOBS",
  "MANAGE_LEADS",
  "MESSAGING",
  "MODERATE",
  "MODERATE_COMMUNITY",
  "PAGES_MESSAGING",
  "PAGES_MESSAGING_SUBSCRIPTIONS",
  "PROFILE_PLUS_ADVERTISE",
  "PROFILE_PLUS_ANALYZE",
  "PROFILE_PLUS_CREATE_CONTENT",
  "PROFILE_PLUS_FACEBOOK_ACCESS",
  "PROFILE_PLUS_FULL_CONTROL",
  "PROFILE_PLUS_MANAGE",
  "PROFILE_PLUS_MANAGE_LEADS",
  "PROFILE_PLUS_MESSAGING",
  "PROFILE_PLUS_MODERATE",
  "PROFILE_PLUS_MODERATE_DELEGATE_COMMUNITY",
  "PROFILE_PLUS_REVENUE",
  "READ_PAGE_MAILBOXES",
  "VIEW_MONETIZATION_INSIGHTS",
]
SUBVERTICAL_V2 =
[
  "ACCOUNTING_AND_TAX",
  "ACTIVITIES_AND_LEISURE",
  "AIR",
  "APPAREL_AND_ACCESSORIES",
  "ARTS_AND_HERITAGE_AND_EDUCATION",
  "AR_OR_VR_GAMING",
  "AUDIO_STREAMING",
  "AUTO",
  "AUTO_INSURANCE",
  "AUTO_RENTAL",
  "BABY",
  "BALLOT_INITIATIVE_OR_REFERENDUM",
  "BEAUTY",
  "BEAUTY_AND_FASHION",
  "BEER_AND_WINE_AND_LIQUOR_AND_MALT_BEVERAGES",
  "BOOKSTORES",
  "BROADCAST_TELEVISION",
  "BUSINESS_CONSULTANTS",
  "BUYING_AGENCY",
  "CABLE_AND_SATELLITE",
  "CABLE_TELEVISION",
  "CALL_CENTER_AND_MESSAGING_SERVICES",
  "CANDIDATE_OR_POLITICIAN",
  "CAREER",
  "CAREER_AND_TECH",
  "CASUAL_DINING",
  "CHRONIC_CONDITIONS_AND_MEDICAL_CAUSES",
  "CIVIC_INFLUENCERS",
  "CLINICAL_TRIALS",
  "COFFEE",
  "COMPUTER_AND_SOFTWARE_AND_HARDWARE",
  "CONSOLE_AND_CROSS_PLATFORM_GAMING",
  "CONSULTING",
  "CONSUMER_ELECTRONICS",
  "COUNSELING_AND_PSYCHOTHERAPY",
  "CREATIVE_AGENCY",
  "CREDIT_AND_FINANCING_AND_MORTAGES",
  "CRUISES_AND_MARINE",
  "CULTURE_AND_LIFESTYLE",
  "DATA_ANALYTICS_AND_DATA_MANAGEMENT",
  "DATING_AND_TECHNOLOGY_APPS",
  "DEPARTMENT_STORE",
  "DESKTOP_SOFTWARE",
  "DIETING_AND_FITNESS_PROGRAMS",
  "DIGITAL_NATIVE_EDUCATION_OR_TRAINING",
  "DRINKING_PLACES",
  "EDUCATION_RESOURCES",
  "ED_TECH",
  "ELEARNING_AND_MASSIVE_ONLINE_OPEN_COURSES",
  "ELECTION_COMMISSION",
  "ELECTRONICS_AND_APPLIANCES",
  "ENGINEERING_AND_DESIGN",
  "ENVIRONMENT_AND_ANIMAL_WELFARE",
  "ESPORTS",
  "EVENTS",
  "FARMING_AND_RANCHING",
  "FILE_STORAGE_AND_CLOUD_AND_DATA_SERVICES",
  "FINANCE",
  "FIN_TECH",
  "FISHING_AND_HUNTING_AND_FORESTRY_AND_LOGGING",
  "FITNESS",
  "FOOD",
  "FOOTWEAR",
  "FOR_PROFIT_COLLEGES_AND_UNIVERSITIES",
  "FULL_SERVICE_AGENCY",
  "GOVERNMENT_CONTROLLED_ENTITY",
  "GOVERNMENT_DEPARTMENT_OR_AGENCY",
  "GOVERNMENT_OFFICIAL",
  "GOVERNMENT_OWNED_MEDIA",
  "GROCERY_AND_DRUG_AND_CONVENIENCE",
  "HEAD_OF_STATE",
  "HEALTH_INSURANCE",
  "HEALTH_SYSTEMS_AND_PRACTITIONERS",
  "HEALTH_TECH",
  "HOME_AND_FURNITURE_AND_OFFICE",
  "HOME_IMPROVEMENT",
  "HOME_INSURANCE",
  "HOME_TECH",
  "HOTEL_AND_ACCOMODATION",
  "HOUSEHOLD_GOODS_DURABLE",
  "HOUSEHOLD_GOODS_NON_DURABLE",
  "HR_AND_FINANCIAL_MANAGEMENT",
  "HUMANITARIAN_OR_DISASTER_RELIEF",
  "INDEPENDENT_EXPENDITURE_GROUP",
  "INSURANCE_TECH",
  "INTERNATIONAL_ORGANIZATON",
  "INVESTMENT_BANK_AND_BROKERAGE",
  "ISSUE_ADVOCACY",
  "LEGAL",
  "LIFE_INSURANCE",
  "LOGISTICS_AND_TRANSPORTATION_AND_FLEET_MANAGEMENT",
  "MANUFACTURING",
  "MEDICAL_DEVICES_AND_SUPPLIES_AND_EQUIPMENT",
  "MEDSPA_AND_ELECTIVE_SURGERIES_AND_ALTERNATIVE_MEDICINE",
  "MINING_AND_QUARRYING",
  "MOBILE_GAMING",
  "MOVIES",
  "MUSEUMS_AND_PARKS_AND_LIBRARIES",
  "MUSIC",
  "NETWORK_SECURITY_PRODUCTS",
  "NEWS_AND_CURRENT_EVENTS",
  "NON_PRESCRIPTION",
  "NOT_FOR_PROFIT_COLLEGES_AND_UNIVERSITIES",
  "OFFICE",
  "OFFICE_OR_BUSINESS_SUPPLIES",
  "OIL_AND_GAS_AND_CONSUMABLE_FUEL",
  "ONLINE_ONLY_PUBLICATIONS",
  "PACKAGE_OR_FREIGHT_DELIVERY",
  "PARTY_INDEPENDENT_EXPENDITURE_GROUP_US",
  "PAYMENT_PROCESSING_AND_GATEWAY_SOLUTIONS",
  "PC_GAMING",
  "PEOPLE",
  "PERSONAL_CARE",
  "PET",
  "PHOTOGRAPHY_AND_FILMING_SERVICES",
  "PIZZA",
  "PLANNING_AGENCY",
  "POLITICAL_PARTY_OR_COMMITTEE",
  "PRESCRIPTION",
  "PROFESSIONAL_ASSOCIATIONS",
  "PROPERTY_AND_CASUALTY",
  "QUICK_SERVICE",
  "RADIO",
  "RAILROADS",
  "REAL_ESTATE",
  "REAL_MONEY_GAMING",
  "RECREATIONAL",
  "RELIGIOUS",
  "RESELLER",
  "RESIDENTIAL_AND_LONG_TERM_CARE_FACILITIES_AND_OUTPATIENT_CARE_CENTERS",
  "RETAIL_AND_CREDIT_UNION_AND_COMMERCIAL_BANK",
  "RIDE_SHARING_OR_TAXI_SERVICES",
  "SAFETY_SERVICES",
  "SCHOLARLY",
  "SCHOOL_AND_EARLY_CHILDREN_EDCATION",
  "SOCIAL_MEDIA",
  "SOFTWARE_AS_A_SERVICE",
  "SPORTING",
  "SPORTING_AND_OUTDOOR",
  "SPORTS",
  "SUPERSTORES",
  "T1_AUTOMOTIVE_MANUFACTURER",
  "T1_MOTORCYCLE",
  "T2_DEALER_ASSOCIATIONS",
  "T3_AUTO_AGENCY",
  "T3_AUTO_RESELLERS",
  "T3_DEALER_GROUPS",
  "T3_FRANCHISE_DEALER",
  "T3_INDEPENDENT_DEALER",
  "T3_PARTS_AND_SERVICES",
  "T3_PORTALS",
  "TELECOMMUNICATIONS_EQUIPMENT_AND_ACCESSORIES",
  "TELEPHONE_SERVICE_PROVIDERS_AND_CARRIERS",
  "TICKETING",
  "TOBACCO",
  "TOURISM_AND_TRAVEL_SERVICES",
  "TOURISM_BOARD",
  "TOY_AND_HOBBY",
  "TRADE_SCHOOL",
  "TRAVEL_AGENCIES_AND_GUIDES_AND_OTAS",
  "UTILITIES_AND_ENERGY_EQUIPMENT_AND_SERVICES",
  "VETERINARY_CLINICS_AND_SERVICES",
  "VIDEO_STREAMING",
  "VIRTUAL_SERVICES",
  "VITAMINS_OR_WELLNESS",
  "WAREHOUSING_AND_STORAGE",
  "WATER_AND_SOFT_DRINK_AND_BAVERAGE",
  "WEBSITE_DESIGNERS_OR_GRAPHIC_DESIGNERS",
  "WHOLESALE",
  "WIRELESS_SERVICES",
]
VERTICAL_V2 =
[
  "ADVERTISING_AND_MARKETING",
  "AGRICULTURE",
  "AUTOMOTIVE",
  "BANKING_AND_CREDIT_CARDS",
  "BUSINESS_TO_BUSINESS",
  "CONSUMER_PACKAGED_GOODS",
  "ECOMMERCE",
  "EDUCATION",
  "ENERGY_AND_NATURAL_RESOURCES_AND_UTILITIES",
  "ENTERTAINMENT_AND_MEDIA",
  "GAMING",
  "GOVERNMENT",
  "HEALTHCARE_AND_PHARMACEUTICALS_AND_BIOTECH",
  "INSURANCE",
  "NON_PROFIT",
  "ORGANIZATIONS_AND_ASSOCIATIONS",
  "POLITICS",
  "PROFESSIONAL_SERVICES",
  "PUBLISHING",
  "RESTAURANTS",
  "RETAIL",
  "TECHNOLOGY",
  "TELECOM",
  "TRAVEL",
]
ACTION_SOURCE =
[
  "PHYSICAL_STORE",
  "WEBSITE",
]

Instance Attribute Summary

Attributes inherited from AdObject

#__all_fields, #attributes, #deserializer, #last_api_response, #last_destroyed, #last_saved

Method Summary

Methods inherited from AdObject

#[], #as_json, #changes, #destroy, #fields_as_string, get, #graph_params, #id, #initialize, #inspect, #load!, #loaded?, #reload!, #save, #session, #session=, #to_hash, #to_json, #update_attributes

Methods included from GraphEdges

included

Methods included from GraphNodes

included

Methods included from Fields

included

Constructor Details

This class inherits a constructor from FacebookAds::AdObject