Class: FacebookAds::CustomAudience

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

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",
]
CUSTOMER_FILE_SOURCE =
[
  "BOTH_USER_AND_PARTNER_PROVIDED",
  "PARTNER_PROVIDED_ONLY",
  "USER_PROVIDED_ONLY",
]
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",
]

Constants included from CustomAudienceHelpers

FacebookAds::CustomAudienceHelpers::MULTIKEY_SCHEMAS, FacebookAds::CustomAudienceHelpers::SCHEMAS, FacebookAds::CustomAudienceHelpers::SCHEMAS_WITHOUT_HASH

Instance Attribute Summary

Attributes inherited from AdObject

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

Method Summary

Methods included from CustomAudienceHelpers

#add_user, #prepare_params, #remove_user

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