Module: FacebookAds

Extended by:
FacebookAds, Shortcuts
Included in:
FacebookAds
Defined in:
lib/facebook_ads/edge.rb,
lib/facebook_ads.rb,
lib/facebook_ads/config.rb,
lib/facebook_ads/errors.rb,
lib/facebook_ads/fields.rb,
lib/facebook_ads/session.rb,
lib/facebook_ads/version.rb,
lib/facebook_ads/ad_object.rb,
lib/facebook_ads/param_set.rb,
lib/facebook_ads/test/base.rb,
lib/facebook_ads/api_request.rb,
lib/facebook_ads/field_types.rb,
lib/facebook_ads/test/config.rb,
lib/facebook_ads/test/errors.rb,
lib/facebook_ads/utils/utils.rb,
lib/facebook_ads/api_response.rb,
lib/facebook_ads/ad_objects/ad.rb,
lib/facebook_ads/test/fixtures.rb,
lib/facebook_ads/ad_objects/tab.rb,
lib/facebook_ads/ad_objects/url.rb,
lib/facebook_ads/ad_objects/lead.rb,
lib/facebook_ads/ad_objects/link.rb,
lib/facebook_ads/ad_objects/page.rb,
lib/facebook_ads/ad_objects/post.rb,
lib/facebook_ads/ad_objects/user.rb,
lib/facebook_ads/batch_api/batch.rb,
lib/facebook_ads/test/exit_codes.rb,
lib/facebook_ads/videos/video_io.rb,
lib/facebook_ads/ad_objects/album.rb,
lib/facebook_ads/ad_objects/event.rb,
lib/facebook_ads/ad_objects/group.rb,
lib/facebook_ads/ad_objects/hotel.rb,
lib/facebook_ads/ad_objects/photo.rb,
lib/facebook_ads/ad_objects/place.rb,
lib/facebook_ads/field_types/base.rb,
lib/facebook_ads/field_types/enum.rb,
lib/facebook_ads/field_types/list.rb,
lib/facebook_ads/ad_objects/ad_set.rb,
lib/facebook_ads/ad_objects/canvas.rb,
lib/facebook_ads/ad_objects/domain.rb,
lib/facebook_ads/ad_objects/flight.rb,
lib/facebook_ads/helpers/shortcuts.rb,
lib/facebook_ads/ad_objects/ad_rule.rb,
lib/facebook_ads/ad_objects/comment.rb,
lib/facebook_ads/ad_objects/id_name.rb,
lib/facebook_ads/ad_objects/ig_user.rb,
lib/facebook_ads/ad_objects/persona.rb,
lib/facebook_ads/ad_objects/privacy.rb,
lib/facebook_ads/ad_objects/profile.rb,
lib/facebook_ads/ad_objects/vehicle.rb,
lib/facebook_ads/field_types/double.rb,
lib/facebook_ads/field_types/object.rb,
lib/facebook_ads/ad_objects/ad_image.rb,
lib/facebook_ads/ad_objects/ad_label.rb,
lib/facebook_ads/ad_objects/ad_study.rb,
lib/facebook_ads/ad_objects/ad_video.rb,
lib/facebook_ads/ad_objects/business.rb,
lib/facebook_ads/ad_objects/campaign.rb,
lib/facebook_ads/ad_objects/currency.rb,
lib/facebook_ads/ad_objects/da_check.rb,
lib/facebook_ads/ad_objects/day_part.rb,
lib/facebook_ads/ad_objects/ig_media.rb,
lib/facebook_ads/ad_objects/location.rb,
lib/facebook_ads/ad_objects/referral.rb,
lib/facebook_ads/field_types/boolean.rb,
lib/facebook_ads/field_types/integer.rb,
lib/facebook_ads/ad_objects/ads_pixel.rb,
lib/facebook_ads/ad_objects/age_range.rb,
lib/facebook_ads/ad_objects/app_links.rb,
lib/facebook_ads/ad_objects/atlas_url.rb,
lib/facebook_ads/ad_objects/key_value.rb,
lib/facebook_ads/ad_objects/null_node.rb,
lib/facebook_ads/ad_objects/page_post.rb,
lib/facebook_ads/ad_objects/targeting.rb,
lib/facebook_ads/ad_objects/voip_info.rb,
lib/facebook_ads/field_types/datetime.rb,
lib/facebook_ads/helpers/edge_helpers.rb,
lib/facebook_ads/helpers/node_helpers.rb,
lib/facebook_ads/videos/video_request.rb,
lib/facebook_ads/ad_objects/ad_account.rb,
lib/facebook_ads/ad_objects/ad_preview.rb,
lib/facebook_ads/ad_objects/ad_topline.rb,
lib/facebook_ads/ad_objects/engagement.rb,
lib/facebook_ads/ad_objects/event_tour.rb,
lib/facebook_ads/ad_objects/experience.rb,
lib/facebook_ads/ad_objects/hotel_room.rb,
lib/facebook_ads/ad_objects/ig_comment.rb,
lib/facebook_ads/ad_objects/life_event.rb,
lib/facebook_ads/ad_objects/live_video.rb,
lib/facebook_ads/ad_objects/page_label.rb,
lib/facebook_ads/ad_objects/permission.rb,
lib/facebook_ads/ad_objects/video_list.rb,
lib/facebook_ads/ad_objects/video_poll.rb,
lib/facebook_ads/batch_api/batch_proxy.rb,
lib/facebook_ads/field_types/ad_object.rb,
lib/facebook_ads/ad_objects/ad_activity.rb,
lib/facebook_ads/ad_objects/ad_contract.rb,
lib/facebook_ads/ad_objects/ad_creative.rb,
lib/facebook_ads/ad_objects/ad_keywords.rb,
lib/facebook_ads/ad_objects/app_request.rb,
lib/facebook_ads/ad_objects/application.rb,
lib/facebook_ads/ad_objects/child_event.rb,
lib/facebook_ads/ad_objects/cover_photo.rb,
lib/facebook_ads/ad_objects/destination.rb,
lib/facebook_ads/ad_objects/direct_deal.rb,
lib/facebook_ads/ad_objects/friend_list.rb,
lib/facebook_ads/ad_objects/place_topic.rb,
lib/facebook_ads/ad_objects/product_set.rb,
lib/facebook_ads/ad_objects/system_user.rb,
lib/facebook_ads/ad_objects/user_device.rb,
lib/facebook_ads/ad_objects/ad_placement.rb,
lib/facebook_ads/ad_objects/ads_insights.rb,
lib/facebook_ads/ad_objects/home_listing.rb,
lib/facebook_ads/ad_objects/ios_app_link.rb,
lib/facebook_ads/ad_objects/leadgen_form.rb,
lib/facebook_ads/ad_objects/live_encoder.rb,
lib/facebook_ads/ad_objects/native_offer.rb,
lib/facebook_ads/ad_objects/page_parking.rb,
lib/facebook_ads/ad_objects/product_feed.rb,
lib/facebook_ads/ad_objects/product_item.rb,
lib/facebook_ads/ad_objects/web_app_link.rb,
lib/facebook_ads/field_types/string_type.rb,
lib/facebook_ads/field_types/upload_file.rb,
lib/facebook_ads/ad_objects/ad_report_run.rb,
lib/facebook_ads/ad_objects/ad_study_cell.rb,
lib/facebook_ads/ad_objects/assigned_user.rb,
lib/facebook_ads/ad_objects/async_request.rb,
lib/facebook_ads/ad_objects/async_session.rb,
lib/facebook_ads/ad_objects/business_unit.rb,
lib/facebook_ads/ad_objects/business_user.rb,
lib/facebook_ads/ad_objects/offsite_pixel.rb,
lib/facebook_ads/ad_objects/page_category.rb,
lib/facebook_ads/ad_objects/page_settings.rb,
lib/facebook_ads/ad_objects/product_group.rb,
lib/facebook_ads/ad_objects/ad_report_spec.rb,
lib/facebook_ads/ad_objects/delivery_check.rb,
lib/facebook_ads/ad_objects/instagram_user.rb,
lib/facebook_ads/ad_objects/lookalike_spec.rb,
lib/facebook_ads/ad_objects/minimum_budget.rb,
lib/facebook_ads/ad_objects/page_broadcast.rb,
lib/facebook_ads/ad_objects/reach_estimate.rb,
lib/facebook_ads/ad_objects/saved_audience.rb,
lib/facebook_ads/ad_objects/unified_thread.rb,
lib/facebook_ads/ad_objects/user_influence.rb,
lib/facebook_ads/ad_objects/ad_account_roas.rb,
lib/facebook_ads/ad_objects/ad_account_user.rb,
lib/facebook_ads/ad_objects/ad_rule_filters.rb,
lib/facebook_ads/ad_objects/ad_rule_history.rb,
lib/facebook_ads/ad_objects/ad_rule_trigger.rb,
lib/facebook_ads/ad_objects/ads_image_crops.rb,
lib/facebook_ads/ad_objects/ads_pixel_stats.rb,
lib/facebook_ads/ad_objects/audio_copyright.rb,
lib/facebook_ads/ad_objects/currency_amount.rb,
lib/facebook_ads/ad_objects/custom_audience.rb,
lib/facebook_ads/ad_objects/extended_credit.rb,
lib/facebook_ads/ad_objects/insights_result.rb,
lib/facebook_ads/ad_objects/instant_article.rb,
lib/facebook_ads/ad_objects/mailing_address.rb,
lib/facebook_ads/ad_objects/page_admin_note.rb,
lib/facebook_ads/ad_objects/page_start_info.rb,
lib/facebook_ads/ad_objects/product_catalog.rb,
lib/facebook_ads/ad_objects/product_variant.rb,
lib/facebook_ads/ad_objects/request_history.rb,
lib/facebook_ads/ad_objects/user_id_for_app.rb,
lib/facebook_ads/ad_objects/video_copyright.rb,
lib/facebook_ads/ad_objects/video_game_show.rb,
lib/facebook_ads/ad_objects/video_thumbnail.rb,
lib/facebook_ads/ad_objects/ad_async_request.rb,
lib/facebook_ads/ad_objects/ad_keyword_stats.rb,
lib/facebook_ads/ad_objects/ad_rule_schedule.rb,
lib/facebook_ads/ad_objects/adgroup_activity.rb,
lib/facebook_ads/ad_objects/ads_action_stats.rb,
lib/facebook_ads/ad_objects/android_app_link.rb,
lib/facebook_ads/ad_objects/attribution_spec.rb,
lib/facebook_ads/ad_objects/automotive_model.rb,
lib/facebook_ads/ad_objects/business_project.rb,
lib/facebook_ads/ad_objects/creative_history.rb,
lib/facebook_ads/ad_objects/food_drink_order.rb,
lib/facebook_ads/ad_objects/invoice_campaign.rb,
lib/facebook_ads/ad_objects/live_video_error.rb,
lib/facebook_ads/ad_objects/page_about_story.rb,
lib/facebook_ads/ad_objects/playable_content.rb,
lib/facebook_ads/ad_objects/rev_share_policy.rb,
lib/facebook_ads/ad_objects/rtb_dynamic_post.rb,
lib/facebook_ads/ad_objects/taggable_subject.rb,
lib/facebook_ads/ad_objects/user_cover_photo.rb,
lib/facebook_ads/ad_objects/user_id_for_page.rb,
lib/facebook_ads/ad_objects/windows_app_link.rb,
lib/facebook_ads/ad_objects/ad_place_page_set.rb,
lib/facebook_ads/ad_objects/ad_recommendation.rb,
lib/facebook_ads/ad_objects/ad_topline_detail.rb,
lib/facebook_ads/ad_objects/commerce_settings.rb,
lib/facebook_ads/ad_objects/custom_conversion.rb,
lib/facebook_ads/ad_objects/instagram_comment.rb,
lib/facebook_ads/ad_objects/lead_gen_question.rb,
lib/facebook_ads/ad_objects/media_fingerprint.rb,
lib/facebook_ads/ad_objects/messenger_profile.rb,
lib/facebook_ads/ad_objects/native_offer_view.rb,
lib/facebook_ads/ad_objects/open_graph_object.rb,
lib/facebook_ads/ad_objects/page_saved_filter.rb,
lib/facebook_ads/ad_objects/page_thread_owner.rb,
lib/facebook_ads/ad_objects/product_feed_rule.rb,
lib/facebook_ads/ad_objects/security_settings.rb,
lib/facebook_ads/ad_objects/split_test_config.rb,
lib/facebook_ads/ad_objects/split_test_winner.rb,
lib/facebook_ads/ad_objects/ad_account_max_bid.rb,
lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb,
lib/facebook_ads/ad_objects/ad_bid_adjustments.rb,
lib/facebook_ads/ad_objects/ad_promoted_object.rb,
lib/facebook_ads/ad_objects/ad_study_objective.rb,
lib/facebook_ads/ad_objects/business_agreement.rb,
lib/facebook_ads/ad_objects/canvas_ad_settings.rb,
lib/facebook_ads/ad_objects/event_source_group.rb,
lib/facebook_ads/ad_objects/fame_export_config.rb,
lib/facebook_ads/ad_objects/flexible_targeting.rb,
lib/facebook_ads/ad_objects/open_graph_context.rb,
lib/facebook_ads/ad_objects/oracle_transaction.rb,
lib/facebook_ads/ad_objects/product_event_stat.rb,
lib/facebook_ads/ad_objects/rich_media_element.rb,
lib/facebook_ads/ad_objects/streaming_reaction.rb,
lib/facebook_ads/ad_objects/ad_account_activity.rb,
lib/facebook_ads/ad_objects/ad_dynamic_creative.rb,
lib/facebook_ads/ad_objects/adgroup_issues_info.rb,
lib/facebook_ads/ad_objects/audience_permission.rb,
lib/facebook_ads/ad_objects/dynamic_content_set.rb,
lib/facebook_ads/ad_objects/page_call_to_action.rb,
lib/facebook_ads/ad_objects/payment_pricepoints.rb,
lib/facebook_ads/ad_objects/product_feed_upload.rb,
lib/facebook_ads/ad_objects/raw_custom_audience.rb,
lib/facebook_ads/ad_objects/vault_deleted_image.rb,
lib/facebook_ads/ad_objects/video_upload_limits.rb,
lib/facebook_ads/ad_objects/ad_async_request_set.rb,
lib/facebook_ads/ad_objects/ad_campaign_activity.rb,
lib/facebook_ads/ad_objects/custom_audiences_tos.rb,
lib/facebook_ads/ad_objects/entity_at_text_range.rb,
lib/facebook_ads/ad_objects/live_video_targeting.rb,
lib/facebook_ads/ad_objects/page_change_proposal.rb,
lib/facebook_ads/ad_objects/page_payment_options.rb,
lib/facebook_ads/ad_objects/page_upcoming_change.rb,
lib/facebook_ads/ad_objects/publisher_block_list.rb,
lib/facebook_ads/ad_objects/reach_frequency_spec.rb,
lib/facebook_ads/ad_objects/user_taggable_friend.rb,
lib/facebook_ads/ad_objects/video_copyright_rule.rb,
lib/facebook_ads/ad_objects/ad_creative_link_data.rb,
lib/facebook_ads/ad_objects/ad_creative_text_data.rb,
lib/facebook_ads/ad_objects/ad_rule_schedule_spec.rb,
lib/facebook_ads/ad_objects/ad_study_objective_id.rb,
lib/facebook_ads/ad_objects/billed_amount_details.rb,
lib/facebook_ads/ad_objects/business_page_request.rb,
lib/facebook_ads/ad_objects/business_role_request.rb,
lib/facebook_ads/ad_objects/external_event_source.rb,
lib/facebook_ads/ad_objects/music_video_copyright.rb,
lib/facebook_ads/ad_objects/native_offer_discount.rb,
lib/facebook_ads/ad_objects/platform_image_source.rb,
lib/facebook_ads/ad_objects/product_feed_schedule.rb,
lib/facebook_ads/ad_objects/ad_creative_photo_data.rb,
lib/facebook_ads/ad_objects/ad_creative_place_data.rb,
lib/facebook_ads/ad_objects/ad_creative_video_data.rb,
lib/facebook_ads/ad_objects/ad_entity_target_spend.rb,
lib/facebook_ads/ad_objects/ad_recommendation_data.rb,
lib/facebook_ads/ad_objects/ad_rule_execution_spec.rb,
lib/facebook_ads/ad_objects/ad_rule_history_result.rb,
lib/facebook_ads/ad_objects/ads_pixel_stats_result.rb,
lib/facebook_ads/ad_objects/custom_audience_status.rb,
lib/facebook_ads/ad_objects/funding_source_details.rb,
lib/facebook_ads/ad_objects/profile_picture_source.rb,
lib/facebook_ads/ad_objects/saved_message_response.rb,
lib/facebook_ads/ad_objects/targeting_dynamic_rule.rb,
lib/facebook_ads/ad_objects/targeting_geo_location.rb,
lib/facebook_ads/ad_objects/windows_phone_app_link.rb,
lib/facebook_ads/ad_objects/ad_asset_feed_spec_body.rb,
lib/facebook_ads/ad_objects/ad_campaign_issues_info.rb,
lib/facebook_ads/ad_objects/ad_rule_evaluation_spec.rb,
lib/facebook_ads/ad_objects/adgroup_relevance_score.rb,
lib/facebook_ads/ad_objects/adgroup_review_feedback.rb,
lib/facebook_ads/ad_objects/catalog_based_targeting.rb,
lib/facebook_ads/ad_objects/conversion_action_query.rb,
lib/facebook_ads/ad_objects/custom_audience_session.rb,
lib/facebook_ads/ad_objects/lead_gen_draft_question.rb,
lib/facebook_ads/ad_objects/live_video_input_stream.rb,
lib/facebook_ads/ad_objects/targeting_sentence_line.rb,
lib/facebook_ads/ad_objects/video_copyright_segment.rb,
lib/facebook_ads/ad_objects/ad_account_tracking_data.rb,
lib/facebook_ads/ad_objects/ad_asset_feed_spec_image.rb,
lib/facebook_ads/ad_objects/ad_asset_feed_spec_title.rb,
lib/facebook_ads/ad_objects/ad_asset_feed_spec_video.rb,
lib/facebook_ads/ad_objects/ad_monetization_property.rb,
lib/facebook_ads/ad_objects/instagram_insights_value.rb,
lib/facebook_ads/ad_objects/lead_gen_question_option.rb,
lib/facebook_ads/ad_objects/measurement_upload_event.rb,
lib/facebook_ads/ad_objects/messaging_feature_review.rb,
lib/facebook_ads/ad_objects/offline_terms_of_service.rb,
lib/facebook_ads/ad_objects/outcome_prediction_point.rb,
lib/facebook_ads/ad_objects/page_restaurant_services.rb,
lib/facebook_ads/ad_objects/product_catalog_category.rb,
lib/facebook_ads/ad_objects/reach_frequency_activity.rb,
lib/facebook_ads/ad_objects/reach_frequency_day_part.rb,
lib/facebook_ads/ad_objects/user_lead_gen_field_data.rb,
lib/facebook_ads/ad_objects/video_copyright_geo_gate.rb,
lib/facebook_ads/ad_objects/ad_rule_execution_options.rb,
lib/facebook_ads/ad_objects/agency_client_declaration.rb,
lib/facebook_ads/ad_objects/delivery_check_extra_info.rb,
lib/facebook_ads/ad_objects/instagram_insights_result.rb,
lib/facebook_ads/ad_objects/product_feed_upload_error.rb,
lib/facebook_ads/ad_objects/reach_frequency_ad_format.rb,
lib/facebook_ads/ad_objects/user_payment_methods_info.rb,
lib/facebook_ads/ad_objects/ad_asset_feed_spec_caption.rb,
lib/facebook_ads/ad_objects/ad_campaign_bid_constraint.rb,
lib/facebook_ads/ad_objects/ad_campaign_group_activity.rb,
lib/facebook_ads/ad_objects/ad_campaign_paced_bid_info.rb,
lib/facebook_ads/ad_objects/ad_customization_rule_spec.rb,
lib/facebook_ads/ad_objects/ad_place_page_set_metadata.rb,
lib/facebook_ads/ad_objects/ads_tal_health_check_error.rb,
lib/facebook_ads/ad_objects/broad_targeting_categories.rb,
lib/facebook_ads/ad_objects/check_batch_request_status.rb,
lib/facebook_ads/ad_objects/client_transparency_status.rb,
lib/facebook_ads/ad_objects/custom_audience_ad_account.rb,
lib/facebook_ads/ad_objects/live_video_ad_break_config.rb,
lib/facebook_ads/ad_objects/reach_frequency_prediction.rb,
lib/facebook_ads/ad_objects/targeting_geo_location_zip.rb,
lib/facebook_ads/ad_objects/whats_app_business_account.rb,
lib/facebook_ads/ad_objects/ad_account_ad_rules_history.rb,
lib/facebook_ads/ad_objects/ad_account_creation_request.rb,
lib/facebook_ads/ad_objects/ad_asset_feed_spec_link_url.rb,
lib/facebook_ads/ad_objects/business_ad_account_request.rb,
lib/facebook_ads/ad_objects/canvas_collection_thumbnail.rb,
lib/facebook_ads/ad_objects/custom_audience_data_source.rb,
lib/facebook_ads/ad_objects/dynamic_item_display_bundle.rb,
lib/facebook_ads/ad_objects/iterative_split_test_config.rb,
lib/facebook_ads/ad_objects/messenger_platform_referral.rb,
lib/facebook_ads/ad_objects/offline_conversion_data_set.rb,
lib/facebook_ads/ad_objects/page_restaurant_specialties.rb,
lib/facebook_ads/ad_objects/targeting_geo_location_city.rb,
lib/facebook_ads/ad_objects/value_based_eligible_source.rb,
lib/facebook_ads/ad_objects/ad_account_default_objective.rb,
lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb,
lib/facebook_ads/ad_objects/ad_account_targeting_unified.rb,
lib/facebook_ads/ad_objects/app_request_former_recipient.rb,
lib/facebook_ads/ad_objects/audience_insights_study_spec.rb,
lib/facebook_ads/ad_objects/business_application_request.rb,
lib/facebook_ads/ad_objects/cpas_parent_catalog_settings.rb,
lib/facebook_ads/ad_objects/destination_catalog_settings.rb,
lib/facebook_ads/ad_objects/dynamic_price_config_by_date.rb,
lib/facebook_ads/ad_objects/product_feed_rule_suggestion.rb,
lib/facebook_ads/ad_objects/targeting_geo_location_place.rb,
lib/facebook_ads/ad_objects/user_payment_modules_options.rb,
lib/facebook_ads/ad_objects/ad_account_promotable_objects.rb,
lib/facebook_ads/ad_objects/ad_asset_feed_spec_group_rule.rb,
lib/facebook_ads/ad_objects/ad_campaign_delivery_estimate.rb,
lib/facebook_ads/ad_objects/ad_creative_object_story_spec.rb,
lib/facebook_ads/ad_objects/ad_creative_optimization_spec.rb,
lib/facebook_ads/ad_objects/ad_creative_template_url_spec.rb,
lib/facebook_ads/ad_objects/ad_rule_history_result_action.rb,
lib/facebook_ads/ad_objects/brand_safety_block_list_usage.rb,
lib/facebook_ads/ad_objects/copyright_reference_container.rb,
lib/facebook_ads/ad_objects/custom_audience_prefill_state.rb,
lib/facebook_ads/ad_objects/dynamic_post_child_attachment.rb,
lib/facebook_ads/ad_objects/extended_credit_invoice_group.rb,
lib/facebook_ads/ad_objects/funding_source_details_coupon.rb,
lib/facebook_ads/ad_objects/lead_gen_form_preview_details.rb,
lib/facebook_ads/ad_objects/targeting_geo_location_market.rb,
lib/facebook_ads/ad_objects/targeting_geo_location_region.rb,
lib/facebook_ads/ad_objects/ad_account_default_destination.rb,
lib/facebook_ads/ad_objects/ad_asset_feed_spec_asset_label.rb,
lib/facebook_ads/ad_objects/ad_asset_feed_spec_description.rb,
lib/facebook_ads/ad_objects/ad_campaign_optimization_event.rb,
lib/facebook_ads/ad_objects/copyright_attribution_insights.rb,
lib/facebook_ads/ad_objects/custom_audience_sharing_status.rb,
lib/facebook_ads/ad_objects/custom_conversion_stats_result.rb,
lib/facebook_ads/ad_objects/page_insights_async_export_run.rb,
lib/facebook_ads/ad_objects/page_user_message_thread_label.rb,
lib/facebook_ads/ad_objects/product_catalog_image_settings.rb,
lib/facebook_ads/ad_objects/product_item_commerce_insights.rb,
lib/facebook_ads/ad_objects/targeting_prospecting_audience.rb,
lib/facebook_ads/ad_objects/ad_campaign_learning_stage_info.rb,
lib/facebook_ads/ad_objects/audience_permission_for_actions.rb,
lib/facebook_ads/ad_objects/credit_partition_action_options.rb,
lib/facebook_ads/ad_objects/helpers/custom_audience_helpers.rb,
lib/facebook_ads/ad_objects/reach_frequency_estimates_curve.rb,
lib/facebook_ads/ad_objects/targeting_product_audience_spec.rb,
lib/facebook_ads/ad_objects/user_payment_mobile_pricepoints.rb,
lib/facebook_ads/ad_objects/video_copyright_condition_group.rb,
lib/facebook_ads/ad_objects/ad_creative_recommender_settings.rb,
lib/facebook_ads/ad_objects/ad_creative_static_fallback_spec.rb,
lib/facebook_ads/ad_objects/product_feed_upload_error_report.rb,
lib/facebook_ads/ad_objects/product_feed_upload_error_sample.rb,
lib/facebook_ads/ad_objects/extended_credit_allocation_config.rb,
lib/facebook_ads/ad_objects/lead_gen_appointment_booking_info.rb,
lib/facebook_ads/ad_objects/product_catalog_hotel_rooms_batch.rb,
lib/facebook_ads/ad_objects/user_lead_gen_disclaimer_response.rb,
lib/facebook_ads/ad_objects/ad_creative_platform_customization.rb,
lib/facebook_ads/ad_objects/campaign_group_brand_configuration.rb,
lib/facebook_ads/ad_objects/custom_audienceshared_account_info.rb,
lib/facebook_ads/ad_objects/dynamic_item_display_bundle_folder.rb,
lib/facebook_ads/ad_objects/product_catalog_product_sets_batch.rb,
lib/facebook_ads/ad_objects/ad_campaign_frequency_control_specs.rb,
lib/facebook_ads/ad_objects/ad_creative_degrees_of_freedom_spec.rb,
lib/facebook_ads/ad_objects/ad_creative_link_data_app_link_spec.rb,
lib/facebook_ads/ad_objects/ad_creative_portrait_customizations.rb,
lib/facebook_ads/ad_objects/targeting_geo_location_geo_entities.rb,
lib/facebook_ads/ad_objects/targeting_product_audience_sub_spec.rb,
lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action.rb,
lib/facebook_ads/ad_objects/ad_creative_post_click_configuration.rb,
lib/facebook_ads/ad_objects/ad_creative_collection_thumbnail_info.rb,
lib/facebook_ads/ad_objects/instant_article_insights_query_result.rb,
lib/facebook_ads/ad_objects/tracking_and_conversion_with_defaults.rb,
lib/facebook_ads/ad_objects/ad_creative_link_data_child_attachment.rb,
lib/facebook_ads/ad_objects/ad_creative_link_data_image_layer_spec.rb,
lib/facebook_ads/ad_objects/ad_network_analytics_sync_query_result.rb,
lib/facebook_ads/ad_objects/targeting_geo_location_custom_location.rb,
lib/facebook_ads/ad_objects/third_party_measurement_report_dataset.rb,
lib/facebook_ads/ad_objects/ad_account_recommended_camapaign_budget.rb,
lib/facebook_ads/ad_objects/ad_creative_interactive_components_spec.rb,
lib/facebook_ads/ad_objects/ad_network_analytics_async_query_result.rb,
lib/facebook_ads/ad_objects/ads_optimal_delivery_growth_opportunity.rb,
lib/facebook_ads/ad_objects/product_catalog_pricing_variables_batch.rb,
lib/facebook_ads/ad_objects/targeting_geo_location_location_cluster.rb,
lib/facebook_ads/ad_objects/ad_async_request_set_notification_result.rb,
lib/facebook_ads/ad_objects/ad_creative_link_data_image_overlay_spec.rb,
lib/facebook_ads/ad_objects/product_catalog_image_settings_operation.rb,
lib/facebook_ads/ad_objects/reach_frequency_estimates_demo_breakdown.rb,
lib/facebook_ads/ad_objects/read_only_analytics_user_property_config.rb,
lib/facebook_ads/ad_objects/ad_creative_link_data_template_video_spec.rb,
lib/facebook_ads/ad_objects/business_advertisable_applications_result.rb,
lib/facebook_ads/ad_objects/targeting_geo_location_electoral_district.rb,
lib/facebook_ads/ad_objects/targeting_geo_location_political_district.rb,
lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action_value.rb,
lib/facebook_ads/ad_objects/adgroup_placement_specific_review_feedback.rb,
lib/facebook_ads/ad_objects/business_owned_object_on_behalf_of_request.rb,
lib/facebook_ads/ad_objects/messenger_destination_page_welcome_message.rb,
lib/facebook_ads/ad_objects/product_feed_missing_feed_item_replacement.rb,
lib/facebook_ads/ad_objects/ad_creative_link_data_sponsorship_info_spec.rb,
lib/facebook_ads/ad_objects/lead_gen_conditional_questions_group_choices.rb,
lib/facebook_ads/ad_objects/reach_frequency_curve_lower_confidence_range.rb,
lib/facebook_ads/ad_objects/reach_frequency_curve_upper_confidence_range.rb,
lib/facebook_ads/ad_objects/reach_frequency_estimates_placement_breakdown.rb,
lib/facebook_ads/ad_objects/ad_campaign_delivery_stats_unsupported_reasons.rb,
lib/facebook_ads/ad_objects/lead_gen_conditional_questions_group_questions.rb,
lib/facebook_ads/ad_objects/ad_account_matched_search_applications_edge_data.rb

