Class: FacebookAds::AdAccount

Inherits:
AdObject
  • Object
show all
Defined in:
lib/facebook_ads/ad_objects/ad_account.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

CURRENCY =
[
  "AED",
  "ARS",
  "AUD",
  "BDT",
  "BOB",
  "BRL",
  "CAD",
  "CHF",
  "CLP",
  "CNY",
  "COP",
  "CRC",
  "CZK",
  "DKK",
  "DZD",
  "EGP",
  "EUR",
  "GBP",
  "GTQ",
  "HKD",
  "HNL",
  "HUF",
  "IDR",
  "ILS",
  "INR",
  "ISK",
  "JPY",
  "KES",
  "KRW",
  "LKR",
  "MOP",
  "MXN",
  "MYR",
  "NGN",
  "NIO",
  "NOK",
  "NZD",
  "PEN",
  "PHP",
  "PKR",
  "PLN",
  "PYG",
  "QAR",
  "RON",
  "SAR",
  "SEK",
  "SGD",
  "THB",
  "TRY",
  "TWD",
  "UAH",
  "USD",
  "UYU",
  "VND",
  "ZAR",
]
PERMITTED_TASKS =
[
  "AA_ANALYZE",
  "ADVERTISE",
  "ANALYZE",
  "DRAFT",
  "MANAGE",
]
TASKS =
[
  "AA_ANALYZE",
  "ADVERTISE",
  "ANALYZE",
  "DRAFT",
  "MANAGE",
]
BRAND_SAFETY_CONTENT_FILTER_LEVELS =
[
  "AN_RELAXED",
  "AN_STANDARD",
  "AN_STRICT",
  "FACEBOOK_RELAXED",
  "FACEBOOK_STANDARD",
  "FACEBOOK_STRICT",
  "FEED_DNM",
  "FEED_RELAXED",
  "FEED_STANDARD",
  "FEED_STRICT",
  "UNINITIALIZED",
  "UNKNOWN",
]
CLAIM_OBJECTIVE =
[
  "AUTOMOTIVE_MODEL",
  "COLLABORATIVE_ADS",
  "HOME_LISTING",
  "MEDIA_TITLE",
  "PRODUCT",
  "TRAVEL",
  "VEHICLE",
  "VEHICLE_OFFER",
]
CONTENT_TYPE =
[
  "AUTOMOTIVE_MODEL",
  "DESTINATION",
  "FLIGHT",
  "GENERIC",
  "HOME_LISTING",
  "HOTEL",
  "JOB",
  "LOCAL_SERVICE_BUSINESS",
  "MEDIA_TITLE",
  "OFFLINE_PRODUCT",
  "PRODUCT",
  "VEHICLE",
  "VEHICLE_OFFER",
]
SUBTYPE =
[
  "APP",
  "BAG_OF_ACCOUNTS",
  "BIDDING",
  "CLAIM",
  "CUSTOM",
  "ENGAGEMENT",
  "EXCLUSION",
  "FOX",
  "LOOKALIKE",
  "MANAGED",
  "MEASUREMENT",
  "OFFLINE_CONVERSION",
  "PARTNER",
  "PRIMARY",
  "REGULATED_CATEGORIES_AUDIENCE",
  "STUDY_RULE_AUDIENCE",
  "SUBSCRIBER_SEGMENT",
  "VIDEO",
  "WEBSITE",
]
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