Overview

FB:AUTOGEN

Defined Under Namespace

Modules: CustomAudienceHelpers, EdgeHasDelete, EdgeHasGet, EdgeHasPost, FieldTypes, Fields, GraphEdges, GraphNodes, HTTPService, NodeHasNoDelete, NodeHasNoGet, NodeHasNoID, NodeHasNoPost, Shortcuts, Test, Utils Classes: APIError, APIRequest, APIResponse, Ad, AdAccount, AdAccountActivity, AdAccountAdRulesHistory, AdAccountCreationRequest, AdAccountDefaultDestination, AdAccountDefaultObjective, AdAccountDeliveryEstimate, AdAccountMatchedSearchApplicationsEdgeData, AdAccountMaxBid, AdAccountPromotableObjects, AdAccountRecommendedCamapaignBudget, AdAccountRoas, AdAccountTargetingUnified, AdAccountTrackingData, AdAccountUser, AdActivity, AdAssetFeedSpec, AdAssetFeedSpecAssetLabel, AdAssetFeedSpecBody, AdAssetFeedSpecCaption, AdAssetFeedSpecDescription, AdAssetFeedSpecGroupRule, AdAssetFeedSpecImage, AdAssetFeedSpecLinkUrl, AdAssetFeedSpecTitle, AdAssetFeedSpecVideo, AdAsyncRequest, AdAsyncRequestSet, AdAsyncRequestSetNotificationResult, AdBidAdjustments, AdCampaignActivity, AdCampaignBidConstraint, AdCampaignDeliveryEstimate, AdCampaignDeliveryStatsUnsupportedReasons, AdCampaignFrequencyControlSpecs, AdCampaignGroupActivity, AdCampaignIssuesInfo, AdCampaignLearningStageInfo, AdCampaignOptimizationEvent, AdCampaignPacedBidInfo, AdContract, AdCreative, AdCreativeCollectionThumbnailInfo, AdCreativeDegreesOfFreedomSpec, AdCreativeInteractiveComponentsSpec, AdCreativeLinkData, AdCreativeLinkDataAppLinkSpec, AdCreativeLinkDataCallToAction, AdCreativeLinkDataCallToActionValue, AdCreativeLinkDataChildAttachment, AdCreativeLinkDataImageLayerSpec, AdCreativeLinkDataImageOverlaySpec, AdCreativeLinkDataSponsorshipInfoSpec, AdCreativeLinkDataTemplateVideoSpec, AdCreativeObjectStorySpec, AdCreativeOptimizationSpec, AdCreativePhotoData, AdCreativePlaceData, AdCreativePlatformCustomization, AdCreativePortraitCustomizations, AdCreativePostClickConfiguration, AdCreativeRecommenderSettings, AdCreativeStaticFallbackSpec, AdCreativeTemplateUrlSpec, AdCreativeTextData, AdCreativeVideoData, AdCustomizationRuleSpec, AdDynamicCreative, AdEntityTargetSpend, AdImage, AdKeywordStats, AdKeywords, AdLabel, AdMonetizationProperty, AdNetworkAnalyticsAsyncQueryResult, AdNetworkAnalyticsSyncQueryResult, AdObject, AdPlacePageSet, AdPlacePageSetMetadata, AdPlacement, AdPreview, AdPromotedObject, AdRecommendation, AdRecommendationData, AdReportRun, AdReportSpec, AdRule, AdRuleEvaluationSpec, AdRuleExecutionOptions, AdRuleExecutionSpec, AdRuleFilters, AdRuleHistory, AdRuleHistoryResult, AdRuleHistoryResultAction, AdRuleSchedule, AdRuleScheduleSpec, AdRuleTrigger, AdSet, AdStudy, AdStudyCell, AdStudyObjective, AdStudyObjectiveId, AdTopline, AdToplineDetail, AdVideo, AdgroupActivity, AdgroupIssuesInfo, AdgroupPlacementSpecificReviewFeedback, AdgroupRelevanceScore, AdgroupReviewFeedback, AdsActionStats, AdsImageCrops, AdsInsights, AdsOptimalDeliveryGrowthOpportunity, AdsPixel, AdsPixelStats, AdsPixelStatsResult, AdsTalHealthCheckError, AgeRange, AgencyClientDeclaration, Album, AndroidAppLink, AppLinks, AppRequest, AppRequestFormerRecipient, Application, AssignedUser, AsyncRequest, AsyncSession, AtlasUrl, AttributionSpec, AudienceInsightsStudySpec, AudiencePermission, AudiencePermissionForActions, AudioCopyright, AutomotiveModel, Batch, BatchProxy, BilledAmountDetails, BrandSafetyBlockListUsage, BroadTargetingCategories, Business, BusinessAdAccountRequest, BusinessAdvertisableApplicationsResult, BusinessAgreement, BusinessApplicationRequest, BusinessOwnedObjectOnBehalfOfRequest, BusinessPageRequest, BusinessProject, BusinessRoleRequest, BusinessUnit, BusinessUser, Campaign, CampaignGroupBrandConfiguration, Canvas, CanvasAdSettings, CanvasCollectionThumbnail, CatalogBasedTargeting, CheckBatchRequestStatus, ChildEvent, ClientError, ClientTransparencyStatus, Comment, CommerceSettings, Config, ConversionActionQuery, CopyrightAttributionInsights, CopyrightReferenceContainer, CoverPhoto, CpasParentCatalogSettings, CreativeHistory, CreditPartitionActionOptions, Currency, CurrencyAmount, CustomAudience, CustomAudienceAdAccount, CustomAudienceDataSource, CustomAudiencePrefillState, CustomAudienceSession, CustomAudienceSharingStatus, CustomAudienceStatus, CustomAudiencesTos, CustomAudiencesharedAccountInfo, CustomConversion, CustomConversionStatsResult, DaCheck, DayPart, DeliveryCheck, DeliveryCheckExtraInfo, Destination, DestinationCatalogSettings, DirectDeal, Domain, DynamicContentSet, DynamicItemDisplayBundle, DynamicItemDisplayBundleFolder, DynamicPostChildAttachment, DynamicPriceConfigByDate, Edge, Engagement, EntityAtTextRange, Error, Event, EventSourceGroup, EventTour, Experience, ExtendedCredit, ExtendedCreditAllocationConfig, ExtendedCreditInvoiceGroup, ExternalEventSource, FameExportConfig, FlexibleTargeting, Flight, FoodDrinkOrder, FriendList, FundingSourceDetails, FundingSourceDetailsCoupon, Group, HomeListing, Hotel, HotelRoom, IdName, IgComment, IgMedia, IgUser, InsightsResult, InstagramComment, InstagramInsightsResult, InstagramInsightsValue, InstagramUser, InstantArticle, InstantArticleInsightsQueryResult, InvalidParameterError, InvoiceCampaign, IosAppLink, IterativeSplitTestConfig, KeyValue, Lead, LeadGenAppointmentBookingInfo, LeadGenConditionalQuestionsGroupChoices, LeadGenConditionalQuestionsGroupQuestions, LeadGenDraftQuestion, LeadGenFormPreviewDetails, LeadGenQuestion, LeadGenQuestionOption, LeadgenForm, LifeEvent, Link, LiveEncoder, LiveVideo, LiveVideoAdBreakConfig, LiveVideoError, LiveVideoInputStream, LiveVideoTargeting, Location, LookalikeSpec, MailingAddress, MeasurementUploadEvent, MediaFingerprint, MessagingFeatureReview, MessengerDestinationPageWelcomeMessage, MessengerPlatformReferral, MessengerProfile, MinimumBudget, MusicVideoCopyright, NativeOffer, NativeOfferDiscount, NativeOfferView, NullNode, OfflineConversionDataSet, OfflineTermsOfService, OffsitePixel, OpenGraphContext, OpenGraphObject, OracleTransaction, OutcomePredictionPoint, Page, PageAboutStory, PageAdminNote, PageBroadcast, PageCallToAction, PageCategory, PageChangeProposal, PageInsightsAsyncExportRun, PageLabel, PageParking, PagePaymentOptions, PagePost, PageRestaurantServices, PageRestaurantSpecialties, PageSavedFilter, PageSettings, PageStartInfo, PageThreadOwner, PageUpcomingChange, PageUserMessageThreadLabel, ParamSet, PaymentPricepoints, Permission, Persona, Photo, Place, PlaceTopic, PlatformImageSource, PlayableContent, Post, Privacy, ProductCatalog, ProductCatalogCategory, ProductCatalogHotelRoomsBatch, ProductCatalogImageSettings, ProductCatalogImageSettingsOperation, ProductCatalogPricingVariablesBatch, ProductCatalogProductSetsBatch, ProductEventStat, ProductFeed, ProductFeedMissingFeedItemReplacement, ProductFeedRule, ProductFeedRuleSuggestion, ProductFeedSchedule, ProductFeedUpload, ProductFeedUploadError, ProductFeedUploadErrorReport, ProductFeedUploadErrorSample, ProductGroup, ProductItem, ProductItemCommerceInsights, ProductSet, ProductVariant, Profile, ProfilePictureSource, PublisherBlockList, RawCustomAudience, ReachEstimate, ReachFrequencyActivity, ReachFrequencyAdFormat, ReachFrequencyCurveLowerConfidenceRange, ReachFrequencyCurveUpperConfidenceRange, ReachFrequencyDayPart, ReachFrequencyEstimatesCurve, ReachFrequencyEstimatesDemoBreakdown, ReachFrequencyEstimatesPlacementBreakdown, ReachFrequencyPrediction, ReachFrequencySpec, ReadOnlyAnalyticsUserPropertyConfig, Referral, RequestHistory, RevSharePolicy, RichMediaElement, RtbDynamicPost, SavedAudience, SavedMessageResponse, SecuritySettings, ServerError, Session, SplitTestConfig, SplitTestWinner, StreamingReaction, SystemUser, Tab, TaggableSubject, Targeting, TargetingDynamicRule, TargetingGeoLocation, TargetingGeoLocationCity, TargetingGeoLocationCustomLocation, TargetingGeoLocationElectoralDistrict, TargetingGeoLocationGeoEntities, TargetingGeoLocationLocationCluster, TargetingGeoLocationMarket, TargetingGeoLocationPlace, TargetingGeoLocationPoliticalDistrict, TargetingGeoLocationRegion, TargetingGeoLocationZip, TargetingProductAudienceSpec, TargetingProductAudienceSubSpec, TargetingProspectingAudience, TargetingSentenceLine, ThirdPartyMeasurementReportDataset, TrackingAndConversionWithDefaults, UnifiedThread, Url, User, UserCoverPhoto, UserDevice, UserIdForApp, UserIdForPage, UserInfluence, UserLeadGenDisclaimerResponse, UserLeadGenFieldData, UserPaymentMethodsInfo, UserPaymentMobilePricepoints, UserPaymentModulesOptions, UserTaggableFriend, ValueBasedEligibleSource, VaultDeletedImage, Vehicle, VideoCopyright, VideoCopyrightConditionGroup, VideoCopyrightGeoGate, VideoCopyrightRule, VideoCopyrightSegment, VideoGameShow, VideoIO, VideoList, VideoPoll, VideoThumbnail, VideoUploadLimits, VoipInfo, WebAppLink, WhatsAppBusinessAccount, WindowsAppLink, WindowsPhoneAppLink

Constant Summary collapse

DEFAULT_API_VERSION =
'v' + API_VERSION
DEFAULT_HOST =
'graph.facebook.com'
VERSION =
'0.3.3.3'
API_VERSION =
'3.3'

Instance Method Summary collapse

Methods included from Shortcuts

ad_account, business, me

Instance Method Details

#configure {|@config| ... } ⇒ Object Also known as: config

Yields:



36
37
38
39
40
# File 'lib/facebook_ads.rb', line 36

def configure
  @config ||= Config.new
  yield @config if block_given?
  @config
end

#with_session(access_token, secret = nil, api_version = DEFAULT_API_VERSION) ⇒ Object



29
30
31
32
33
34
# File 'lib/facebook_ads.rb', line 29

def with_session(access_token, secret = nil, api_version = DEFAULT_API_VERSION)
  original_session = Session.current_session
  Session.current_session = Session.new(access_token, secret, api_version)
  yield
  Session.current_session = original_session
end