From b1c5321cf0863932eecea7a8a7c3a532242c3d5b Mon Sep 17 00:00:00 2001 From: generatedunixname89002005295453 Date: Fri, 14 Jun 2024 10:18:38 -0700 Subject: [PATCH] Auto-generated ruby SDK code update Summary: ignore-conflict-markers Reviewed By: liliarizona Differential Revision: D58591483 fbshipit-source-id: 8a5b71b2af66d0951df8d02c0cf0f3a88198b9e3 --- examples/AdAccountAdSetsPostAdSetCreateCpa.rb | 4 +- ...ccountAdSetsPostAdSetCreateCpaAppEvents.rb | 4 +- examples/AdAccountAdSetsPostCreateAdSet.rb | 4 +- examples/AdAccountAdSetsPostDailyBudget20.rb | 4 +- ...SetsPostLifetimeBudget200Duration10Days.rb | 4 +- ...AccountAdSetsPostOptimizePostEngagement.rb | 4 +- .../AdgroupLeadsEdgeAdgroupLeadsFiltered.rb | 2 +- examples/AdsPixelEventsPost.rb | 2 +- lib/facebook_ads/ad_objects/ad.rb | 1 + lib/facebook_ads/ad_objects/ad_account.rb | 34 +- .../ad_account_aaa_compatible_ad_objects.rb | 27 + .../ad_account_aaa_similar_campaigns.rb | 27 + ...ig.rb => ad_account_ad_limits_insights.rb} | 8 +- .../ad_account_ad_rules_count_by_type.rb | 26 + .../ad_objects/ad_account_ad_rules_history.rb | 3 + .../ad_objects/ad_account_ad_volume.rb | 21 +- .../ad_account_ads_recommended_audios.rb | 25 + .../ad_account_all_payment_methods.rb | 24 + .../ad_account_app_setup_requirements.rb | 24 + .../ad_objects/ad_account_asl_schedule.rb | 27 + .../ad_objects/ad_account_bank_info_list.rb | 25 + .../ad_account_billing_date_preference.rb | 29 + .../ad_account_business_constraints.rb | 8 +- ...ccount_campaign_attribution_option_info.rb | 26 + .../ad_objects/ad_account_creation_request.rb | 61 ++ .../ad_account_custom_audience_limits.rb | 29 + .../ad_account_delivery_estimate.rb | 1 + ...t_optimization_goals_ae_mv2_eligibility.rb | 57 ++ .../ad_objects/ad_account_payment_details.rb | 29 + .../ad_objects/ad_account_payment_options.rb | 28 + .../ad_objects/ad_account_prepay_details.rb | 28 + .../ad_account_promotion_progress_bar.rb | 32 ++ .../ad_objects/ad_account_recommendations.rb | 25 + .../ad_account_related_ico_study.rb | 24 + .../ad_account_smart_suggested_ads.rb | 28 + .../ad_objects/ad_account_spend_limit.rb | 31 + .../ad_account_subsidy_amount_details.rb | 27 + .../ad_objects/ad_account_suggested_tag.rb | 27 + .../ad_account_url_for_asset_extraction.rb | 26 + .../ad_objects/ad_account_user_permissions.rb | 34 ++ .../ad_objects/ad_account_user_settings.rb | 100 ++++ .../ad_account_youth_ads_advertiser.rb | 25 + ...feed_additional_data_page_nudge_message.rb | 27 + .../ad_objects/ad_asset_feed_spec.rb | 2 + .../ad_campaign_delivery_estimate.rb | 1 + .../ad_objects/ad_campaign_delivery_stats.rb | 30 + ...remental_conversion_optimization_config.rb | 34 ++ .../ad_campaign_group_metrics_metadata.rb | 26 + .../ad_objects/ad_campaign_group_stats.rb | 39 ++ ...rb => ad_campaign_group_structure_tree.rb} | 10 +- .../ad_campaign_metrics_metadata.rb | 30 + .../ad_objects/ad_campaign_multi_ads.rb | 26 + .../ad_objects/ad_campaign_stats.rb | 47 ++ .../ad_objects/ad_column_sizes.rb | 31 + lib/facebook_ads/ad_objects/ad_contract.rb | 65 +++ .../ad_objects/ad_conversion_values.rb | 27 + lib/facebook_ads/ad_objects/ad_conversions.rb | 28 + .../ad_objects/ad_creation_package_config.rb | 28 + lib/facebook_ads/ad_objects/ad_creative.rb | 4 +- .../ad_creative_asset_groups_spec.rb | 26 + .../ad_creative_branded_content_ads.rb | 2 + .../ad_creative_contextual_multi_ads.rb | 25 + .../ad_creative_feature_action_metadata.rb | 25 + .../ad_creative_feature_customizations.rb | 31 + .../ad_objects/ad_creative_features_spec.rb | 5 + .../ad_creative_generative_asset_spec.rb | 24 + ...creative_house_shops_ads_seller_content.rb | 24 + .../ad_creative_image_data_media_elements.rb | 28 + .../ad_creative_link_data_call_to_action.rb | 1 + ..._creative_link_data_custom_overlay_spec.rb | 91 +++ .../ad_creative_link_data_moment.rb | 31 + ...ative_marketing_message_structured_spec.rb | 30 + .../ad_creative_promotion_metadata_spec.rb | 4 +- ...creative_regional_regulation_disclaimer.rb | 24 + .../ad_objects/ad_creative_reward_info.rb | 26 + .../ad_objects/ad_creative_shop_spec.rb | 27 + ...creative_video_data_custom_overlay_spec.rb | 65 +++ .../ad_creative_video_data_media_elements.rb | 26 + .../ad_creative_whats_app_channel_spec.rb | 26 + .../ad_objects/ad_custom_derived_metrics.rb | 39 ++ .../ad_objects/ad_default_values.rb | 25 + lib/facebook_ads/ad_objects/ad_draft.rb | 37 ++ .../ad_objects/ad_export_preset.rb | 28 + .../ad_objects/ad_keyword_stats.rb | 43 ++ lib/facebook_ads/ad_objects/ad_kpi_shift.rb | 30 + .../ad_objects/ad_light_adgroup.rb | 24 + .../ad_objects/ad_light_campaign.rb | 24 + .../ad_objects/ad_light_campaign_group.rb | 23 + .../ad_objects/ad_limit_setting.rb | 25 + .../ad_objects/ad_limits_enforcement_data.rb | 30 + ...ad_network_analytics_async_query_export.rb | 28 + lib/facebook_ads/ad_objects/ad_preview.rb | 1 + lib/facebook_ads/ad_objects/ad_proposal.rb | 41 ++ .../ad_objects/ad_recommendation.rb | 1 + .../ad_objects/ad_rule_history.rb | 3 + .../ad_objects/ad_saved_keywords.rb | 29 + .../ad_objects/ad_saved_location.rb | 32 ++ .../ad_objects/ad_saved_report.rb | 40 ++ lib/facebook_ads/ad_objects/ad_set.rb | 11 +- lib/facebook_ads/ad_objects/ad_study.rb | 1 + lib/facebook_ads/ad_objects/ad_topline.rb | 57 ++ .../ad_objects/ad_topline_detail.rb | 36 ++ lib/facebook_ads/ad_objects/ad_video.rb | 9 +- lib/facebook_ads/ad_objects/ad_volume.rb | 34 ++ .../ad_objects/adgroup_facebook_feedback.rb | 31 + .../adjacent_content_delivery_report.rb | 25 + lib/facebook_ads/ad_objects/adoptable_pet.rb | 77 +++ .../ad_objects/ads_action_stats.rb | 14 + .../ad_objects/ads_anomaly_detection.rb | 26 + .../ad_objects/ads_conversion_goal.rb | 34 ++ .../ad_objects/ads_creation_saved_state.rb | 27 + .../ad_objects/ads_custom_pivots_preview.rb | 33 ++ .../ad_objects/ads_data_partner.rb | 25 + lib/facebook_ads/ad_objects/ads_dataset.rb | 75 +++ .../ad_objects/ads_guidance_qe_exposure.rb | 25 + .../ad_objects/ads_histogram_stats.rb | 14 + lib/facebook_ads/ad_objects/ads_insights.rb | 8 +- .../ad_objects/ads_naming_template.rb | 42 ++ .../ad_objects/ads_payment_cycle.rb | 30 + .../ad_objects/ads_pivot_rules.rb | 32 ++ lib/facebook_ads/ad_objects/ads_pixel.rb | 14 + .../ads_pixel_capability_override.rb | 26 + .../ads_pixel_capi_setup_quality.rb | 26 + .../ads_pixel_delivery_recommendations.rb | 26 + .../ads_pixel_domain_control_rule.rb | 26 + .../ads_pixel_domain_last_fired_time.rb | 26 + ....rb => ads_pixel_event_last_fired_time.rb} | 8 +- .../ad_objects/ads_pixel_event_prediction.rb | 27 + .../ads_pixel_event_suggestion_rule.rb | 32 ++ .../ad_objects/ads_pixel_item_price.rb | 26 + .../ad_objects/ads_pixel_microdata_stats.rb | 29 + .../ad_objects/ads_pixel_raw_fires_result.rb | 32 ++ .../ads_pixel_real_time_event_log_result.rb | 37 ++ .../ads_pixel_recent_events_result.rb | 26 + .../ads_pixel_signals_iwl_feedback_nux.rb | 25 + .../ad_objects/ads_pixel_signals_iwl_nux.rb | 29 + .../ad_objects/ads_report_builder.rb | 27 + .../ads_report_builder_export_core.rb | 38 ++ .../ads_report_builder_mmm_report.rb | 30 + ...ads_report_builder_mmm_report_scheduler.rb | 27 + .../ads_report_builder_saved_report.rb | 61 ++ lib/facebook_ads/ad_objects/ads_segments.rb | 32 ++ .../ad_objects/ads_signal_diagnostic_issue.rb | 30 + .../ad_objects/ads_start_your_day_widget.rb | 24 + lib/facebook_ads/ad_objects/ads_tabular.rb | 25 + .../ad_objects/ads_targeting_insights.rb | 34 ++ .../ad_objects/ads_text_suggestions.rb | 31 + .../ad_objects/ads_user_settings.rb | 77 +++ .../ad_objects/ads_value_adjustment_rule.rb | 28 + .../ads_value_adjustment_rule_collection.rb | 28 + lib/facebook_ads/ad_objects/adv_a_instance.rb | 26 + .../advertiser_verification_status.rb | 28 + .../ad_objects/am_oneshop_settings.rb | 24 + .../ad_objects/an_blocked_bi_category.rb | 25 + .../analytics_cohort_query_result.rb | 28 + .../ad_objects/analytics_config.rb | 50 ++ .../analytics_entity_user_config.rb | 25 + .../analytics_funnel_query_result.rb | 28 + .../analytics_platform_metrics_config.rb | 33 ++ .../ad_objects/analytics_query_result.rb | 29 + .../ad_objects/analytics_user_config.rb | 25 + .../ad_objects/app_event_config.rb | 49 ++ lib/facebook_ads/ad_objects/app_links.rb | 31 + .../ad_objects/app_optimized_custom_events.rb | 27 + lib/facebook_ads/ad_objects/app_publisher.rb | 30 + lib/facebook_ads/ad_objects/application.rb | 53 +- .../ad_objects/ar_ads_data_container.rb | 29 + lib/facebook_ads/ad_objects/ar_effect.rb | 28 + .../ad_objects/audience_funnel.rb | 27 + .../ad_objects/audience_overlap.rb | 27 + .../ad_objects/audience_permission.rb | 27 + .../audience_sharing_account_valid.rb | 30 + .../audience_sharing_recipient_accounts.rb | 31 + lib/facebook_ads/ad_objects/audio_asset.rb | 41 ++ .../ad_objects/audio_copyright.rb | 3 +- lib/facebook_ads/ad_objects/audio_isrc.rb | 31 + lib/facebook_ads/ad_objects/audio_release.rb | 38 ++ .../audio_visual_reference_match.rb | 54 ++ lib/facebook_ads/ad_objects/auth_link.rb | 25 + .../ad_objects/automotive_model.rb | 2 +- lib/facebook_ads/ad_objects/bapi_domain.rb | 28 + lib/facebook_ads/ad_objects/bcp_campaign.rb | 39 ++ .../ad_objects/bcp_creator_ig_user.rb | 28 + .../bespoke_partner_guidance_laser.rb | 28 + lib/facebook_ads/ad_objects/bid_schedule.rb | 30 + .../biz_inbox_offsite_email_account.rb | 28 + lib/facebook_ads/ad_objects/blind_pig.rb | 24 + .../ad_objects/blocked_user_info.rb | 29 + .../ad_objects/brand_safety_downloadable.rb | 29 + .../ad_objects/branded_content_ad_error.rb | 31 + .../branded_content_eligible_sponsor_i_ds.rb | 27 + .../branded_content_shadow_ig_media_id.rb | 1 + lib/facebook_ads/ad_objects/business.rb | 531 +++++++++++++++++- .../business_ads_reporting_report_specs.rb | 62 ++ ...siness_advertisable_applications_result.rb | 29 + .../ad_objects/business_agreement.rb | 33 ++ .../ad_objects/business_asset_group.rb | 10 - .../ad_objects/business_creative.rb | 34 ++ .../ad_objects/business_creative_insights.rb | 40 ++ .../ad_objects/business_franchise_config.rb | 35 ++ ...iness_image_t_business_folder_path_item.rb | 26 + ...ss_media_ad_placement_validation_result.rb | 28 + .../ad_objects/business_object.rb | 28 + ...ess_object_transfer_ownership_agreement.rb | 26 + .../business_product_catalog_tos.rb | 26 + .../ad_objects/business_project.rb | 27 + .../ad_objects/business_request.rb | 31 + .../ad_objects/business_setting_logs_data.rb | 29 + lib/facebook_ads/ad_objects/business_tag.rb | 24 + .../business_traffic_analysis_report.rb | 27 + ...iness_video_t_business_folder_path_item.rb | 26 + .../ad_objects/calibrator_existing_rule.rb | 33 ++ .../ad_objects/call_ads_phone_data.rb | 28 + .../ad_objects/campaign_actions_data.rb | 24 + lib/facebook_ads/ad_objects/canvas.rb | 2 +- .../ad_objects/canvas_template.rb | 36 ++ .../cass_setup_offline_event_set_progress.rb | 24 + .../ad_objects/catalog_item_override.rb | 26 + .../catalog_item_rejection_reasons.rb | 34 ++ .../catalog_item_validation_error_list.rb | 25 + .../catalog_smart_pixel_settings.rb | 41 ++ .../catalog_website_onboarding_settings.rb | 24 + .../ad_objects/catalog_website_settings.rb | 24 + ...ina_business_onboarding_vetting_request.rb | 64 +++ .../ad_objects/cloudbridge_dataset_status.rb | 30 + .../collaborative_ads_partner_businesses.rb | 26 + .../ad_objects/column_suggestions.rb | 28 + lib/facebook_ads/ad_objects/comment.rb | 10 +- .../ad_objects/commerce_merchant_settings.rb | 10 - lib/facebook_ads/ad_objects/commerce_order.rb | 2 +- .../contacts_messenger_sync_config.rb | 25 + .../ad_objects/content_delivery_report.rb | 29 + .../ad_objects/conversion_health_kpi.rb | 33 ++ .../copyright_attribution_insights.rb | 29 + .../ad_objects/copyright_audio_asset.rb | 30 + .../ad_objects/copyright_media_misuse.rb | 39 ++ .../ad_objects/cpas_ad_creation_template.rb | 29 + .../ad_objects/cpas_lsb_image_bank.rb | 30 + .../cpas_parent_catalog_settings.rb | 26 + lib/facebook_ads/ad_objects/cpas_setup.rb | 24 + .../ad_objects/cpas_setup_catalog_progress.rb | 28 + .../cpas_setup_page_structure_progress.rb | 26 + .../ad_objects/creative_asset_tag.rb | 25 + .../ad_objects/creator_asset_creative.rb | 39 ++ .../ad_objects/ctwa_whats_app_numbers_info.rb | 30 + .../ctx_optimization_eligibility.rb | 25 + .../ad_objects/custom_audience.rb | 1 - .../custom_audience_capabilities.rb | 25 + .../ad_objects/custom_audience_data_source.rb | 2 + ...m_audience_shared_account_campaign_info.rb | 32 ++ .../ad_objects/custom_conversion.rb | 13 + .../custom_conversion_activities.rb | 28 + lib/facebook_ads/ad_objects/delivery_info.rb | 66 +++ .../ad_objects/delivery_status.rb | 26 + lib/facebook_ads/ad_objects/destination.rb | 2 +- lib/facebook_ads/ad_objects/direct_debit.rb | 33 ++ .../ad_objects/dog_notification_settings.rb | 25 + lib/facebook_ads/ad_objects/domain.rb | 25 + lib/facebook_ads/ad_objects/draft_post.rb | 40 ++ .../ad_objects/dynamic_ar_metadata.rb | 34 ++ .../ad_objects/dynamic_content_set.rb | 25 + .../ad_objects/dynamic_item_display_bundle.rb | 29 + .../dynamic_item_display_bundle_folder.rb | 28 + .../ad_objects/education_experience.rb | 30 + lib/facebook_ads/ad_objects/email_import.rb | 26 + .../ad_objects/end_study_criteria.rb | 24 + .../ad_objects/ent_with_sponsor.rb | 28 + lib/facebook_ads/ad_objects/event.rb | 6 +- .../ad_objects/event_external_ticket_info.rb | 26 + .../ad_objects/event_registration_setting.rb | 26 + .../ad_objects/event_ticket_setting.rb | 24 + .../ad_objects/event_ticket_tier.rb | 40 ++ lib/facebook_ads/ad_objects/event_tour.rb | 35 ++ lib/facebook_ads/ad_objects/expirable_post.rb | 43 ++ .../ad_objects/extended_credit_application.rb | 47 ++ .../ad_objects/extended_credit_email.rb | 25 + .../ad_objects/extended_credit_info.rb | 28 + .../extended_credit_invoice_group.rb | 2 +- ...rnal_event_source_cpas_events_debugging.rb | 33 ++ ...event_source_cpas_events_debugging_info.rb | 27 + .../external_event_source_da_stats_result.rb | 30 + .../ad_objects/external_merchant_settings.rb | 25 + lib/facebook_ads/ad_objects/fame_kumo.rb | 23 + lib/facebook_ads/ad_objects/fantasy_game.rb | 24 + .../ad_objects/favorite_catalog.rb | 24 + .../ad_objects/fb_image_copyright_match.rb | 35 ++ .../ad_objects/fb_lite_to_nt_transitions.rb | 25 + .../fb_page_and_instagram_account.rb | 29 + .../ad_objects/fb_pay_button_login.rb | 24 + lib/facebook_ads/ad_objects/finance_object.rb | 26 + lib/facebook_ads/ad_objects/flight.rb | 2 +- .../ad_objects/franchise_program.rb | 34 ++ .../ad_objects/franchise_program_member.rb | 30 + .../ad_objects/generic_video_asset.rb | 69 +++ .../ad_objects/geo_gating_policy.rb | 29 + lib/facebook_ads/ad_objects/group.rb | 4 - lib/facebook_ads/ad_objects/home_listing.rb | 2 +- lib/facebook_ads/ad_objects/hotel.rb | 2 +- lib/facebook_ads/ad_objects/hours.rb | 24 + .../ig_access_token_for_ig_only_api.rb | 26 + .../ad_objects/ig_boost_media_ad.rb | 25 + lib/facebook_ads/ad_objects/ig_media.rb | 5 + .../ig_media_boost_eligibility_info.rb | 25 + .../ad_objects/ig_media_for_ig_only_api.rb | 39 ++ .../ig_product_tagging_invalidation_error.rb | 27 + ...ig_refresh_access_token_for_ig_only_api.rb | 26 + .../ig_resumable_video_upload_status.rb | 26 + lib/facebook_ads/ad_objects/ig_user.rb | 4 +- .../ad_objects/ig_user_for_ig_only_api.rb | 41 ++ .../ad_objects/image_copyright_dispute.rb | 31 + .../ad_objects/image_reference_match.rb | 39 ++ .../ad_objects/insights_result.rb | 193 +++++++ ...tagram_boostable_media_for_access_token.rb | 26 + .../ad_objects/instagram_insights_result.rb | 4 - .../instagram_related_product_tags.rb | 29 + lib/facebook_ads/ad_objects/instagram_user.rb | 2 +- .../ad_objects/instant_article_cta.rb | 28 + .../instant_article_insights_query_result.rb | 28 + lib/facebook_ads/ad_objects/ip_object.rb | 26 + .../ad_objects/keyword_delivery_report.rb | 33 ++ .../ad_objects/lead_gen_data_draft.rb | 37 ++ .../lead_gen_direct_crm_integration_config.rb | 30 + .../lead_gen_form_preview_details.rb | 57 ++ .../lead_gen_thank_you_page_gated_file.rb | 27 + .../lead_gen_thank_you_page_gated_promo.rb | 26 + .../linked_instagram_account_data.rb | 30 + .../ad_objects/location_based_item.rb | 53 ++ .../ad_objects/{dataset.rb => loom_config.rb} | 2 +- .../ad_objects/marketing_message_targeting.rb | 29 + .../mc_experience_config_for_api.rb | 27 + .../ad_objects/mcom_invoice_bank_account.rb | 28 + .../ad_objects/mcom_invoice_details.rb | 43 ++ .../ad_objects/mcom_invoice_lists.rb | 27 + .../ad_objects/mcom_invoice_status.rb | 36 ++ .../ad_objects/mcom_onboarding_status.rb | 26 + lib/facebook_ads/ad_objects/mcom_payouts.rb | 31 + .../ad_objects/measurement_report.rb | 27 + .../ad_objects/media_copyright_attribution.rb | 38 ++ .../media_copyright_update_record.rb | 29 + lib/facebook_ads/ad_objects/media_title.rb | 2 +- .../ad_objects/merchant_compliance.rb | 29 + .../ad_objects/merchant_report.rb | 39 ++ .../ad_objects/messaging_apps_info.rb | 27 + .../ad_objects/messenger_call_settings.rb | 25 + ...senger_destination_page_welcome_message.rb | 29 + .../ad_objects/mix_insights_result.rb | 45 ++ .../ad_objects/music_work_copyright.rb | 33 ++ .../ad_objects/negative_keyword_list.rb | 33 ++ .../ad_objects/offline_conversion_data_set.rb | 38 +- .../offline_conversion_data_set_activities.rb | 33 ++ ...conversion_data_set_optimization_status.rb | 28 + .../ad_objects/offline_product_item.rb | 56 ++ .../ad_objects/offline_terms_of_service.rb | 25 + ...ffsite_signal_container_business_object.rb | 37 ++ .../ad_objects/open_bridge_configuration.rb | 2 +- .../ad_objects/order_id_attributions.rb | 33 ++ lib/facebook_ads/ad_objects/organization.rb | 27 + lib/facebook_ads/ad_objects/owned_domain.rb | 27 + .../ad_objects/p2_m_invoice_payments.rb | 26 + lib/facebook_ads/ad_objects/page.rb | 40 +- .../ad_objects/page_app_with_leads_access.rb | 26 + lib/facebook_ads/ad_objects/page_broadcast.rb | 25 + .../ad_objects/page_call_to_action.rb | 1 + .../ad_objects/page_crms_with_leads_access.rb | 27 + lib/facebook_ads/ad_objects/page_cts_topic.rb | 30 + ...imilar_advertiser_budget_recommendation.rb | 26 + .../page_ctx_default_greeting_text.rb | 27 + ...irect_integration_crm_with_leads_access.rb | 26 + .../page_game_bot_quota_information.rb | 26 + .../ad_objects/page_get_started_nullstate.rb | 27 + .../page_insights_async_export_run.rb | 31 + .../ad_objects/page_leads_access_config.rb | 24 + .../ad_objects/page_locations_breakdown.rb | 33 ++ .../page_message_responsiveness_metrics.rb | 27 + .../page_partner_with_leads_access.rb | 27 + lib/facebook_ads/ad_objects/page_publisher.rb | 28 + .../ad_objects/page_user_permissions.rb | 34 ++ .../ad_objects/page_user_with_leads_access.rb | 28 + .../ad_objects/page_videos_you_can_use.rb | 26 + .../ad_objects/panel_api_report.rb | 32 ++ .../ad_objects/parent_catalog_report.rb | 26 + .../ad_objects/partner_account_linking.rb | 30 + .../ad_objects/partner_category.rb | 34 ++ .../ad_objects/partner_integration_linked.rb | 38 ++ .../partnership_ad_content_search_media.rb | 27 + .../ad_objects/partnership_ads_identity.rb | 26 + .../ad_objects/payment_request_details.rb | 33 ++ .../ad_objects/personal_ads_persona.rb | 27 + lib/facebook_ads/ad_objects/photo_metadata.rb | 36 ++ lib/facebook_ads/ad_objects/place_tag.rb | 25 + .../ad_objects/platform_session_key.rb | 24 + .../ad_objects/preapproval_review.rb | 29 + .../ad_objects/premium_music_video.rb | 31 + lib/facebook_ads/ad_objects/privacy_option.rb | 29 + .../private_computation_environment.rb | 28 + .../ad_objects/product_catalog.rb | 18 +- .../product_catalog_diagnostic_group.rb | 4 + .../product_catalog_example_feed.rb | 25 + .../ad_objects/product_catalog_facets.rb | 26 + ...product_catalog_image_settings_internal.rb | 27 + .../product_catalog_localization_settings.rb | 25 + ...duct_catalog_microdata_stats_pixel_info.rb | 26 + .../product_catalog_user_actions.rb | 25 + .../product_catalog_user_permissions.rb | 34 ++ .../ad_objects/product_catalog_user_tasks.rb | 26 + .../product_da_event_samples_batch.rb | 27 + .../product_feed_rule_preview_sample.rb | 26 + .../product_feed_upload_progress.rb | 29 + lib/facebook_ads/ad_objects/product_item.rb | 20 +- .../ad_objects/product_item_insights.rb | 29 + .../product_item_invalidation_error.rb | 24 + .../product_item_landing_page_data.rb | 35 ++ .../ad_objects/product_item_offer.rb | 25 + .../ad_objects/product_item_shipping.rb | 29 + .../product_item_subscription_info.rb | 27 + .../ad_objects/product_item_unit_price.rb | 24 + .../ad_objects/product_set_taxon_category.rb | 27 + .../ad_objects/product_set_usage.rb | 25 + .../ad_objects/product_visual_variant.rb | 26 + .../ad_objects/publisher_block_list.rb | 6 +- .../ad_objects/publisher_delivery_report.rb | 29 + .../ad_objects/publisher_white_list.rb | 28 + .../ad_objects/recommended_ig_media.rb | 26 + .../ad_objects/recommended_page_post.rb | 27 + .../regional_regulation_identities.rb | 26 + .../ad_objects/reporting_audience.rb | 27 + .../ad_objects/research_poll_study.rb | 25 + .../ad_objects/reseller_guidance.rb | 41 ++ .../ad_objects/rights_manager_data_export.rb | 29 + .../ad_objects/rights_manager_insights.rb | 29 + lib/facebook_ads/ad_objects/robot.rb | 34 ++ .../sales_rights_inventory_management.rb | 31 + lib/facebook_ads/ad_objects/scheduled_post.rb | 40 ++ .../scim_company_user_phone_number.rb | 27 + ...shadow_ig_media_boosted_insights_result.rb | 30 + .../ad_objects/shadow_ig_media_builder.rb | 1 + .../ad_objects/signals_iwl_extractor.rb | 26 + .../single_owner_additional_profile.rb | 26 + lib/facebook_ads/ad_objects/site_link.rb | 27 + .../ad_objects/sliced_event_source_group.rb | 26 + .../ad_objects/smart_pixel_insights.rb | 26 + .../ad_objects/social_wifi_site.rb | 24 + .../ad_objects/split_test_config.rb | 29 + lib/facebook_ads/ad_objects/status.rb | 37 ++ lib/facebook_ads/ad_objects/stream_filter.rb | 27 + .../ad_objects/taggable_subject.rb | 25 + .../ad_objects/targeting_automation.rb | 1 + ...rgeting_geo_location_location_expansion.rb | 26 + .../targeting_marketing_message_channels.rb | 25 + .../third_party_measurement_report_dataset.rb | 27 + .../third_party_partner_lift_request.rb | 43 ++ .../third_party_partner_panel_request.rb | 49 ++ .../third_party_partner_panel_scheduled.rb | 49 ++ ...third_party_partner_viewability_request.rb | 40 ++ .../ad_objects/time_suggestion.rb | 26 + .../ad_objects/timezone_offset.rb | 29 + .../ad_objects/transactable_item.rb | 60 ++ lib/facebook_ads/ad_objects/transaction.rb | 53 ++ .../ad_objects/unique_ad_creative.rb | 26 + lib/facebook_ads/ad_objects/user.rb | 18 +- lib/facebook_ads/ad_objects/user_context.rb | 23 + .../ad_objects/user_mobile_config.rb | 26 + .../user_notification_seen_state_data.rb | 25 + .../ad_objects/user_payment_methods_info.rb | 31 + .../user_payment_modules_options.rb | 28 + .../ad_objects/user_set_reporting_root.rb | 25 + lib/facebook_ads/ad_objects/vehicle.rb | 2 +- lib/facebook_ads/ad_objects/vehicle_offer.rb | 2 +- lib/facebook_ads/ad_objects/video_asset.rb | 75 +++ .../ad_objects/video_copyright.rb | 2 +- .../ad_objects/video_copyright_match.rb | 54 ++ lib/facebook_ads/ad_objects/video_group.rb | 40 ++ .../ad_objects/video_metrics_report.rb | 33 ++ lib/facebook_ads/ad_objects/video_stats.rb | 30 + .../ad_objects/video_text_question.rb | 26 + .../ad_objects/vidwalla_broadcast.rb | 24 + .../ad_objects/wearable_device_public_key.rb | 30 + lib/facebook_ads/ad_objects/web_publisher.rb | 26 + .../website_creative_asset_source.rb | 24 + .../website_creative_asset_suggestions.rb | 26 + .../ad_objects/whats_app_business_account.rb | 22 +- ..._partner_client_verification_submission.rb | 1 + .../whats_app_payment_capabilities.rb | 26 + .../whatsapp_subscribed_apps_info.rb | 26 + .../ad_objects/whitehat_fbdl_run.rb | 30 + .../ad_objects/wifi_information.rb | 25 + lib/facebook_ads/ad_objects/wit_user.rb | 26 + lib/facebook_ads/ad_objects/with_asset3_d.rb | 23 + .../ad_objects/woodhenge_supporter.rb | 28 + .../ad_objects/work_access_code.rb | 26 + .../ad_objects/work_experience.rb | 32 ++ lib/facebook_ads/ad_objects/work_skill.rb | 28 + .../ad_objects/work_user_badges.rb | 28 + lib/facebook_ads/version.rb | 4 +- 494 files changed, 14020 insertions(+), 229 deletions(-) create mode 100644 lib/facebook_ads/ad_objects/ad_account_aaa_compatible_ad_objects.rb create mode 100644 lib/facebook_ads/ad_objects/ad_account_aaa_similar_campaigns.rb rename lib/facebook_ads/ad_objects/{fame_export_config.rb => ad_account_ad_limits_insights.rb} (77%) create mode 100644 lib/facebook_ads/ad_objects/ad_account_ad_rules_count_by_type.rb create mode 100644 lib/facebook_ads/ad_objects/ad_account_ads_recommended_audios.rb create mode 100644 lib/facebook_ads/ad_objects/ad_account_all_payment_methods.rb create mode 100644 lib/facebook_ads/ad_objects/ad_account_app_setup_requirements.rb create mode 100644 lib/facebook_ads/ad_objects/ad_account_asl_schedule.rb create mode 100644 lib/facebook_ads/ad_objects/ad_account_bank_info_list.rb create mode 100644 lib/facebook_ads/ad_objects/ad_account_billing_date_preference.rb create mode 100644 lib/facebook_ads/ad_objects/ad_account_campaign_attribution_option_info.rb create mode 100644 lib/facebook_ads/ad_objects/ad_account_creation_request.rb create mode 100644 lib/facebook_ads/ad_objects/ad_account_custom_audience_limits.rb create mode 100644 lib/facebook_ads/ad_objects/ad_account_optimization_goals_ae_mv2_eligibility.rb create mode 100644 lib/facebook_ads/ad_objects/ad_account_payment_details.rb create mode 100644 lib/facebook_ads/ad_objects/ad_account_payment_options.rb create mode 100644 lib/facebook_ads/ad_objects/ad_account_prepay_details.rb create mode 100644 lib/facebook_ads/ad_objects/ad_account_promotion_progress_bar.rb create mode 100644 lib/facebook_ads/ad_objects/ad_account_recommendations.rb create mode 100644 lib/facebook_ads/ad_objects/ad_account_related_ico_study.rb create mode 100644 lib/facebook_ads/ad_objects/ad_account_smart_suggested_ads.rb create mode 100644 lib/facebook_ads/ad_objects/ad_account_spend_limit.rb create mode 100644 lib/facebook_ads/ad_objects/ad_account_subsidy_amount_details.rb create mode 100644 lib/facebook_ads/ad_objects/ad_account_suggested_tag.rb create mode 100644 lib/facebook_ads/ad_objects/ad_account_url_for_asset_extraction.rb create mode 100644 lib/facebook_ads/ad_objects/ad_account_user_permissions.rb create mode 100644 lib/facebook_ads/ad_objects/ad_account_user_settings.rb create mode 100644 lib/facebook_ads/ad_objects/ad_account_youth_ads_advertiser.rb create mode 100644 lib/facebook_ads/ad_objects/ad_asset_feed_additional_data_page_nudge_message.rb create mode 100644 lib/facebook_ads/ad_objects/ad_campaign_delivery_stats.rb create mode 100644 lib/facebook_ads/ad_objects/ad_campaign_group_incremental_conversion_optimization_config.rb create mode 100644 lib/facebook_ads/ad_objects/ad_campaign_group_metrics_metadata.rb create mode 100644 lib/facebook_ads/ad_objects/ad_campaign_group_stats.rb rename lib/facebook_ads/ad_objects/{page_saved_filter.rb => ad_campaign_group_structure_tree.rb} (74%) create mode 100644 lib/facebook_ads/ad_objects/ad_campaign_metrics_metadata.rb create mode 100644 lib/facebook_ads/ad_objects/ad_campaign_multi_ads.rb create mode 100644 lib/facebook_ads/ad_objects/ad_campaign_stats.rb create mode 100644 lib/facebook_ads/ad_objects/ad_column_sizes.rb create mode 100644 lib/facebook_ads/ad_objects/ad_contract.rb create mode 100644 lib/facebook_ads/ad_objects/ad_conversion_values.rb create mode 100644 lib/facebook_ads/ad_objects/ad_conversions.rb create mode 100644 lib/facebook_ads/ad_objects/ad_creation_package_config.rb create mode 100644 lib/facebook_ads/ad_objects/ad_creative_asset_groups_spec.rb create mode 100644 lib/facebook_ads/ad_objects/ad_creative_contextual_multi_ads.rb create mode 100644 lib/facebook_ads/ad_objects/ad_creative_feature_action_metadata.rb create mode 100644 lib/facebook_ads/ad_objects/ad_creative_feature_customizations.rb create mode 100644 lib/facebook_ads/ad_objects/ad_creative_generative_asset_spec.rb create mode 100644 lib/facebook_ads/ad_objects/ad_creative_house_shops_ads_seller_content.rb create mode 100644 lib/facebook_ads/ad_objects/ad_creative_image_data_media_elements.rb create mode 100644 lib/facebook_ads/ad_objects/ad_creative_link_data_custom_overlay_spec.rb create mode 100644 lib/facebook_ads/ad_objects/ad_creative_link_data_moment.rb create mode 100644 lib/facebook_ads/ad_objects/ad_creative_marketing_message_structured_spec.rb create mode 100644 lib/facebook_ads/ad_objects/ad_creative_regional_regulation_disclaimer.rb create mode 100644 lib/facebook_ads/ad_objects/ad_creative_reward_info.rb create mode 100644 lib/facebook_ads/ad_objects/ad_creative_shop_spec.rb create mode 100644 lib/facebook_ads/ad_objects/ad_creative_video_data_custom_overlay_spec.rb create mode 100644 lib/facebook_ads/ad_objects/ad_creative_video_data_media_elements.rb create mode 100644 lib/facebook_ads/ad_objects/ad_creative_whats_app_channel_spec.rb create mode 100644 lib/facebook_ads/ad_objects/ad_custom_derived_metrics.rb create mode 100644 lib/facebook_ads/ad_objects/ad_default_values.rb create mode 100644 lib/facebook_ads/ad_objects/ad_draft.rb create mode 100644 lib/facebook_ads/ad_objects/ad_export_preset.rb create mode 100644 lib/facebook_ads/ad_objects/ad_keyword_stats.rb create mode 100644 lib/facebook_ads/ad_objects/ad_kpi_shift.rb create mode 100644 lib/facebook_ads/ad_objects/ad_light_adgroup.rb create mode 100644 lib/facebook_ads/ad_objects/ad_light_campaign.rb create mode 100644 lib/facebook_ads/ad_objects/ad_light_campaign_group.rb create mode 100644 lib/facebook_ads/ad_objects/ad_limit_setting.rb create mode 100644 lib/facebook_ads/ad_objects/ad_limits_enforcement_data.rb create mode 100644 lib/facebook_ads/ad_objects/ad_network_analytics_async_query_export.rb create mode 100644 lib/facebook_ads/ad_objects/ad_proposal.rb create mode 100644 lib/facebook_ads/ad_objects/ad_saved_keywords.rb create mode 100644 lib/facebook_ads/ad_objects/ad_saved_location.rb create mode 100644 lib/facebook_ads/ad_objects/ad_saved_report.rb create mode 100644 lib/facebook_ads/ad_objects/ad_topline.rb create mode 100644 lib/facebook_ads/ad_objects/ad_topline_detail.rb create mode 100644 lib/facebook_ads/ad_objects/ad_volume.rb create mode 100644 lib/facebook_ads/ad_objects/adgroup_facebook_feedback.rb create mode 100644 lib/facebook_ads/ad_objects/adjacent_content_delivery_report.rb create mode 100644 lib/facebook_ads/ad_objects/adoptable_pet.rb create mode 100644 lib/facebook_ads/ad_objects/ads_anomaly_detection.rb create mode 100644 lib/facebook_ads/ad_objects/ads_conversion_goal.rb create mode 100644 lib/facebook_ads/ad_objects/ads_creation_saved_state.rb create mode 100644 lib/facebook_ads/ad_objects/ads_custom_pivots_preview.rb create mode 100644 lib/facebook_ads/ad_objects/ads_data_partner.rb create mode 100644 lib/facebook_ads/ad_objects/ads_dataset.rb create mode 100644 lib/facebook_ads/ad_objects/ads_guidance_qe_exposure.rb create mode 100644 lib/facebook_ads/ad_objects/ads_naming_template.rb create mode 100644 lib/facebook_ads/ad_objects/ads_payment_cycle.rb create mode 100644 lib/facebook_ads/ad_objects/ads_pivot_rules.rb create mode 100644 lib/facebook_ads/ad_objects/ads_pixel_capability_override.rb create mode 100644 lib/facebook_ads/ad_objects/ads_pixel_capi_setup_quality.rb create mode 100644 lib/facebook_ads/ad_objects/ads_pixel_delivery_recommendations.rb create mode 100644 lib/facebook_ads/ad_objects/ads_pixel_domain_control_rule.rb create mode 100644 lib/facebook_ads/ad_objects/ads_pixel_domain_last_fired_time.rb rename lib/facebook_ads/ad_objects/{catalog_segment_all_match_count_laser.rb => ads_pixel_event_last_fired_time.rb} (69%) create mode 100644 lib/facebook_ads/ad_objects/ads_pixel_event_prediction.rb create mode 100644 lib/facebook_ads/ad_objects/ads_pixel_event_suggestion_rule.rb create mode 100644 lib/facebook_ads/ad_objects/ads_pixel_item_price.rb create mode 100644 lib/facebook_ads/ad_objects/ads_pixel_microdata_stats.rb create mode 100644 lib/facebook_ads/ad_objects/ads_pixel_raw_fires_result.rb create mode 100644 lib/facebook_ads/ad_objects/ads_pixel_real_time_event_log_result.rb create mode 100644 lib/facebook_ads/ad_objects/ads_pixel_recent_events_result.rb create mode 100644 lib/facebook_ads/ad_objects/ads_pixel_signals_iwl_feedback_nux.rb create mode 100644 lib/facebook_ads/ad_objects/ads_pixel_signals_iwl_nux.rb create mode 100644 lib/facebook_ads/ad_objects/ads_report_builder.rb create mode 100644 lib/facebook_ads/ad_objects/ads_report_builder_export_core.rb create mode 100644 lib/facebook_ads/ad_objects/ads_report_builder_mmm_report.rb create mode 100644 lib/facebook_ads/ad_objects/ads_report_builder_mmm_report_scheduler.rb create mode 100644 lib/facebook_ads/ad_objects/ads_report_builder_saved_report.rb create mode 100644 lib/facebook_ads/ad_objects/ads_segments.rb create mode 100644 lib/facebook_ads/ad_objects/ads_signal_diagnostic_issue.rb create mode 100644 lib/facebook_ads/ad_objects/ads_start_your_day_widget.rb create mode 100644 lib/facebook_ads/ad_objects/ads_tabular.rb create mode 100644 lib/facebook_ads/ad_objects/ads_targeting_insights.rb create mode 100644 lib/facebook_ads/ad_objects/ads_text_suggestions.rb create mode 100644 lib/facebook_ads/ad_objects/ads_user_settings.rb create mode 100644 lib/facebook_ads/ad_objects/ads_value_adjustment_rule.rb create mode 100644 lib/facebook_ads/ad_objects/ads_value_adjustment_rule_collection.rb create mode 100644 lib/facebook_ads/ad_objects/adv_a_instance.rb create mode 100644 lib/facebook_ads/ad_objects/advertiser_verification_status.rb create mode 100644 lib/facebook_ads/ad_objects/am_oneshop_settings.rb create mode 100644 lib/facebook_ads/ad_objects/an_blocked_bi_category.rb create mode 100644 lib/facebook_ads/ad_objects/analytics_cohort_query_result.rb create mode 100644 lib/facebook_ads/ad_objects/analytics_config.rb create mode 100644 lib/facebook_ads/ad_objects/analytics_entity_user_config.rb create mode 100644 lib/facebook_ads/ad_objects/analytics_funnel_query_result.rb create mode 100644 lib/facebook_ads/ad_objects/analytics_platform_metrics_config.rb create mode 100644 lib/facebook_ads/ad_objects/analytics_query_result.rb create mode 100644 lib/facebook_ads/ad_objects/analytics_user_config.rb create mode 100644 lib/facebook_ads/ad_objects/app_event_config.rb create mode 100644 lib/facebook_ads/ad_objects/app_links.rb create mode 100644 lib/facebook_ads/ad_objects/app_optimized_custom_events.rb create mode 100644 lib/facebook_ads/ad_objects/app_publisher.rb create mode 100644 lib/facebook_ads/ad_objects/ar_ads_data_container.rb create mode 100644 lib/facebook_ads/ad_objects/ar_effect.rb create mode 100644 lib/facebook_ads/ad_objects/audience_funnel.rb create mode 100644 lib/facebook_ads/ad_objects/audience_overlap.rb create mode 100644 lib/facebook_ads/ad_objects/audience_permission.rb create mode 100644 lib/facebook_ads/ad_objects/audience_sharing_account_valid.rb create mode 100644 lib/facebook_ads/ad_objects/audience_sharing_recipient_accounts.rb create mode 100644 lib/facebook_ads/ad_objects/audio_asset.rb create mode 100644 lib/facebook_ads/ad_objects/audio_isrc.rb create mode 100644 lib/facebook_ads/ad_objects/audio_release.rb create mode 100644 lib/facebook_ads/ad_objects/audio_visual_reference_match.rb create mode 100644 lib/facebook_ads/ad_objects/auth_link.rb create mode 100644 lib/facebook_ads/ad_objects/bapi_domain.rb create mode 100644 lib/facebook_ads/ad_objects/bcp_campaign.rb create mode 100644 lib/facebook_ads/ad_objects/bcp_creator_ig_user.rb create mode 100644 lib/facebook_ads/ad_objects/bespoke_partner_guidance_laser.rb create mode 100644 lib/facebook_ads/ad_objects/bid_schedule.rb create mode 100644 lib/facebook_ads/ad_objects/biz_inbox_offsite_email_account.rb create mode 100644 lib/facebook_ads/ad_objects/blind_pig.rb create mode 100644 lib/facebook_ads/ad_objects/blocked_user_info.rb create mode 100644 lib/facebook_ads/ad_objects/brand_safety_downloadable.rb create mode 100644 lib/facebook_ads/ad_objects/branded_content_ad_error.rb create mode 100644 lib/facebook_ads/ad_objects/branded_content_eligible_sponsor_i_ds.rb create mode 100644 lib/facebook_ads/ad_objects/business_ads_reporting_report_specs.rb create mode 100644 lib/facebook_ads/ad_objects/business_advertisable_applications_result.rb create mode 100644 lib/facebook_ads/ad_objects/business_agreement.rb create mode 100644 lib/facebook_ads/ad_objects/business_creative.rb create mode 100644 lib/facebook_ads/ad_objects/business_creative_insights.rb create mode 100644 lib/facebook_ads/ad_objects/business_franchise_config.rb create mode 100644 lib/facebook_ads/ad_objects/business_image_t_business_folder_path_item.rb create mode 100644 lib/facebook_ads/ad_objects/business_media_ad_placement_validation_result.rb create mode 100644 lib/facebook_ads/ad_objects/business_object.rb create mode 100644 lib/facebook_ads/ad_objects/business_object_transfer_ownership_agreement.rb create mode 100644 lib/facebook_ads/ad_objects/business_product_catalog_tos.rb create mode 100644 lib/facebook_ads/ad_objects/business_project.rb create mode 100644 lib/facebook_ads/ad_objects/business_request.rb create mode 100644 lib/facebook_ads/ad_objects/business_setting_logs_data.rb create mode 100644 lib/facebook_ads/ad_objects/business_tag.rb create mode 100644 lib/facebook_ads/ad_objects/business_traffic_analysis_report.rb create mode 100644 lib/facebook_ads/ad_objects/business_video_t_business_folder_path_item.rb create mode 100644 lib/facebook_ads/ad_objects/calibrator_existing_rule.rb create mode 100644 lib/facebook_ads/ad_objects/call_ads_phone_data.rb create mode 100644 lib/facebook_ads/ad_objects/campaign_actions_data.rb create mode 100644 lib/facebook_ads/ad_objects/canvas_template.rb create mode 100644 lib/facebook_ads/ad_objects/cass_setup_offline_event_set_progress.rb create mode 100644 lib/facebook_ads/ad_objects/catalog_item_override.rb create mode 100644 lib/facebook_ads/ad_objects/catalog_item_rejection_reasons.rb create mode 100644 lib/facebook_ads/ad_objects/catalog_item_validation_error_list.rb create mode 100644 lib/facebook_ads/ad_objects/catalog_smart_pixel_settings.rb create mode 100644 lib/facebook_ads/ad_objects/catalog_website_onboarding_settings.rb create mode 100644 lib/facebook_ads/ad_objects/catalog_website_settings.rb create mode 100644 lib/facebook_ads/ad_objects/china_business_onboarding_vetting_request.rb create mode 100644 lib/facebook_ads/ad_objects/cloudbridge_dataset_status.rb create mode 100644 lib/facebook_ads/ad_objects/collaborative_ads_partner_businesses.rb create mode 100644 lib/facebook_ads/ad_objects/column_suggestions.rb create mode 100644 lib/facebook_ads/ad_objects/contacts_messenger_sync_config.rb create mode 100644 lib/facebook_ads/ad_objects/content_delivery_report.rb create mode 100644 lib/facebook_ads/ad_objects/conversion_health_kpi.rb create mode 100644 lib/facebook_ads/ad_objects/copyright_attribution_insights.rb create mode 100644 lib/facebook_ads/ad_objects/copyright_audio_asset.rb create mode 100644 lib/facebook_ads/ad_objects/copyright_media_misuse.rb create mode 100644 lib/facebook_ads/ad_objects/cpas_ad_creation_template.rb create mode 100644 lib/facebook_ads/ad_objects/cpas_lsb_image_bank.rb create mode 100644 lib/facebook_ads/ad_objects/cpas_parent_catalog_settings.rb create mode 100644 lib/facebook_ads/ad_objects/cpas_setup.rb create mode 100644 lib/facebook_ads/ad_objects/cpas_setup_catalog_progress.rb create mode 100644 lib/facebook_ads/ad_objects/cpas_setup_page_structure_progress.rb create mode 100644 lib/facebook_ads/ad_objects/creative_asset_tag.rb create mode 100644 lib/facebook_ads/ad_objects/creator_asset_creative.rb create mode 100644 lib/facebook_ads/ad_objects/ctwa_whats_app_numbers_info.rb create mode 100644 lib/facebook_ads/ad_objects/ctx_optimization_eligibility.rb create mode 100644 lib/facebook_ads/ad_objects/custom_audience_capabilities.rb create mode 100644 lib/facebook_ads/ad_objects/custom_audience_shared_account_campaign_info.rb create mode 100644 lib/facebook_ads/ad_objects/custom_conversion_activities.rb create mode 100644 lib/facebook_ads/ad_objects/delivery_info.rb create mode 100644 lib/facebook_ads/ad_objects/delivery_status.rb create mode 100644 lib/facebook_ads/ad_objects/direct_debit.rb create mode 100644 lib/facebook_ads/ad_objects/dog_notification_settings.rb create mode 100644 lib/facebook_ads/ad_objects/domain.rb create mode 100644 lib/facebook_ads/ad_objects/draft_post.rb create mode 100644 lib/facebook_ads/ad_objects/dynamic_ar_metadata.rb create mode 100644 lib/facebook_ads/ad_objects/dynamic_content_set.rb create mode 100644 lib/facebook_ads/ad_objects/dynamic_item_display_bundle.rb create mode 100644 lib/facebook_ads/ad_objects/dynamic_item_display_bundle_folder.rb create mode 100644 lib/facebook_ads/ad_objects/education_experience.rb create mode 100644 lib/facebook_ads/ad_objects/email_import.rb create mode 100644 lib/facebook_ads/ad_objects/end_study_criteria.rb create mode 100644 lib/facebook_ads/ad_objects/ent_with_sponsor.rb create mode 100644 lib/facebook_ads/ad_objects/event_external_ticket_info.rb create mode 100644 lib/facebook_ads/ad_objects/event_registration_setting.rb create mode 100644 lib/facebook_ads/ad_objects/event_ticket_setting.rb create mode 100644 lib/facebook_ads/ad_objects/event_ticket_tier.rb create mode 100644 lib/facebook_ads/ad_objects/event_tour.rb create mode 100644 lib/facebook_ads/ad_objects/expirable_post.rb create mode 100644 lib/facebook_ads/ad_objects/extended_credit_application.rb create mode 100644 lib/facebook_ads/ad_objects/extended_credit_email.rb create mode 100644 lib/facebook_ads/ad_objects/extended_credit_info.rb create mode 100644 lib/facebook_ads/ad_objects/external_event_source_cpas_events_debugging.rb create mode 100644 lib/facebook_ads/ad_objects/external_event_source_cpas_events_debugging_info.rb create mode 100644 lib/facebook_ads/ad_objects/external_event_source_da_stats_result.rb create mode 100644 lib/facebook_ads/ad_objects/external_merchant_settings.rb create mode 100644 lib/facebook_ads/ad_objects/fame_kumo.rb create mode 100644 lib/facebook_ads/ad_objects/fantasy_game.rb create mode 100644 lib/facebook_ads/ad_objects/favorite_catalog.rb create mode 100644 lib/facebook_ads/ad_objects/fb_image_copyright_match.rb create mode 100644 lib/facebook_ads/ad_objects/fb_lite_to_nt_transitions.rb create mode 100644 lib/facebook_ads/ad_objects/fb_page_and_instagram_account.rb create mode 100644 lib/facebook_ads/ad_objects/fb_pay_button_login.rb create mode 100644 lib/facebook_ads/ad_objects/finance_object.rb create mode 100644 lib/facebook_ads/ad_objects/franchise_program.rb create mode 100644 lib/facebook_ads/ad_objects/franchise_program_member.rb create mode 100644 lib/facebook_ads/ad_objects/generic_video_asset.rb create mode 100644 lib/facebook_ads/ad_objects/geo_gating_policy.rb create mode 100644 lib/facebook_ads/ad_objects/hours.rb create mode 100644 lib/facebook_ads/ad_objects/ig_access_token_for_ig_only_api.rb create mode 100644 lib/facebook_ads/ad_objects/ig_boost_media_ad.rb create mode 100644 lib/facebook_ads/ad_objects/ig_media_boost_eligibility_info.rb create mode 100644 lib/facebook_ads/ad_objects/ig_media_for_ig_only_api.rb create mode 100644 lib/facebook_ads/ad_objects/ig_product_tagging_invalidation_error.rb create mode 100644 lib/facebook_ads/ad_objects/ig_refresh_access_token_for_ig_only_api.rb create mode 100644 lib/facebook_ads/ad_objects/ig_resumable_video_upload_status.rb create mode 100644 lib/facebook_ads/ad_objects/ig_user_for_ig_only_api.rb create mode 100644 lib/facebook_ads/ad_objects/image_copyright_dispute.rb create mode 100644 lib/facebook_ads/ad_objects/image_reference_match.rb create mode 100644 lib/facebook_ads/ad_objects/instagram_boostable_media_for_access_token.rb create mode 100644 lib/facebook_ads/ad_objects/instagram_related_product_tags.rb create mode 100644 lib/facebook_ads/ad_objects/instant_article_cta.rb create mode 100644 lib/facebook_ads/ad_objects/instant_article_insights_query_result.rb create mode 100644 lib/facebook_ads/ad_objects/ip_object.rb create mode 100644 lib/facebook_ads/ad_objects/keyword_delivery_report.rb create mode 100644 lib/facebook_ads/ad_objects/lead_gen_data_draft.rb create mode 100644 lib/facebook_ads/ad_objects/lead_gen_direct_crm_integration_config.rb create mode 100644 lib/facebook_ads/ad_objects/lead_gen_form_preview_details.rb create mode 100644 lib/facebook_ads/ad_objects/lead_gen_thank_you_page_gated_file.rb create mode 100644 lib/facebook_ads/ad_objects/lead_gen_thank_you_page_gated_promo.rb create mode 100644 lib/facebook_ads/ad_objects/linked_instagram_account_data.rb create mode 100644 lib/facebook_ads/ad_objects/location_based_item.rb rename lib/facebook_ads/ad_objects/{dataset.rb => loom_config.rb} (94%) create mode 100644 lib/facebook_ads/ad_objects/marketing_message_targeting.rb create mode 100644 lib/facebook_ads/ad_objects/mc_experience_config_for_api.rb create mode 100644 lib/facebook_ads/ad_objects/mcom_invoice_bank_account.rb create mode 100644 lib/facebook_ads/ad_objects/mcom_invoice_details.rb create mode 100644 lib/facebook_ads/ad_objects/mcom_invoice_lists.rb create mode 100644 lib/facebook_ads/ad_objects/mcom_invoice_status.rb create mode 100644 lib/facebook_ads/ad_objects/mcom_onboarding_status.rb create mode 100644 lib/facebook_ads/ad_objects/mcom_payouts.rb create mode 100644 lib/facebook_ads/ad_objects/measurement_report.rb create mode 100644 lib/facebook_ads/ad_objects/media_copyright_attribution.rb create mode 100644 lib/facebook_ads/ad_objects/media_copyright_update_record.rb create mode 100644 lib/facebook_ads/ad_objects/merchant_compliance.rb create mode 100644 lib/facebook_ads/ad_objects/merchant_report.rb create mode 100644 lib/facebook_ads/ad_objects/messaging_apps_info.rb create mode 100644 lib/facebook_ads/ad_objects/messenger_call_settings.rb create mode 100644 lib/facebook_ads/ad_objects/messenger_destination_page_welcome_message.rb create mode 100644 lib/facebook_ads/ad_objects/mix_insights_result.rb create mode 100644 lib/facebook_ads/ad_objects/music_work_copyright.rb create mode 100644 lib/facebook_ads/ad_objects/negative_keyword_list.rb create mode 100644 lib/facebook_ads/ad_objects/offline_conversion_data_set_activities.rb create mode 100644 lib/facebook_ads/ad_objects/offline_conversion_data_set_optimization_status.rb create mode 100644 lib/facebook_ads/ad_objects/offline_product_item.rb create mode 100644 lib/facebook_ads/ad_objects/offline_terms_of_service.rb create mode 100644 lib/facebook_ads/ad_objects/offsite_signal_container_business_object.rb create mode 100644 lib/facebook_ads/ad_objects/order_id_attributions.rb create mode 100644 lib/facebook_ads/ad_objects/organization.rb create mode 100644 lib/facebook_ads/ad_objects/owned_domain.rb create mode 100644 lib/facebook_ads/ad_objects/p2_m_invoice_payments.rb create mode 100644 lib/facebook_ads/ad_objects/page_app_with_leads_access.rb create mode 100644 lib/facebook_ads/ad_objects/page_broadcast.rb create mode 100644 lib/facebook_ads/ad_objects/page_crms_with_leads_access.rb create mode 100644 lib/facebook_ads/ad_objects/page_cts_topic.rb create mode 100644 lib/facebook_ads/ad_objects/page_ctx_budget_similar_advertiser_budget_recommendation.rb create mode 100644 lib/facebook_ads/ad_objects/page_ctx_default_greeting_text.rb create mode 100644 lib/facebook_ads/ad_objects/page_direct_integration_crm_with_leads_access.rb create mode 100644 lib/facebook_ads/ad_objects/page_game_bot_quota_information.rb create mode 100644 lib/facebook_ads/ad_objects/page_get_started_nullstate.rb create mode 100644 lib/facebook_ads/ad_objects/page_insights_async_export_run.rb create mode 100644 lib/facebook_ads/ad_objects/page_leads_access_config.rb create mode 100644 lib/facebook_ads/ad_objects/page_locations_breakdown.rb create mode 100644 lib/facebook_ads/ad_objects/page_message_responsiveness_metrics.rb create mode 100644 lib/facebook_ads/ad_objects/page_partner_with_leads_access.rb create mode 100644 lib/facebook_ads/ad_objects/page_publisher.rb create mode 100644 lib/facebook_ads/ad_objects/page_user_permissions.rb create mode 100644 lib/facebook_ads/ad_objects/page_user_with_leads_access.rb create mode 100644 lib/facebook_ads/ad_objects/page_videos_you_can_use.rb create mode 100644 lib/facebook_ads/ad_objects/panel_api_report.rb create mode 100644 lib/facebook_ads/ad_objects/parent_catalog_report.rb create mode 100644 lib/facebook_ads/ad_objects/partner_account_linking.rb create mode 100644 lib/facebook_ads/ad_objects/partner_category.rb create mode 100644 lib/facebook_ads/ad_objects/partner_integration_linked.rb create mode 100644 lib/facebook_ads/ad_objects/partnership_ad_content_search_media.rb create mode 100644 lib/facebook_ads/ad_objects/partnership_ads_identity.rb create mode 100644 lib/facebook_ads/ad_objects/payment_request_details.rb create mode 100644 lib/facebook_ads/ad_objects/personal_ads_persona.rb create mode 100644 lib/facebook_ads/ad_objects/photo_metadata.rb create mode 100644 lib/facebook_ads/ad_objects/place_tag.rb create mode 100644 lib/facebook_ads/ad_objects/platform_session_key.rb create mode 100644 lib/facebook_ads/ad_objects/preapproval_review.rb create mode 100644 lib/facebook_ads/ad_objects/premium_music_video.rb create mode 100644 lib/facebook_ads/ad_objects/privacy_option.rb create mode 100644 lib/facebook_ads/ad_objects/private_computation_environment.rb create mode 100644 lib/facebook_ads/ad_objects/product_catalog_example_feed.rb create mode 100644 lib/facebook_ads/ad_objects/product_catalog_facets.rb create mode 100644 lib/facebook_ads/ad_objects/product_catalog_image_settings_internal.rb create mode 100644 lib/facebook_ads/ad_objects/product_catalog_localization_settings.rb create mode 100644 lib/facebook_ads/ad_objects/product_catalog_microdata_stats_pixel_info.rb create mode 100644 lib/facebook_ads/ad_objects/product_catalog_user_actions.rb create mode 100644 lib/facebook_ads/ad_objects/product_catalog_user_permissions.rb create mode 100644 lib/facebook_ads/ad_objects/product_catalog_user_tasks.rb create mode 100644 lib/facebook_ads/ad_objects/product_da_event_samples_batch.rb create mode 100644 lib/facebook_ads/ad_objects/product_feed_rule_preview_sample.rb create mode 100644 lib/facebook_ads/ad_objects/product_feed_upload_progress.rb create mode 100644 lib/facebook_ads/ad_objects/product_item_insights.rb create mode 100644 lib/facebook_ads/ad_objects/product_item_invalidation_error.rb create mode 100644 lib/facebook_ads/ad_objects/product_item_landing_page_data.rb create mode 100644 lib/facebook_ads/ad_objects/product_item_offer.rb create mode 100644 lib/facebook_ads/ad_objects/product_item_shipping.rb create mode 100644 lib/facebook_ads/ad_objects/product_item_subscription_info.rb create mode 100644 lib/facebook_ads/ad_objects/product_item_unit_price.rb create mode 100644 lib/facebook_ads/ad_objects/product_set_taxon_category.rb create mode 100644 lib/facebook_ads/ad_objects/product_set_usage.rb create mode 100644 lib/facebook_ads/ad_objects/product_visual_variant.rb create mode 100644 lib/facebook_ads/ad_objects/publisher_delivery_report.rb create mode 100644 lib/facebook_ads/ad_objects/publisher_white_list.rb create mode 100644 lib/facebook_ads/ad_objects/recommended_ig_media.rb create mode 100644 lib/facebook_ads/ad_objects/recommended_page_post.rb create mode 100644 lib/facebook_ads/ad_objects/regional_regulation_identities.rb create mode 100644 lib/facebook_ads/ad_objects/reporting_audience.rb create mode 100644 lib/facebook_ads/ad_objects/research_poll_study.rb create mode 100644 lib/facebook_ads/ad_objects/reseller_guidance.rb create mode 100644 lib/facebook_ads/ad_objects/rights_manager_data_export.rb create mode 100644 lib/facebook_ads/ad_objects/rights_manager_insights.rb create mode 100644 lib/facebook_ads/ad_objects/robot.rb create mode 100644 lib/facebook_ads/ad_objects/sales_rights_inventory_management.rb create mode 100644 lib/facebook_ads/ad_objects/scheduled_post.rb create mode 100644 lib/facebook_ads/ad_objects/scim_company_user_phone_number.rb create mode 100644 lib/facebook_ads/ad_objects/shadow_ig_media_boosted_insights_result.rb create mode 100644 lib/facebook_ads/ad_objects/signals_iwl_extractor.rb create mode 100644 lib/facebook_ads/ad_objects/single_owner_additional_profile.rb create mode 100644 lib/facebook_ads/ad_objects/site_link.rb create mode 100644 lib/facebook_ads/ad_objects/sliced_event_source_group.rb create mode 100644 lib/facebook_ads/ad_objects/smart_pixel_insights.rb create mode 100644 lib/facebook_ads/ad_objects/social_wifi_site.rb create mode 100644 lib/facebook_ads/ad_objects/split_test_config.rb create mode 100644 lib/facebook_ads/ad_objects/status.rb create mode 100644 lib/facebook_ads/ad_objects/stream_filter.rb create mode 100644 lib/facebook_ads/ad_objects/taggable_subject.rb create mode 100644 lib/facebook_ads/ad_objects/targeting_geo_location_location_expansion.rb create mode 100644 lib/facebook_ads/ad_objects/targeting_marketing_message_channels.rb create mode 100644 lib/facebook_ads/ad_objects/third_party_measurement_report_dataset.rb create mode 100644 lib/facebook_ads/ad_objects/third_party_partner_lift_request.rb create mode 100644 lib/facebook_ads/ad_objects/third_party_partner_panel_request.rb create mode 100644 lib/facebook_ads/ad_objects/third_party_partner_panel_scheduled.rb create mode 100644 lib/facebook_ads/ad_objects/third_party_partner_viewability_request.rb create mode 100644 lib/facebook_ads/ad_objects/time_suggestion.rb create mode 100644 lib/facebook_ads/ad_objects/timezone_offset.rb create mode 100644 lib/facebook_ads/ad_objects/transactable_item.rb create mode 100644 lib/facebook_ads/ad_objects/transaction.rb create mode 100644 lib/facebook_ads/ad_objects/unique_ad_creative.rb create mode 100644 lib/facebook_ads/ad_objects/user_context.rb create mode 100644 lib/facebook_ads/ad_objects/user_mobile_config.rb create mode 100644 lib/facebook_ads/ad_objects/user_notification_seen_state_data.rb create mode 100644 lib/facebook_ads/ad_objects/user_payment_methods_info.rb create mode 100644 lib/facebook_ads/ad_objects/user_payment_modules_options.rb create mode 100644 lib/facebook_ads/ad_objects/user_set_reporting_root.rb create mode 100644 lib/facebook_ads/ad_objects/video_asset.rb create mode 100644 lib/facebook_ads/ad_objects/video_copyright_match.rb create mode 100644 lib/facebook_ads/ad_objects/video_group.rb create mode 100644 lib/facebook_ads/ad_objects/video_metrics_report.rb create mode 100644 lib/facebook_ads/ad_objects/video_stats.rb create mode 100644 lib/facebook_ads/ad_objects/video_text_question.rb create mode 100644 lib/facebook_ads/ad_objects/vidwalla_broadcast.rb create mode 100644 lib/facebook_ads/ad_objects/wearable_device_public_key.rb create mode 100644 lib/facebook_ads/ad_objects/web_publisher.rb create mode 100644 lib/facebook_ads/ad_objects/website_creative_asset_source.rb create mode 100644 lib/facebook_ads/ad_objects/website_creative_asset_suggestions.rb create mode 100644 lib/facebook_ads/ad_objects/whats_app_payment_capabilities.rb create mode 100644 lib/facebook_ads/ad_objects/whatsapp_subscribed_apps_info.rb create mode 100644 lib/facebook_ads/ad_objects/whitehat_fbdl_run.rb create mode 100644 lib/facebook_ads/ad_objects/wifi_information.rb create mode 100644 lib/facebook_ads/ad_objects/wit_user.rb create mode 100644 lib/facebook_ads/ad_objects/with_asset3_d.rb create mode 100644 lib/facebook_ads/ad_objects/woodhenge_supporter.rb create mode 100644 lib/facebook_ads/ad_objects/work_access_code.rb create mode 100644 lib/facebook_ads/ad_objects/work_experience.rb create mode 100644 lib/facebook_ads/ad_objects/work_skill.rb create mode 100644 lib/facebook_ads/ad_objects/work_user_badges.rb diff --git a/examples/AdAccountAdSetsPostAdSetCreateCpa.rb b/examples/AdAccountAdSetsPostAdSetCreateCpa.rb index 866f3b68..18fd27b9 100644 --- a/examples/AdAccountAdSetsPostAdSetCreateCpa.rb +++ b/examples/AdAccountAdSetsPostAdSetCreateCpa.rb @@ -34,8 +34,8 @@ name: 'A CPA Ad Set', campaign_id: '', daily_budget: '5000', - start_time: '2024-04-08T11:26:05-0700', - end_time: '2024-04-15T11:26:05-0700', + start_time: '2024-06-18T16:39:15-0700', + end_time: '2024-06-25T16:39:15-0700', billing_event: 'IMPRESSIONS', optimization_goal: 'REACH', bid_amount: '1000', diff --git a/examples/AdAccountAdSetsPostAdSetCreateCpaAppEvents.rb b/examples/AdAccountAdSetsPostAdSetCreateCpaAppEvents.rb index 57a66be9..60cdf084 100644 --- a/examples/AdAccountAdSetsPostAdSetCreateCpaAppEvents.rb +++ b/examples/AdAccountAdSetsPostAdSetCreateCpaAppEvents.rb @@ -34,8 +34,8 @@ name: 'A CPA Ad Set optimized for App Events', campaign_id: '', daily_budget: '300', - start_time: '2024-04-08T11:26:49-0700', - end_time: '2024-04-15T11:26:49-0700', + start_time: '2024-06-18T16:40:02-0700', + end_time: '2024-06-25T16:40:02-0700', billing_event: 'IMPRESSIONS', optimization_goal: 'OFFSITE_CONVERSIONS', bid_amount: '100', diff --git a/examples/AdAccountAdSetsPostCreateAdSet.rb b/examples/AdAccountAdSetsPostCreateAdSet.rb index f7edfbe2..3a5ecdbc 100644 --- a/examples/AdAccountAdSetsPostCreateAdSet.rb +++ b/examples/AdAccountAdSetsPostCreateAdSet.rb @@ -33,8 +33,8 @@ adsets = ad_account.adsets.create({ name: 'My First AdSet', lifetime_budget: '20000', - start_time: '2024-04-08T11:25:19-0700', - end_time: '2024-04-15T11:25:19-0700', + start_time: '2024-06-18T16:38:30-0700', + end_time: '2024-06-25T16:38:30-0700', campaign_id: '', bid_amount: '500', billing_event: 'IMPRESSIONS', diff --git a/examples/AdAccountAdSetsPostDailyBudget20.rb b/examples/AdAccountAdSetsPostDailyBudget20.rb index 5c831803..53ac62f4 100644 --- a/examples/AdAccountAdSetsPostDailyBudget20.rb +++ b/examples/AdAccountAdSetsPostDailyBudget20.rb @@ -33,8 +33,8 @@ adsets = ad_account.adsets.create({ name: 'My First Adset', daily_budget: '2000', - start_time: '2024-04-01T11:26:23-0700', - end_time: '2024-04-08T11:26:23-0700', + start_time: '2024-06-11T16:39:34-0700', + end_time: '2024-06-18T16:39:34-0700', campaign_id: '', bid_amount: '100', billing_event: 'LINK_CLICKS', diff --git a/examples/AdAccountAdSetsPostLifetimeBudget200Duration10Days.rb b/examples/AdAccountAdSetsPostLifetimeBudget200Duration10Days.rb index 8e5f6422..97ed9e84 100644 --- a/examples/AdAccountAdSetsPostLifetimeBudget200Duration10Days.rb +++ b/examples/AdAccountAdSetsPostLifetimeBudget200Duration10Days.rb @@ -33,8 +33,8 @@ adsets = ad_account.adsets.create({ name: 'My First Adset', lifetime_budget: '20000', - start_time: '2024-04-01T11:26:32-0700', - end_time: '2024-04-11T11:26:32-0700', + start_time: '2024-06-11T16:39:43-0700', + end_time: '2024-06-21T16:39:43-0700', campaign_id: '', bid_amount: '100', billing_event: 'LINK_CLICKS', diff --git a/examples/AdAccountAdSetsPostOptimizePostEngagement.rb b/examples/AdAccountAdSetsPostOptimizePostEngagement.rb index 9d06b5a6..1bd13757 100644 --- a/examples/AdAccountAdSetsPostOptimizePostEngagement.rb +++ b/examples/AdAccountAdSetsPostOptimizePostEngagement.rb @@ -33,8 +33,8 @@ adsets = ad_account.adsets.create({ name: 'My First Adset', lifetime_budget: '20000', - start_time: '2024-04-01T11:26:40-0700', - end_time: '2024-04-11T11:26:40-0700', + start_time: '2024-06-11T16:39:52-0700', + end_time: '2024-06-21T16:39:52-0700', campaign_id: '', bid_amount: '500', billing_event: 'IMPRESSIONS', diff --git a/examples/AdgroupLeadsEdgeAdgroupLeadsFiltered.rb b/examples/AdgroupLeadsEdgeAdgroupLeadsFiltered.rb index f7345799..2218ea14 100644 --- a/examples/AdgroupLeadsEdgeAdgroupLeadsFiltered.rb +++ b/examples/AdgroupLeadsEdgeAdgroupLeadsFiltered.rb @@ -32,5 +32,5 @@ ad = FacebookAds::Ad.get(id) leadss = ad.leads({ fields: { }, - filtering: [{'field':'time_created','operator':'GREATER_THAN','value':1711391704}], + filtering: [{'field':'time_created','operator':'GREATER_THAN','value':1717544918}], }) \ No newline at end of file diff --git a/examples/AdsPixelEventsPost.rb b/examples/AdsPixelEventsPost.rb index 8fa61d11..1618e8f7 100644 --- a/examples/AdsPixelEventsPost.rb +++ b/examples/AdsPixelEventsPost.rb @@ -31,5 +31,5 @@ ads_pixel = FacebookAds::AdsPixel.get(id) events = ads_pixel.events.create({ - data: [{'event_name':'PageView','event_time':1711995835,'user_data':{'fbc':'fb.1.1554763741205.AbCdEfGhIjKlMnOpQrStUvWxYz1234567890','fbp':'fb.1.1558571054389.1098115397','em':'309a0a5c3e211326ae75ca18196d301a9bdbd1a882a4d2569511033da23f0abd'}}], + data: [{'event_name':'PageView','event_time':1718149023,'user_data':{'fbc':'fb.1.1554763741205.AbCdEfGhIjKlMnOpQrStUvWxYz1234567890','fbp':'fb.1.1558571054389.1098115397','em':'309a0a5c3e211326ae75ca18196d301a9bdbd1a882a4d2569511033da23f0abd'}}], }) \ No newline at end of file diff --git a/lib/facebook_ads/ad_objects/ad.rb b/lib/facebook_ads/ad_objects/ad.rb index 6b847c21..d3b053d7 100644 --- a/lib/facebook_ads/ad_objects/ad.rb +++ b/lib/facebook_ads/ad_objects/ad.rb @@ -110,6 +110,7 @@ class Ad < AdObject field :conversion_specs, { list: 'ConversionActionQuery' } field :created_time, 'datetime' field :creative, 'AdCreative' + field :creative_asset_groups_spec, 'AdCreativeAssetGroupsSpec' field :demolink_hash, 'string' field :display_sequence, 'int' field :effective_status, { enum: -> { EFFECTIVE_STATUS }} diff --git a/lib/facebook_ads/ad_objects/ad_account.rb b/lib/facebook_ads/ad_objects/ad_account.rb index a4d92dde..ab2ae893 100644 --- a/lib/facebook_ads/ad_objects/ad_account.rb +++ b/lib/facebook_ads/ad_objects/ad_account.rb @@ -108,7 +108,6 @@ class AdAccount < AdObject "HOTEL", "JOB", "LOCAL_SERVICE_BUSINESS", - "LOCATION_BASED_ITEM", "MEDIA_TITLE", "OFFLINE_PRODUCT", "PRODUCT", @@ -261,7 +260,7 @@ class AdAccount < AdObject end has_edge :ad_saved_keywords do |edge| - edge.get do |api| + edge.get 'AdSavedKeywords' do |api| api.has_param :fields, { list: 'string' } end end @@ -289,6 +288,7 @@ class AdAccount < AdObject api.has_param :call_to_action, 'object' api.has_param :categorization_criteria, { enum: -> { AdCreative::CATEGORIZATION_CRITERIA }} api.has_param :category_media_source, { enum: -> { AdCreative::CATEGORY_MEDIA_SOURCE }} + api.has_param :contextual_multi_ads, 'hash' api.has_param :degrees_of_freedom_spec, 'hash' api.has_param :destination_set_id, 'string' api.has_param :dynamic_ad_voice, { enum: -> { AdCreative::DYNAMIC_AD_VOICE }} @@ -306,7 +306,6 @@ class AdAccount < AdObject api.has_param :is_dco_internal, 'bool' api.has_param :link_og_id, 'string' api.has_param :link_url, 'string' - api.has_param :messenger_sponsored_message, 'string' api.has_param :name, 'string' api.has_param :object_id, 'int' api.has_param :object_story_id, 'string' @@ -314,6 +313,7 @@ class AdAccount < AdObject api.has_param :object_type, 'string' api.has_param :object_url, 'string' api.has_param :omnichannel_link_spec, 'hash' + api.has_param :page_welcome_message, 'string' api.has_param :place_page_set_id, 'string' api.has_param :platform_customizations, 'object' api.has_param :playable_asset_id, 'string' @@ -415,6 +415,7 @@ class AdAccount < AdObject api.has_param :bid_amount, 'int' api.has_param :conversion_domain, 'string' api.has_param :creative, 'AdCreative' + api.has_param :creative_asset_groups_spec, 'object' api.has_param :date_format, 'string' api.has_param :display_sequence, 'int' api.has_param :draft_adgroup_id, 'string' @@ -431,18 +432,18 @@ class AdAccount < AdObject end has_edge :ads_reporting_mmm_reports do |edge| - edge.get do |api| + edge.get 'AdsReportBuilderMmmReport' do |api| api.has_param :filtering, { list: 'hash' } end end has_edge :ads_reporting_mmm_schedulers do |edge| - edge.get + edge.get 'AdsReportBuilderMmmReportScheduler' end has_edge :ads_volume do |edge| edge.get 'AdAccountAdVolume' do |api| - api.has_param :page_id, 'int' + api.has_param :page_id, 'string' api.has_param :recommendation_type, { enum: -> { AdAccountAdVolume::RECOMMENDATION_TYPE }} api.has_param :show_breakdown_by_actor, 'bool' end @@ -502,6 +503,8 @@ class AdAccount < AdObject api.has_param :pacing_type, { list: 'string' } api.has_param :promoted_object, 'object' api.has_param :rb_prediction_id, 'string' + api.has_param :regional_regulated_categories, { list: { enum: -> { AdSet::REGIONAL_REGULATED_CATEGORIES }} } + api.has_param :regional_regulation_identities, 'hash' api.has_param :rf_prediction_id, 'string' api.has_param :source_adset_id, 'string' api.has_param :start_time, 'datetime' @@ -555,7 +558,6 @@ class AdAccount < AdObject api.has_param :title, 'string' end edge.post 'AdVideo' do |api| - api.has_param :adaptive_type, 'string' api.has_param :animated_effect_id, 'int' api.has_param :application_id, 'string' api.has_param :asked_fun_fact_prompt_id, 'int' @@ -603,7 +605,6 @@ class AdAccount < AdObject api.has_param :original_fov, 'int' api.has_param :original_projection_type, { enum: -> { AdVideo::ORIGINAL_PROJECTION_TYPE }} api.has_param :publish_event_id, 'int' - api.has_param :react_mode_metadata, 'string' api.has_param :referenced_sticker_id, 'string' api.has_param :replace_video_id, 'string' api.has_param :slideshow_spec, 'hash' @@ -689,7 +690,7 @@ class AdAccount < AdObject end has_edge :audience_funnel do |edge| - edge.get + edge.get 'AudienceFunnel' end has_edge :block_list_drafts do |edge| @@ -705,7 +706,7 @@ class AdAccount < AdObject end has_edge :businessprojects do |edge| - edge.get do |api| + edge.get 'BusinessProject' do |api| api.has_param :business, 'string' end end @@ -766,11 +767,11 @@ class AdAccount < AdObject end has_edge :conversion_goals do |edge| - edge.get + edge.get 'AdsConversionGoal' end has_edge :cpa_guidance do |edge| - edge.get + edge.get 'BespokePartnerGuidanceLaser' end has_edge :customaudiences do |edge| @@ -831,6 +832,7 @@ class AdAccount < AdObject has_edge :customconversions do |edge| edge.get 'CustomConversion' edge.post 'CustomConversion' do |api| + api.has_param :action_source_type, { enum: -> { CustomConversion::ACTION_SOURCE_TYPE }} api.has_param :advanced_rule, 'string' api.has_param :custom_event_type, { enum: -> { CustomConversion::CUSTOM_EVENT_TYPE }} api.has_param :default_conversion_value, 'double' @@ -984,10 +986,6 @@ class AdAccount < AdObject end end - has_edge :offline_conversion_data_sets do |edge| - edge.get 'OfflineConversionDataSet' - end - has_edge :onbehalf_requests do |edge| edge.get 'BusinessOwnedObjectOnBehalfOfRequest' do |api| api.has_param :status, { enum: -> { BusinessOwnedObjectOnBehalfOfRequest::STATUS }} @@ -1193,11 +1191,11 @@ class AdAccount < AdObject end has_edge :value_adjustment_rule_collections do |edge| - edge.get + edge.get 'AdsValueAdjustmentRuleCollection' end has_edge :value_adjustment_rules do |edge| - edge.get + edge.get 'AdsValueAdjustmentRule' end end diff --git a/lib/facebook_ads/ad_objects/ad_account_aaa_compatible_ad_objects.rb b/lib/facebook_ads/ad_objects/ad_account_aaa_compatible_ad_objects.rb new file mode 100644 index 00000000..8ca3878b --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_aaa_compatible_ad_objects.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountAaaCompatibleAdObjects < AdObject + + field :adgroup_ids, { list: 'string' } + field :campaign_group_ids, { list: 'string' } + field :campaign_ids, { list: 'string' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_account_aaa_similar_campaigns.rb b/lib/facebook_ads/ad_objects/ad_account_aaa_similar_campaigns.rb new file mode 100644 index 00000000..29743cec --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_aaa_similar_campaigns.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountAaaSimilarCampaigns < AdObject + + field :similar_campaign_limit, 'int' + field :similar_campaigns_info, { list: 'hash' } + field :used_campaign_slots, 'int' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/fame_export_config.rb b/lib/facebook_ads/ad_objects/ad_account_ad_limits_insights.rb similarity index 77% rename from lib/facebook_ads/ad_objects/fame_export_config.rb rename to lib/facebook_ads/ad_objects/ad_account_ad_limits_insights.rb index c1e3bbf1..4edcabb6 100644 --- a/lib/facebook_ads/ad_objects/fame_export_config.rb +++ b/lib/facebook_ads/ad_objects/ad_account_ad_limits_insights.rb @@ -13,12 +13,10 @@ module FacebookAds # on github and we'll fix in our codegen framework. We'll not be able to accept # pull request for this class. - class FameExportConfig < AdObject + class AdAccountAdLimitsInsights < AdObject - field :can_edit, 'bool' - field :column_id, 'string' - field :display_name, 'string' - field :format, 'string' + field :date_start, 'string' + field :date_stop, 'string' has_no_id has_no_get has_no_post diff --git a/lib/facebook_ads/ad_objects/ad_account_ad_rules_count_by_type.rb b/lib/facebook_ads/ad_objects/ad_account_ad_rules_count_by_type.rb new file mode 100644 index 00000000..36a2dfc2 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_ad_rules_count_by_type.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountAdRulesCountByType < AdObject + + field :count, 'int' + field :evaluation_type, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_account_ad_rules_history.rb b/lib/facebook_ads/ad_objects/ad_account_ad_rules_history.rb index 0b5b6974..3465a682 100644 --- a/lib/facebook_ads/ad_objects/ad_account_ad_rules_history.rb +++ b/lib/facebook_ads/ad_objects/ad_account_ad_rules_history.rb @@ -19,11 +19,14 @@ class AdAccountAdRulesHistory < AdObject "CHANGED_BID", "CHANGED_BUDGET", "EMAIL", + "ENABLE_ADVANTAGE_CAMPAIGN_BUDGET", "ENABLE_ADVANTAGE_PLUS_CREATIVE", "ENABLE_ADVANTAGE_PLUS_PLACEMENTS", "ENABLE_AUTOFLOW", "ENABLE_GEN_UNCROP", + "ENABLE_MUSIC", "ENABLE_SEMANTIC_BASED_AUDIENCE_EXPANSION", + "ENABLE_SHOPS_ADS", "ENDPOINT_PINGED", "ERROR", "FACEBOOK_NOTIFICATION_SENT", diff --git a/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb b/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb index 3cbcbbee..0bf12925 100644 --- a/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb +++ b/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb @@ -15,6 +15,7 @@ module FacebookAds class AdAccountAdVolume < AdObject RECOMMENDATION_TYPE = [ + "AAC_CREATION_PACKAGE", "AB_TEST", "ACCOUNT_SPEND_LIMIT", "ACO_TOGGLE", @@ -26,10 +27,14 @@ class AdAccountAdVolume < AdObject "ADVANTAGE_DETAILED_TARGETING", "ADVANTAGE_LOOKALIKE_AUDIENCE", "ADVANTAGE_PLUS_AUDIENCE", + "ADVANTAGE_PLUS_AUDIENCE_DUPLICATION", "ADVANTAGE_PLUS_AUDIENCE_FRICTION", "ADVANTAGE_PLUS_AUDIENCE_TOGGLE", + "ADVANTAGE_PLUS_CAMPAIGN_BUDGET", "ADVANTAGE_PLUS_CREATIVE", "ADVANTAGE_PLUS_CREATIVE_CATALOG", + "ADVANTAGE_PLUS_CREATIVE_SE", + "ADVANTAGE_PLUS_PLACEMENTS_DUPLICATION", "ADVANTAGE_PLUS_PLACEMENTS_FRICTION", "ADVANTAGE_SHOPPING_CAMPAIGN", "ADVANTAGE_SHOPPING_CAMPAIGN_FRAGMENTATION", @@ -40,7 +45,6 @@ class AdAccountAdVolume < AdObject "AGGREGATED_COST_LIMITED", "APP_AEM_V2_INSTALLATION_PROMOTION", "ASC_BUDGET_OPTIMIZATION", - "ASC_BUDGET_OPTIMIZATION_PFR", "ASC_CREATION_PACKAGE", "ASC_FRAGMENTATION_V2", "ASPECT_RATIO", @@ -48,14 +52,18 @@ class AdAccountAdVolume < AdObject "AUCTION_OVERLAP", "AUCTION_OVERLAP_CONSOLIDATION", "AUDIENCE_EXPANSION", + "AUDIENCE_EXPANSION_GEORADIUS", "AUDIENCE_EXPANSION_RETARGETING", "AUDIENCE_LEARNING_LIMITED", "AUTOFLOW_OPT_IN", "AUTOFLOW_OPT_IN_FALLBACK_DUPLICATION_FLOW", + "AUTOFLOW_OPT_IN_V2", "AUTOMATIC_PLACEMENTS", + "AUTOMATIC_PLACEMENTS_V2", "AUTO_BID", "BLENDED_ADS", "BROAD_TARGETING", + "BUDGET_LIMITED", "CAPI", "CAPI_PERFORMANCE_MATCH_KEY", "CAPI_PERFORMANCE_MATCH_KEY_V2", @@ -69,6 +77,7 @@ class AdAccountAdVolume < AdObject "COST_GOAL_CPA_LIMITED", "COST_PER_RESULT", "CREATION_PACKAGE_UPGRADE_TO_ASC", + "CREATION_PACKAGE_UPGRADE_TO_CTX", "CREATION_PACKAGE_UPGRADE_TO_TLA", "CREATION_PACKAGE_UPGRADE_TO_TMC", "CREATIVE_BADGE", @@ -85,13 +94,16 @@ class AdAccountAdVolume < AdObject "DA_ADVANTAGE_PLUS_CREATIVE_INFO_LABELS", "DA_DUPLICATION_PRODUCT_TAGS", "DEAD_LINK", + "DEFRAGMENTATION_ACB", "DYNAMIC_ADVANTAGE_CAMPAIGN_BUDGET", "ECOSYSTEM_BID_REDUCE_L1_CARDINALITY", "EVC_APP_DUPLICATION_UPGRADE", "EVC_WEB_DUPLICATION_UPGRADE", "FRAGMENTATION", + "FRAGMENTATION_V2", "GES_TEST", "GUIDANCE_CENTER_CODE_GEN", + "HEURISTIC_DEFAULT_DURATION", "HIGH_COST", "HISTORICAL_BENCHMARK", "IG_MULTI_ADS", @@ -108,29 +120,36 @@ class AdAccountAdVolume < AdObject "MULTI_TEXT", "MUSIC", "NOT_APPLICABLE", + "NO_DELIVERY_STATUS", "OPTIMAL_BAU", "PAYMENT_METHOD", "PERFORMANT_CREATIVE_REELS_OPT_IN", "PFR_L1_INLINE_MMT", + "PIXEL_UPSELL", "PREDICTIVE_CREATIVE_LIMITED", "PREDICTIVE_CREATIVE_LIMITED_HOURLY", "PREPARING_STATUS", + "PURCHASE_OPTIMIZATION", "RAPID_LEARNING_LIMITED", "RAPID_LEARNING_PHASE", "REELS_DUPLICATION_UPSELL", + "REELS_PLACEMENT", "REVERT", "SCALE_GOOD_CAMPAIGN", "SEMANTIC_BASED_AUDIENCE_EXPANSION", "SETUP_PIXEL", "SHOPS_ADS", + "SHOPS_ADS_DUPLICATION", "SIGNALS_GROWTH_CAPI", "SIGNALS_GROWTH_CAPI_TABLE", "SIGNALS_GROWTH_CAPI_V2", + "SIMILAR_ADVERTISER_BUDGET_RECOMMENDATION", "SIX_PLUS_MANUAL_PLACEMENTS", "SPEND_LIMIT", "SYD_TEST_MODE", "TAILORED_LEAD_AD_CAMPAIGN", "TAILORED_MESSAGES_CAMPAIGN", + "TLA_CREATION_PACKAGE", "TOP_ADSETS_WITH_ADS_UNDER_CAP", "TOP_CAMPAIGNS_WITH_ADS_UNDER_CAP", "TWO_P_GUIDANCE_CARD_AAA", diff --git a/lib/facebook_ads/ad_objects/ad_account_ads_recommended_audios.rb b/lib/facebook_ads/ad_objects/ad_account_ads_recommended_audios.rb new file mode 100644 index 00000000..7599b51d --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_ads_recommended_audios.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountAdsRecommendedAudios < AdObject + + field :audio_assets, { list: 'int' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_account_all_payment_methods.rb b/lib/facebook_ads/ad_objects/ad_account_all_payment_methods.rb new file mode 100644 index 00000000..23697332 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_all_payment_methods.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountAllPaymentMethods < AdObject + + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_account_app_setup_requirements.rb b/lib/facebook_ads/ad_objects/ad_account_app_setup_requirements.rb new file mode 100644 index 00000000..956362ea --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_app_setup_requirements.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountAppSetupRequirements < AdObject + + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_account_asl_schedule.rb b/lib/facebook_ads/ad_objects/ad_account_asl_schedule.rb new file mode 100644 index 00000000..08bc0ed9 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_asl_schedule.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountAslSchedule < AdObject + + field :ad_account, 'AdAccount' + field :id, 'string' + field :time_created, 'datetime' + field :time_updated, 'datetime' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_account_bank_info_list.rb b/lib/facebook_ads/ad_objects/ad_account_bank_info_list.rb new file mode 100644 index 00000000..44fe0c9f --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_bank_info_list.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountBankInfoList < AdObject + + field :banks, { list: 'object' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_account_billing_date_preference.rb b/lib/facebook_ads/ad_objects/ad_account_billing_date_preference.rb new file mode 100644 index 00000000..3ff3652c --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_billing_date_preference.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountBillingDatePreference < AdObject + + field :ad_account, 'AdAccount' + field :day_of_month, 'int' + field :id, 'string' + field :next_bill_date, 'datetime' + field :time_created, 'datetime' + field :time_effective, 'datetime' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_account_business_constraints.rb b/lib/facebook_ads/ad_objects/ad_account_business_constraints.rb index 591f2c11..1a029e39 100644 --- a/lib/facebook_ads/ad_objects/ad_account_business_constraints.rb +++ b/lib/facebook_ads/ad_objects/ad_account_business_constraints.rb @@ -14,11 +14,17 @@ module FacebookAds # pull request for this class. class AdAccountBusinessConstraints < AdObject + STATUS = [ + "ACTIVE", + "APPLICATION_IN_PROGRESS", + "WITH_CAMPAIGN_ERROR", + ] + field :audience_controls, 'object' field :campaigns_with_error, { list: 'string' } field :placement_controls, 'object' - field :status, 'string' + field :status, { enum: -> { STATUS }} has_no_id has_no_get has_no_post diff --git a/lib/facebook_ads/ad_objects/ad_account_campaign_attribution_option_info.rb b/lib/facebook_ads/ad_objects/ad_account_campaign_attribution_option_info.rb new file mode 100644 index 00000000..923dba8f --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_campaign_attribution_option_info.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountCampaignAttributionOptionInfo < AdObject + + field :is_eligible, 'bool' + field :value, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_account_creation_request.rb b/lib/facebook_ads/ad_objects/ad_account_creation_request.rb new file mode 100644 index 00000000..83c6f695 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_creation_request.rb @@ -0,0 +1,61 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountCreationRequest < AdObject + + field :ad_accounts_currency, 'string' + field :ad_accounts_info, { list: 'object' } + field :additional_comment, 'string' + field :address_in_chinese, 'string' + field :address_in_english, 'object' + field :address_in_local_language, 'string' + field :advertiser_business, 'Business' + field :appeal_reason, 'object' + field :business, 'Business' + field :business_registration_id, 'string' + field :chinese_legal_entity_name, 'string' + field :contact, 'object' + field :creator, 'User' + field :credit_card_id, 'string' + field :disapproval_reasons, { list: 'object' } + field :english_legal_entity_name, 'string' + field :extended_credit_id, 'string' + field :id, 'string' + field :is_smb, 'bool' + field :is_test, 'bool' + field :legal_entity_name_in_local_language, 'string' + field :oe_request_id, 'string' + field :official_website_url, 'string' + field :planning_agency_business, 'Business' + field :planning_agency_business_id, 'string' + field :promotable_app_ids, { list: 'string' } + field :promotable_page_ids, { list: 'string' } + field :promotable_urls, { list: 'string' } + field :request_change_reasons, { list: 'object' } + field :status, 'string' + field :subvertical, 'string' + field :subvertical_v2, 'string' + field :time_created, 'datetime' + field :vertical, 'string' + field :vertical_v2, 'string' + has_no_post + has_no_delete + + has_edge :adaccounts do |edge| + edge.get 'AdAccount' + end + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_account_custom_audience_limits.rb b/lib/facebook_ads/ad_objects/ad_account_custom_audience_limits.rb new file mode 100644 index 00000000..1d325dfa --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_custom_audience_limits.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountCustomAudienceLimits < AdObject + + field :audience_update_quota_in_total, 'int' + field :audience_update_quota_left, 'double' + field :has_hit_audience_update_limit, 'bool' + field :next_audience_update_available_time, 'string' + field :rate_limit_reset_time, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb b/lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb index 1d708809..5dd812d7 100644 --- a/lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb +++ b/lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb @@ -34,6 +34,7 @@ class AdAccountDeliveryEstimate < AdObject "OFFSITE_CONVERSIONS", "PAGE_LIKES", "POST_ENGAGEMENT", + "PROFILE_VISIT", "QUALITY_CALL", "QUALITY_LEAD", "REACH", diff --git a/lib/facebook_ads/ad_objects/ad_account_optimization_goals_ae_mv2_eligibility.rb b/lib/facebook_ads/ad_objects/ad_account_optimization_goals_ae_mv2_eligibility.rb new file mode 100644 index 00000000..8bc223cf --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_optimization_goals_ae_mv2_eligibility.rb @@ -0,0 +1,57 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountOptimizationGoalsAeMv2Eligibility < AdObject + OPTIMIZATION_GOAL = [ + "AD_RECALL_LIFT", + "APP_INSTALLS", + "APP_INSTALLS_AND_OFFSITE_CONVERSIONS", + "CONVERSATIONS", + "DERIVED_EVENTS", + "ENGAGED_USERS", + "EVENT_RESPONSES", + "IMPRESSIONS", + "IN_APP_VALUE", + "LANDING_PAGE_VIEWS", + "LEAD_GENERATION", + "LINK_CLICKS", + "MEANINGFUL_CALL_ATTEMPT", + "MESSAGING_APPOINTMENT_CONVERSION", + "MESSAGING_PURCHASE_CONVERSION", + "NONE", + "OFFSITE_CONVERSIONS", + "PAGE_LIKES", + "POST_ENGAGEMENT", + "PROFILE_VISIT", + "QUALITY_CALL", + "QUALITY_LEAD", + "REACH", + "REMINDERS_SET", + "SUBSCRIBERS", + "THRUPLAY", + "VALUE", + "VISIT_INSTAGRAM_PROFILE", + ] + + + field :is_disabled, 'bool' + field :optimization_goal, { enum: -> { OPTIMIZATION_GOAL }} + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_account_payment_details.rb b/lib/facebook_ads/ad_objects/ad_account_payment_details.rb new file mode 100644 index 00000000..0f660d85 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_payment_details.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountPaymentDetails < AdObject + + field :amount, 'CurrencyAmount' + field :create_date, 'int' + field :id, 'string' + field :last_action_status, 'string' + field :metadata, 'object' + field :payment_details_id, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_account_payment_options.rb b/lib/facebook_ads/ad_objects/ad_account_payment_options.rb new file mode 100644 index 00000000..20523d61 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_payment_options.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountPaymentOptions < AdObject + + field :available_altpay_options, { list: 'object' } + field :available_card_types, { list: 'string' } + field :available_payment_options, { list: 'string' } + field :existing_payment_methods, { list: 'object' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_account_prepay_details.rb b/lib/facebook_ads/ad_objects/ad_account_prepay_details.rb new file mode 100644 index 00000000..fe54f90b --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_prepay_details.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountPrepayDetails < AdObject + + field :default_funding_amount, 'CurrencyAmount' + field :max_acceptable_amount, 'CurrencyAmount' + field :min_acceptable_amount, 'CurrencyAmount' + field :should_collect_business_details, 'bool' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_account_promotion_progress_bar.rb b/lib/facebook_ads/ad_objects/ad_account_promotion_progress_bar.rb new file mode 100644 index 00000000..1e9ff82b --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_promotion_progress_bar.rb @@ -0,0 +1,32 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountPromotionProgressBar < AdObject + + field :adaccount_permission, 'bool' + field :coupon_currency, 'string' + field :coupon_value, 'int' + field :expiration_time, 'datetime' + field :progress_completed, 'bool' + field :promotion_type, 'string' + field :spend_requirement_in_cent, 'int' + field :spend_since_enrollment, 'int' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_account_recommendations.rb b/lib/facebook_ads/ad_objects/ad_account_recommendations.rb new file mode 100644 index 00000000..9b761a07 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_recommendations.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountRecommendations < AdObject + + field :recommendations, { list: 'object' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_account_related_ico_study.rb b/lib/facebook_ads/ad_objects/ad_account_related_ico_study.rb new file mode 100644 index 00000000..911cdcff --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_related_ico_study.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountRelatedIcoStudy < AdObject + + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_account_smart_suggested_ads.rb b/lib/facebook_ads/ad_objects/ad_account_smart_suggested_ads.rb new file mode 100644 index 00000000..cde75890 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_smart_suggested_ads.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountSmartSuggestedAds < AdObject + + field :ad_creative_spec, 'string' + field :description, 'string' + field :guidance_spec, { list: 'string' } + field :thumbnail_url, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_account_spend_limit.rb b/lib/facebook_ads/ad_objects/ad_account_spend_limit.rb new file mode 100644 index 00000000..276fbf0a --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_spend_limit.rb @@ -0,0 +1,31 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountSpendLimit < AdObject + + field :amount_spent, 'string' + field :group_id, 'string' + field :limit_id, 'string' + field :limit_value, 'string' + field :time_created, 'int' + field :time_start, 'int' + field :time_stop, 'int' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_account_subsidy_amount_details.rb b/lib/facebook_ads/ad_objects/ad_account_subsidy_amount_details.rb new file mode 100644 index 00000000..f12fdc24 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_subsidy_amount_details.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountSubsidyAmountDetails < AdObject + + field :entered_amount, 'CurrencyAmount' + field :fee_amount, 'CurrencyAmount' + field :total_amount, 'CurrencyAmount' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_account_suggested_tag.rb b/lib/facebook_ads/ad_objects/ad_account_suggested_tag.rb new file mode 100644 index 00000000..b030de16 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_suggested_tag.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountSuggestedTag < AdObject + + field :product_id, 'int' + field :x, 'double' + field :y, 'double' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_account_url_for_asset_extraction.rb b/lib/facebook_ads/ad_objects/ad_account_url_for_asset_extraction.rb new file mode 100644 index 00000000..344da446 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_url_for_asset_extraction.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountUrlForAssetExtraction < AdObject + + field :source_type, 'string' + field :source_url, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_account_user_permissions.rb b/lib/facebook_ads/ad_objects/ad_account_user_permissions.rb new file mode 100644 index 00000000..f37b5c92 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_user_permissions.rb @@ -0,0 +1,34 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountUserPermissions < AdObject + + field :business, 'Business' + field :business_persona, 'object' + field :created_by, 'User' + field :created_time, 'datetime' + field :email, 'string' + field :status, 'string' + field :tasks, { list: 'string' } + field :updated_by, 'User' + field :updated_time, 'datetime' + field :user, 'User' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_account_user_settings.rb b/lib/facebook_ads/ad_objects/ad_account_user_settings.rb new file mode 100644 index 00000000..f38d6f98 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_user_settings.rb @@ -0,0 +1,100 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountUserSettings < AdObject + SYD_CAMPAIGN_TRENDS_OBJECTIVE = [ + "APP_INSTALLS", + "BRAND_AWARENESS", + "EVENT_RESPONSES", + "LEAD_GENERATION", + "LINK_CLICKS", + "LOCAL_AWARENESS", + "MESSAGES", + "OFFER_CLAIMS", + "OUTCOME_APP_PROMOTION", + "OUTCOME_AWARENESS", + "OUTCOME_ENGAGEMENT", + "OUTCOME_LEADS", + "OUTCOME_SALES", + "OUTCOME_TRAFFIC", + "PAGE_LIKES", + "POST_ENGAGEMENT", + "PRODUCT_CATALOG_SALES", + "REACH", + "STORE_VISITS", + "VIDEO_VIEWS", + "WEBSITE_CONVERSIONS", + ] + + + field :acf_should_opt_out_video_adjustments, 'bool' + field :aco_sticky_settings, { list: 'hash' } + field :ad_account, 'AdAccount' + field :ad_object_export_format, 'string' + field :auto_review_video_caption, 'bool' + field :campaign_overview_columns, { list: 'string' } + field :column_suggestion_status, 'string' + field :default_account_overview_agegender_metrics, { list: 'string' } + field :default_account_overview_location_metrics, { list: 'string' } + field :default_account_overview_metrics, { list: 'string' } + field :default_account_overview_time_metrics, { list: 'string' } + field :default_builtin_column_preset, 'string' + field :default_nam_time_range, 'string' + field :draft_mode_enabled, 'bool' + field :export_deleted_items_with_delivery, 'bool' + field :export_summary_row, 'bool' + field :has_seen_groups_column_flexing_experience, 'bool' + field :has_seen_leads_column_flexing_experience, 'bool' + field :has_seen_shops_ads_metrics_onboarding_tour, 'bool' + field :has_seen_shops_column_flexing_experience, 'bool' + field :hidden_optimization_tips, { list: 'hash' } + field :id, 'string' + field :is_3p_auth_setting_set, 'bool' + field :is_text_variation_nux_close, 'bool' + field :last_used_columns, 'object' + field :last_used_pe_filters, { list: 'object' } + field :last_used_website_urls, { list: 'string' } + field :outlier_preferences, 'object' + field :pinned_ad_object_ids, { list: 'string' } + field :rb_export_format, 'string' + field :rb_export_raw_data, 'bool' + field :rb_export_summary_row, 'bool' + field :saip_advertiser_setup_optimisation_guidance_overall_state, 'string' + field :saip_advertiser_setup_optimisation_guidance_state, { list: 'hash' } + field :shops_ads_metrics_onboarding_tour_close_count, 'int' + field :shops_ads_metrics_onboarding_tour_last_action_time, 'datetime' + field :should_default_image_auto_crop, 'bool' + field :should_default_image_auto_crop_for_tail, 'bool' + field :should_default_image_auto_crop_optimization, 'bool' + field :should_default_image_dof_toggle, 'bool' + field :should_default_image_lpp_ads_to_square, 'bool' + field :should_default_instagram_profile_card_optimization, 'bool' + field :should_default_text_swapping_optimization, 'bool' + field :should_logout_of_3p_sourcing, 'bool' + field :show_archived_data, 'bool' + field :show_text_variation_nux_tooltip, 'bool' + field :syd_campaign_trends_activemetric, 'string' + field :syd_campaign_trends_attribution, 'string' + field :syd_campaign_trends_metrics, { list: 'string' } + field :syd_campaign_trends_objective, { enum: -> { SYD_CAMPAIGN_TRENDS_OBJECTIVE }} + field :syd_campaign_trends_time_range, 'string' + field :syd_landing_page_opt_in_status, 'string' + field :text_variations_opt_in_type, 'string' + field :user, 'User' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_account_youth_ads_advertiser.rb b/lib/facebook_ads/ad_objects/ad_account_youth_ads_advertiser.rb new file mode 100644 index 00000000..9456b643 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_account_youth_ads_advertiser.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAccountYouthAdsAdvertiser < AdObject + + field :is_youth_ads_advertiser, 'bool' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_asset_feed_additional_data_page_nudge_message.rb b/lib/facebook_ads/ad_objects/ad_asset_feed_additional_data_page_nudge_message.rb new file mode 100644 index 00000000..26b9be3e --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_asset_feed_additional_data_page_nudge_message.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdAssetFeedAdditionalDataPageNudgeMessage < AdObject + + field :enabled, 'bool' + field :quick_replies, { list: 'object' } + field :text, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb b/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb index 6dc63ed3..4bfcc670 100644 --- a/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +++ b/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb @@ -93,6 +93,7 @@ class AdAssetFeedSpec < AdObject "USE_MOBILE_APP", "VIDEO_ANNOTATION", "VIDEO_CALL", + "VIEW_PRODUCT", "VISIT_PAGES_FEED", "WATCH_MORE", "WATCH_VIDEO", @@ -123,6 +124,7 @@ class AdAssetFeedSpec < AdObject field :reasons_to_shop, 'bool' field :shops_bundle, 'bool' field :titles, { list: 'AdAssetFeedSpecTitle' } + field :upcoming_events, { list: 'object' } field :videos, { list: 'AdAssetFeedSpecVideo' } has_no_id has_no_get diff --git a/lib/facebook_ads/ad_objects/ad_campaign_delivery_estimate.rb b/lib/facebook_ads/ad_objects/ad_campaign_delivery_estimate.rb index 1e05542e..f718dda0 100644 --- a/lib/facebook_ads/ad_objects/ad_campaign_delivery_estimate.rb +++ b/lib/facebook_ads/ad_objects/ad_campaign_delivery_estimate.rb @@ -34,6 +34,7 @@ class AdCampaignDeliveryEstimate < AdObject "OFFSITE_CONVERSIONS", "PAGE_LIKES", "POST_ENGAGEMENT", + "PROFILE_VISIT", "QUALITY_CALL", "QUALITY_LEAD", "REACH", diff --git a/lib/facebook_ads/ad_objects/ad_campaign_delivery_stats.rb b/lib/facebook_ads/ad_objects/ad_campaign_delivery_stats.rb new file mode 100644 index 00000000..7e004093 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_campaign_delivery_stats.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdCampaignDeliveryStats < AdObject + + field :bid_recommendation, 'int' + field :current_average_cost, 'double' + field :last_significant_edit_ts, 'int' + field :learning_stage_exit_info, 'object' + field :learning_stage_info, 'AdCampaignLearningStageInfo' + field :unsupported_features, { list: 'hash' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_campaign_group_incremental_conversion_optimization_config.rb b/lib/facebook_ads/ad_objects/ad_campaign_group_incremental_conversion_optimization_config.rb new file mode 100644 index 00000000..7e9e546a --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_campaign_group_incremental_conversion_optimization_config.rb @@ -0,0 +1,34 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdCampaignGroupIncrementalConversionOptimizationConfig < AdObject + + field :action_type, 'string' + field :ad_study_end_time, 'datetime' + field :ad_study_id, 'string' + field :ad_study_name, 'string' + field :ad_study_start_time, 'datetime' + field :cell_id, 'string' + field :cell_name, 'string' + field :holdout_size, 'double' + field :ico_type, 'string' + field :objectives, { list: 'object' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_campaign_group_metrics_metadata.rb b/lib/facebook_ads/ad_objects/ad_campaign_group_metrics_metadata.rb new file mode 100644 index 00000000..76495c12 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_campaign_group_metrics_metadata.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdCampaignGroupMetricsMetadata < AdObject + + field :budget_optimization, { list: 'string' } + field :duplication_flow_tips, { list: 'string' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_campaign_group_stats.rb b/lib/facebook_ads/ad_objects/ad_campaign_group_stats.rb new file mode 100644 index 00000000..05abf0ed --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_campaign_group_stats.rb @@ -0,0 +1,39 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdCampaignGroupStats < AdObject + + field :actions, 'hash' + field :campaign_group_id, 'string' + field :clicks, 'int' + field :end_time, 'datetime' + field :impressions, 'int' + field :inline_actions, 'hash' + field :social_clicks, 'int' + field :social_impressions, 'int' + field :social_spent, 'int' + field :social_unique_clicks, 'int' + field :social_unique_impressions, 'int' + field :spent, 'int' + field :start_time, 'datetime' + field :unique_clicks, 'int' + field :unique_impressions, 'int' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/page_saved_filter.rb b/lib/facebook_ads/ad_objects/ad_campaign_group_structure_tree.rb similarity index 74% rename from lib/facebook_ads/ad_objects/page_saved_filter.rb rename to lib/facebook_ads/ad_objects/ad_campaign_group_structure_tree.rb index 384601ce..8f4f7e53 100644 --- a/lib/facebook_ads/ad_objects/page_saved_filter.rb +++ b/lib/facebook_ads/ad_objects/ad_campaign_group_structure_tree.rb @@ -13,15 +13,13 @@ module FacebookAds # on github and we'll fix in our codegen framework. We'll not be able to accept # pull request for this class. - class PageSavedFilter < AdObject + class AdCampaignGroupStructureTree < AdObject - field :display_name, 'string' - field :filters, { list: 'object' } + field :children, { list: 'AdCampaignGroupStructureTree' } field :id, 'string' - field :page_id, 'string' - field :section, 'string' - field :time_created, 'int' + field :name, 'string' field :time_updated, 'int' + has_no_get has_no_post has_no_delete diff --git a/lib/facebook_ads/ad_objects/ad_campaign_metrics_metadata.rb b/lib/facebook_ads/ad_objects/ad_campaign_metrics_metadata.rb new file mode 100644 index 00000000..0406ca0f --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_campaign_metrics_metadata.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdCampaignMetricsMetadata < AdObject + + field :boosted_component_optimization, { list: 'string' } + field :creation_flow_tips, { list: 'string' } + field :default_opted_in_placements, { list: 'object' } + field :delivery_growth_optimizations, { list: 'object' } + field :duplication_flow_tips, { list: 'string' } + field :edit_flow_tips, { list: 'string' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_campaign_multi_ads.rb b/lib/facebook_ads/ad_objects/ad_campaign_multi_ads.rb new file mode 100644 index 00000000..9df4447d --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_campaign_multi_ads.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdCampaignMultiAds < AdObject + + field :enroll_status, 'string' + field :source_type, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_campaign_stats.rb b/lib/facebook_ads/ad_objects/ad_campaign_stats.rb new file mode 100644 index 00000000..d903bfc2 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_campaign_stats.rb @@ -0,0 +1,47 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdCampaignStats < AdObject + + field :account_id, 'string' + field :actions, 'object' + field :adgroup_id, 'string' + field :campaign_id, 'string' + field :campaign_ids, { list: 'string' } + field :clicks, 'int' + field :end_time, 'object' + field :id, 'string' + field :impressions, 'string' + field :inline_actions, 'hash' + field :io_number, 'int' + field :is_completed, 'bool' + field :line_number, 'int' + field :newsfeed_position, 'object' + field :social_clicks, 'int' + field :social_impressions, 'string' + field :social_spent, 'int' + field :social_unique_clicks, 'int' + field :social_unique_impressions, 'string' + field :spent, 'int' + field :start_time, 'object' + field :topline_id, 'string' + field :unique_clicks, 'int' + field :unique_impressions, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_column_sizes.rb b/lib/facebook_ads/ad_objects/ad_column_sizes.rb new file mode 100644 index 00000000..ba497f93 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_column_sizes.rb @@ -0,0 +1,31 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdColumnSizes < AdObject + + field :admarket_account, 'AdAccount' + field :app_id, 'string' + field :columns, { list: 'hash' } + field :id, 'string' + field :owner, 'User' + field :page, 'string' + field :report, 'string' + field :tab, 'string' + field :view, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_contract.rb b/lib/facebook_ads/ad_objects/ad_contract.rb new file mode 100644 index 00000000..96cbf164 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_contract.rb @@ -0,0 +1,65 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdContract < AdObject + + field :account_id, 'string' + field :account_mgr_fbid, 'string' + field :account_mgr_name, 'string' + field :adops_person_name, 'string' + field :advertiser_address_fbid, 'string' + field :advertiser_fbid, 'string' + field :advertiser_name, 'string' + field :agency_discount, 'double' + field :agency_name, 'string' + field :bill_to_address_fbid, 'string' + field :bill_to_fbid, 'string' + field :campaign_name, 'string' + field :created_by, 'string' + field :created_date, 'int' + field :customer_io, 'string' + field :io_number, 'int' + field :io_terms, 'string' + field :io_type, 'string' + field :last_updated_by, 'string' + field :last_updated_date, 'int' + field :max_end_date, 'int' + field :mdc_fbid, 'string' + field :media_plan_number, 'string' + field :min_start_date, 'int' + field :msa_contract, 'string' + field :payment_terms, 'string' + field :rev_hold_flag, 'bool' + field :rev_hold_released_by, 'int' + field :rev_hold_released_on, 'int' + field :salesrep_fbid, 'string' + field :salesrep_name, 'string' + field :sold_to_address_fbid, 'string' + field :sold_to_fbid, 'string' + field :status, 'string' + field :subvertical, 'string' + field :thirdparty_billed, 'int' + field :thirdparty_uid, 'string' + field :thirdparty_url, 'string' + field :vat_country, 'string' + field :version, 'int' + field :vertical, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_conversion_values.rb b/lib/facebook_ads/ad_objects/ad_conversion_values.rb new file mode 100644 index 00000000..6c6dec8d --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_conversion_values.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdConversionValues < AdObject + + field :adgroup_id, 'string' + field :campaign_id, 'string' + field :values, { list: 'string' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_conversions.rb b/lib/facebook_ads/ad_objects/ad_conversions.rb new file mode 100644 index 00000000..dc03f06d --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_conversions.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdConversions < AdObject + + field :account_id, 'string' + field :adgroup_id, 'string' + field :campaign_id, 'string' + field :values, { list: 'string' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_creation_package_config.rb b/lib/facebook_ads/ad_objects/ad_creation_package_config.rb new file mode 100644 index 00000000..31ee1ef0 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_creation_package_config.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdCreationPackageConfig < AdObject + + field :api_version, 'string' + field :id, 'string' + field :is_eligible_for_default_opt_in, 'bool' + field :objective, 'string' + field :package_id, 'string' + field :status, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_creative.rb b/lib/facebook_ads/ad_objects/ad_creative.rb index 73bff28d..1352f572 100644 --- a/lib/facebook_ads/ad_objects/ad_creative.rb +++ b/lib/facebook_ads/ad_objects/ad_creative.rb @@ -93,6 +93,7 @@ class AdCreative < AdObject "USE_MOBILE_APP", "VIDEO_ANNOTATION", "VIDEO_CALL", + "VIEW_PRODUCT", "VISIT_PAGES_FEED", "WATCH_MORE", "WATCH_VIDEO", @@ -175,6 +176,7 @@ class AdCreative < AdObject field :categorization_criteria, 'string' field :category_media_source, 'string' field :collaborative_ads_lsb_image_bank_id, 'string' + field :contextual_multi_ads, 'AdCreativeContextualMultiAds' field :creative_sourcing_spec, 'AdCreativeSourcingSpec' field :degrees_of_freedom_spec, 'AdCreativeDegreesOfFreedomSpec' field :destination_set_id, 'string' @@ -200,7 +202,6 @@ class AdCreative < AdObject field :link_destination_display_url, 'string' field :link_og_id, 'string' field :link_url, 'string' - field :messenger_sponsored_message, 'string' field :name, 'string' field :object_id, 'string' field :object_store_url, 'string' @@ -209,6 +210,7 @@ class AdCreative < AdObject field :object_type, { enum: -> { OBJECT_TYPE }} field :object_url, 'string' field :omnichannel_link_spec, 'AdCreativeOmnichannelLinkSpec' + field :page_welcome_message, 'string' field :photo_album_source_object_story_id, 'string' field :place_page_set_id, 'string' field :platform_customizations, 'AdCreativePlatformCustomization' diff --git a/lib/facebook_ads/ad_objects/ad_creative_asset_groups_spec.rb b/lib/facebook_ads/ad_objects/ad_creative_asset_groups_spec.rb new file mode 100644 index 00000000..6af3e1b8 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_creative_asset_groups_spec.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdCreativeAssetGroupsSpec < AdObject + + field :groups, { list: 'object' } + field :origin, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_creative_branded_content_ads.rb b/lib/facebook_ads/ad_objects/ad_creative_branded_content_ads.rb index 0d586ba3..a1d2e795 100644 --- a/lib/facebook_ads/ad_objects/ad_creative_branded_content_ads.rb +++ b/lib/facebook_ads/ad_objects/ad_creative_branded_content_ads.rb @@ -16,7 +16,9 @@ module FacebookAds class AdCreativeBrandedContentAds < AdObject field :ad_format, 'int' + field :content_search_input, 'string' field :creator_ad_permission_type, 'string' + field :facebook_boost_post_access_token, 'string' field :instagram_boost_post_access_token, 'string' field :is_mca_internal, 'bool' field :partners, { list: 'AdCreativeBrandedContentAdsPartners' } diff --git a/lib/facebook_ads/ad_objects/ad_creative_contextual_multi_ads.rb b/lib/facebook_ads/ad_objects/ad_creative_contextual_multi_ads.rb new file mode 100644 index 00000000..f2ce0053 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_creative_contextual_multi_ads.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdCreativeContextualMultiAds < AdObject + + field :enroll_status, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_creative_feature_action_metadata.rb b/lib/facebook_ads/ad_objects/ad_creative_feature_action_metadata.rb new file mode 100644 index 00000000..aa8d82ff --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_creative_feature_action_metadata.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdCreativeFeatureActionMetadata < AdObject + + field :type, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_creative_feature_customizations.rb b/lib/facebook_ads/ad_objects/ad_creative_feature_customizations.rb new file mode 100644 index 00000000..c52e50d6 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_creative_feature_customizations.rb @@ -0,0 +1,31 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdCreativeFeatureCustomizations < AdObject + + field :background_color, 'string' + field :catalog_feed_tag_name, 'string' + field :font_name, 'string' + field :product_recommendation_type, 'string' + field :showcase_card_display, 'string' + field :text_style, 'string' + field :video_crop_style, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_creative_features_spec.rb b/lib/facebook_ads/ad_objects/ad_creative_features_spec.rb index bb8603c3..ac99d67d 100644 --- a/lib/facebook_ads/ad_objects/ad_creative_features_spec.rb +++ b/lib/facebook_ads/ad_objects/ad_creative_features_spec.rb @@ -15,6 +15,8 @@ module FacebookAds class AdCreativeFeaturesSpec < AdObject + field :adapt_to_placement, 'AdCreativeFeatureDetails' + field :ads_with_benefits, 'AdCreativeFeatureDetails' field :advantage_plus_creative, 'AdCreativeFeatureDetails' field :app_highlights, 'AdCreativeFeatureDetails' field :audio, 'AdCreativeFeatureDetails' @@ -24,9 +26,11 @@ class AdCreativeFeaturesSpec < AdObject field :cv_transformation, 'AdCreativeFeatureDetails' field :description_automation, 'AdCreativeFeatureDetails' field :dha_optimization, 'AdCreativeFeatureDetails' + field :feed_caption_optimization, 'AdCreativeFeatureDetails' field :ig_glados_feed, 'AdCreativeFeatureDetails' field :image_auto_crop, 'AdCreativeFeatureDetails' field :image_background_gen, 'AdCreativeFeatureDetails' + field :image_brightness_and_contrast, 'AdCreativeFeatureDetails' field :image_enhancement, 'AdCreativeFeatureDetails' field :image_templates, 'AdCreativeFeatureDetails' field :image_touchups, 'AdCreativeFeatureDetails' @@ -45,6 +49,7 @@ class AdCreativeFeaturesSpec < AdObject field :text_generation, 'AdCreativeFeatureDetails' field :text_optimizations, 'AdCreativeFeatureDetails' field :video_auto_crop, 'AdCreativeFeatureDetails' + field :video_filtering, 'AdCreativeFeatureDetails' field :video_highlight, 'AdCreativeFeatureDetails' has_no_id has_no_get diff --git a/lib/facebook_ads/ad_objects/ad_creative_generative_asset_spec.rb b/lib/facebook_ads/ad_objects/ad_creative_generative_asset_spec.rb new file mode 100644 index 00000000..386ffea1 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_creative_generative_asset_spec.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdCreativeGenerativeAssetSpec < AdObject + + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_creative_house_shops_ads_seller_content.rb b/lib/facebook_ads/ad_objects/ad_creative_house_shops_ads_seller_content.rb new file mode 100644 index 00000000..12f6f73d --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_creative_house_shops_ads_seller_content.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdCreativeHouseShopsAdsSellerContent < AdObject + + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_creative_image_data_media_elements.rb b/lib/facebook_ads/ad_objects/ad_creative_image_data_media_elements.rb new file mode 100644 index 00000000..3aa7a8ee --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_creative_image_data_media_elements.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdCreativeImageDataMediaElements < AdObject + + field :element_id, 'string' + field :element_type, 'string' + field :x, 'double' + field :y, 'double' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action.rb b/lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action.rb index 18813bdc..a43eb4e1 100644 --- a/lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action.rb +++ b/lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action.rb @@ -93,6 +93,7 @@ class AdCreativeLinkDataCallToAction < AdObject "USE_MOBILE_APP", "VIDEO_ANNOTATION", "VIDEO_CALL", + "VIEW_PRODUCT", "VISIT_PAGES_FEED", "WATCH_MORE", "WATCH_VIDEO", diff --git a/lib/facebook_ads/ad_objects/ad_creative_link_data_custom_overlay_spec.rb b/lib/facebook_ads/ad_objects/ad_creative_link_data_custom_overlay_spec.rb new file mode 100644 index 00000000..89ba2b27 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_creative_link_data_custom_overlay_spec.rb @@ -0,0 +1,91 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdCreativeLinkDataCustomOverlaySpec < AdObject + BACKGROUND_COLOR = [ + "background_000000", + "background_0090ff", + "background_00af4c", + "background_595959", + "background_755dde", + "background_e50900", + "background_f23474", + "background_f78400", + "background_ffffff", + ] + + FONT = [ + "droid_serif_regular", + "lato_regular", + "noto_sans_regular", + "nunito_sans_bold", + "open_sans_bold", + "pt_serif_bold", + "roboto_condensed_regular", + "roboto_medium", + ] + + OPTION = [ + "bank_transfer", + "boleto", + "cash_on_delivery", + "discount_with_boleto", + "fast_delivery", + "free_shipping", + "home_delivery", + "inventory", + "pay_at_hotel", + "pay_on_arrival", + ] + + POSITION = [ + "bottom_left", + "bottom_right", + "top_left", + "top_right", + ] + + TEMPLATE = [ + "pill_with_text", + ] + + TEXT_COLOR = [ + "text_000000", + "text_007ad0", + "text_009c2a", + "text_646464", + "text_755dde", + "text_c91b00", + "text_f23474", + "text_f78400", + "text_ffffff", + ] + + + field :background_color, { enum: -> { BACKGROUND_COLOR }} + field :float_with_margin, 'bool' + field :font, { enum: -> { FONT }} + field :option, { enum: -> { OPTION }} + field :position, { enum: -> { POSITION }} + field :render_with_icon, 'bool' + field :template, { enum: -> { TEMPLATE }} + field :text_color, { enum: -> { TEXT_COLOR }} + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_creative_link_data_moment.rb b/lib/facebook_ads/ad_objects/ad_creative_link_data_moment.rb new file mode 100644 index 00000000..b5b908b7 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_creative_link_data_moment.rb @@ -0,0 +1,31 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdCreativeLinkDataMoment < AdObject + TYPE = [ + "FB_LIVE_SHOPPING", + "IG_DROPS", + "IG_LIVE_SHOPPING", + ] + + + field :id, 'string' + field :type, { enum: -> { TYPE }} + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_creative_marketing_message_structured_spec.rb b/lib/facebook_ads/ad_objects/ad_creative_marketing_message_structured_spec.rb new file mode 100644 index 00000000..dda56e87 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_creative_marketing_message_structured_spec.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdCreativeMarketingMessageStructuredSpec < AdObject + + field :buttons, { list: 'object' } + field :footer, 'string' + field :greeting, 'string' + field :language, 'string' + field :referenced_adgroup_id, 'string' + field :whats_app_business_phone_number_id, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_creative_promotion_metadata_spec.rb b/lib/facebook_ads/ad_objects/ad_creative_promotion_metadata_spec.rb index 7abca04d..9c631d14 100644 --- a/lib/facebook_ads/ad_objects/ad_creative_promotion_metadata_spec.rb +++ b/lib/facebook_ads/ad_objects/ad_creative_promotion_metadata_spec.rb @@ -15,13 +15,13 @@ module FacebookAds class AdCreativePromotionMetadataSpec < AdObject - field :end_date, 'datetime' + field :end_date, 'int' field :id, 'string' field :promotion_source, 'string' field :promotion_type, 'string' field :promotion_value, 'double' field :required_code, 'string' - field :start_date, 'datetime' + field :start_date, 'int' has_no_get has_no_post has_no_delete diff --git a/lib/facebook_ads/ad_objects/ad_creative_regional_regulation_disclaimer.rb b/lib/facebook_ads/ad_objects/ad_creative_regional_regulation_disclaimer.rb new file mode 100644 index 00000000..c2ccfcdb --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_creative_regional_regulation_disclaimer.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdCreativeRegionalRegulationDisclaimer < AdObject + + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_creative_reward_info.rb b/lib/facebook_ads/ad_objects/ad_creative_reward_info.rb new file mode 100644 index 00000000..fb809825 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_creative_reward_info.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdCreativeRewardInfo < AdObject + + field :reward_offer_id, 'string' + field :reward_program_id, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_creative_shop_spec.rb b/lib/facebook_ads/ad_objects/ad_creative_shop_spec.rb new file mode 100644 index 00000000..e8ac4867 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_creative_shop_spec.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdCreativeShopSpec < AdObject + + field :collection_id, 'string' + field :landing_view, 'string' + field :shop_id, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_creative_video_data_custom_overlay_spec.rb b/lib/facebook_ads/ad_objects/ad_creative_video_data_custom_overlay_spec.rb new file mode 100644 index 00000000..0dcdcd5d --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_creative_video_data_custom_overlay_spec.rb @@ -0,0 +1,65 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdCreativeVideoDataCustomOverlaySpec < AdObject + BACKGROUND_OPACITY = [ + "half", + "solid", + ] + + OPTION = [ + "bank_transfer", + "boleto", + "cash_on_delivery", + "discount_with_boleto", + "fast_delivery", + "free_shipping", + "home_delivery", + "inventory", + "pay_at_hotel", + "pay_on_arrival", + ] + + POSITION = [ + "middle_center", + "middle_left", + "middle_right", + "top_center", + "top_left", + "top_right", + ] + + TEMPLATE = [ + "rectangle_with_text", + ] + + + field :background_color, 'string' + field :background_opacity, { enum: -> { BACKGROUND_OPACITY }} + field :duration, 'int' + field :float_with_margin, 'bool' + field :full_width, 'bool' + field :option, { enum: -> { OPTION }} + field :position, { enum: -> { POSITION }} + field :start, 'int' + field :template, { enum: -> { TEMPLATE }} + field :text_color, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_creative_video_data_media_elements.rb b/lib/facebook_ads/ad_objects/ad_creative_video_data_media_elements.rb new file mode 100644 index 00000000..2ab86b91 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_creative_video_data_media_elements.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdCreativeVideoDataMediaElements < AdObject + + field :element_id, 'string' + field :element_type, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_creative_whats_app_channel_spec.rb b/lib/facebook_ads/ad_objects/ad_creative_whats_app_channel_spec.rb new file mode 100644 index 00000000..ecb133e8 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_creative_whats_app_channel_spec.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdCreativeWhatsAppChannelSpec < AdObject + + field :channel_id, 'string' + field :channel_url, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_custom_derived_metrics.rb b/lib/facebook_ads/ad_objects/ad_custom_derived_metrics.rb new file mode 100644 index 00000000..08853881 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_custom_derived_metrics.rb @@ -0,0 +1,39 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdCustomDerivedMetrics < AdObject + + field :ad_account_id, 'string' + field :business, 'Business' + field :creation_time, 'datetime' + field :creator, 'Profile' + field :custom_derived_metric_type, 'string' + field :deletion_time, 'datetime' + field :deletor, 'Profile' + field :description, 'string' + field :format_type, 'string' + field :formula, 'string' + field :has_attribution_windows, 'bool' + field :has_inline_attribution_window, 'bool' + field :id, 'string' + field :name, 'string' + field :permission, 'string' + field :saved_report_id, 'string' + field :scope, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_default_values.rb b/lib/facebook_ads/ad_objects/ad_default_values.rb new file mode 100644 index 00000000..4ac88002 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_default_values.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdDefaultValues < AdObject + + field :campaign_group, 'object' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_draft.rb b/lib/facebook_ads/ad_objects/ad_draft.rb new file mode 100644 index 00000000..7792c7c0 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_draft.rb @@ -0,0 +1,37 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdDraft < AdObject + + field :account_id, 'string' + field :api_version, 'string' + field :async_request_set, 'AdAsyncRequestSet' + field :author_id, 'string' + field :created_by, 'string' + field :draft_version, 'string' + field :id, 'string' + field :is_active, 'bool' + field :name, 'string' + field :ownership_type, 'string' + field :publish_status, 'object' + field :state, 'string' + field :summary, 'string' + field :time_created, 'datetime' + field :time_updated, 'datetime' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_export_preset.rb b/lib/facebook_ads/ad_objects/ad_export_preset.rb new file mode 100644 index 00000000..47572de9 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_export_preset.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdExportPreset < AdObject + + field :created_time, 'datetime' + field :fields, { list: 'string' } + field :id, 'string' + field :name, 'string' + field :owner, 'User' + field :updated_time, 'datetime' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_keyword_stats.rb b/lib/facebook_ads/ad_objects/ad_keyword_stats.rb new file mode 100644 index 00000000..45c04935 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_keyword_stats.rb @@ -0,0 +1,43 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdKeywordStats < AdObject + + field :actions, { list: 'AdsActionStats' } + field :clicks, 'int' + field :cost_per_total_action, 'double' + field :cost_per_unique_click, 'double' + field :cpc, 'double' + field :cpm, 'double' + field :cpp, 'double' + field :ctr, 'double' + field :frequency, 'double' + field :id, 'string' + field :impressions, 'int' + field :name, 'string' + field :reach, 'int' + field :spend, 'double' + field :total_actions, 'int' + field :total_unique_actions, 'int' + field :unique_actions, { list: 'AdsActionStats' } + field :unique_clicks, 'int' + field :unique_ctr, 'double' + field :unique_impressions, 'int' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_kpi_shift.rb b/lib/facebook_ads/ad_objects/ad_kpi_shift.rb new file mode 100644 index 00000000..c12c0895 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_kpi_shift.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdKpiShift < AdObject + + field :ad_set, 'AdSet' + field :cost_per_result_shift, 'double' + field :enough_effective_days, 'bool' + field :result_indicator, 'string' + field :result_shift, 'double' + field :spend_shift, 'double' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_light_adgroup.rb b/lib/facebook_ads/ad_objects/ad_light_adgroup.rb new file mode 100644 index 00000000..7f000ec0 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_light_adgroup.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdLightAdgroup < AdObject + + field :adset_id, 'string' + field :id, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_light_campaign.rb b/lib/facebook_ads/ad_objects/ad_light_campaign.rb new file mode 100644 index 00000000..515a4a05 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_light_campaign.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdLightCampaign < AdObject + + field :campaign_id, 'string' + field :id, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_light_campaign_group.rb b/lib/facebook_ads/ad_objects/ad_light_campaign_group.rb new file mode 100644 index 00000000..54d09f0c --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_light_campaign_group.rb @@ -0,0 +1,23 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdLightCampaignGroup < AdObject + + field :id, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_limit_setting.rb b/lib/facebook_ads/ad_objects/ad_limit_setting.rb new file mode 100644 index 00000000..a6201468 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_limit_setting.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdLimitSetting < AdObject + + field :limit_allocation_by_page_advertisers, { list: 'hash' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_limits_enforcement_data.rb b/lib/facebook_ads/ad_objects/ad_limits_enforcement_data.rb new file mode 100644 index 00000000..9478fb8c --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_limits_enforcement_data.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdLimitsEnforcementData < AdObject + + field :ad_limit_on_page, 'int' + field :ad_limit_on_scope, 'int' + field :ad_volume_on_page, 'int' + field :ad_volume_on_scope, 'int' + field :is_admin, 'bool' + field :page_name, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_network_analytics_async_query_export.rb b/lib/facebook_ads/ad_objects/ad_network_analytics_async_query_export.rb new file mode 100644 index 00000000..6c09cf85 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_network_analytics_async_query_export.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdNetworkAnalyticsAsyncQueryExport < AdObject + + field :error, 'object' + field :export_link, 'string' + field :query_id, 'string' + field :status, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_preview.rb b/lib/facebook_ads/ad_objects/ad_preview.rb index c2d76906..7e68171b 100644 --- a/lib/facebook_ads/ad_objects/ad_preview.rb +++ b/lib/facebook_ads/ad_objects/ad_preview.rb @@ -23,6 +23,7 @@ class AdPreview < AdObject "DESKTOP_FEED_STANDARD", "FACEBOOK_PROFILE_FEED_DESKTOP", "FACEBOOK_PROFILE_FEED_MOBILE", + "FACEBOOK_PROFILE_REELS_MOBILE", "FACEBOOK_REELS_BANNER", "FACEBOOK_REELS_BANNER_DESKTOP", "FACEBOOK_REELS_MOBILE", diff --git a/lib/facebook_ads/ad_objects/ad_proposal.rb b/lib/facebook_ads/ad_objects/ad_proposal.rb new file mode 100644 index 00000000..a51165dc --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_proposal.rb @@ -0,0 +1,41 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdProposal < AdObject + + field :ad_proposal_type_name, 'string' + field :adaccount, 'AdAccount' + field :creation_time, 'datetime' + field :creator, 'User' + field :delivery_interface, 'string' + field :expiration_time, 'datetime' + field :has_conflict, 'bool' + field :id, 'string' + field :kpi_metric, 'string' + field :message, 'string' + field :name, 'string' + field :proposal_dts_template, 'string' + field :proposal_template_name, 'string' + field :recommendation, 'string' + field :review_time, 'datetime' + field :reviewed_by, 'User' + field :send_time, 'datetime' + field :status, 'string' + field :use_testing, 'bool' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_recommendation.rb b/lib/facebook_ads/ad_objects/ad_recommendation.rb index a9b9f9cb..4f88ab5f 100644 --- a/lib/facebook_ads/ad_objects/ad_recommendation.rb +++ b/lib/facebook_ads/ad_objects/ad_recommendation.rb @@ -34,6 +34,7 @@ class AdRecommendation < AdObject field :message, 'string' field :recommendation_data, 'AdRecommendationData' field :title, 'string' + field :value, 'string' has_no_id has_no_get has_no_post diff --git a/lib/facebook_ads/ad_objects/ad_rule_history.rb b/lib/facebook_ads/ad_objects/ad_rule_history.rb index 0ef205f0..bd7a9fa4 100644 --- a/lib/facebook_ads/ad_objects/ad_rule_history.rb +++ b/lib/facebook_ads/ad_objects/ad_rule_history.rb @@ -19,11 +19,14 @@ class AdRuleHistory < AdObject "CHANGED_BID", "CHANGED_BUDGET", "EMAIL", + "ENABLE_ADVANTAGE_CAMPAIGN_BUDGET", "ENABLE_ADVANTAGE_PLUS_CREATIVE", "ENABLE_ADVANTAGE_PLUS_PLACEMENTS", "ENABLE_AUTOFLOW", "ENABLE_GEN_UNCROP", + "ENABLE_MUSIC", "ENABLE_SEMANTIC_BASED_AUDIENCE_EXPANSION", + "ENABLE_SHOPS_ADS", "ENDPOINT_PINGED", "ERROR", "FACEBOOK_NOTIFICATION_SENT", diff --git a/lib/facebook_ads/ad_objects/ad_saved_keywords.rb b/lib/facebook_ads/ad_objects/ad_saved_keywords.rb new file mode 100644 index 00000000..de5c4f57 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_saved_keywords.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdSavedKeywords < AdObject + + field :account, 'AdAccount' + field :id, 'string' + field :keywords, 'AdKeywords' + field :name, 'string' + field :run_status, 'string' + field :time_created, 'datetime' + field :time_updated, 'datetime' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_saved_location.rb b/lib/facebook_ads/ad_objects/ad_saved_location.rb new file mode 100644 index 00000000..08f02130 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_saved_location.rb @@ -0,0 +1,32 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdSavedLocation < AdObject + + field :cities, { list: 'TargetingGeoLocationCity' } + field :countries, { list: 'string' } + field :country_groups, { list: 'string' } + field :custom_locations, { list: 'TargetingGeoLocationCustomLocation' } + field :geo_markets, { list: 'TargetingGeoLocationMarket' } + field :id, 'string' + field :location_sentences, { list: 'string' } + field :name, 'string' + field :regions, { list: 'TargetingGeoLocationRegion' } + field :zips, { list: 'TargetingGeoLocationZip' } + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_saved_report.rb b/lib/facebook_ads/ad_objects/ad_saved_report.rb new file mode 100644 index 00000000..945cb651 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_saved_report.rb @@ -0,0 +1,40 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdSavedReport < AdObject + + field :app_owner, 'Application' + field :breakdowns, { list: 'string' } + field :builtin_column_set, 'string' + field :creation_source, 'string' + field :date_interval, 'object' + field :date_preset, 'string' + field :format_version, 'int' + field :id, 'string' + field :insights_section, 'object' + field :is_shared_unread, 'bool' + field :level, 'string' + field :name, 'string' + field :normalized_filter, { list: 'string' } + field :sort, { list: 'object' } + field :user_attribution_windows, { list: 'string' } + field :user_columns, { list: 'string' } + field :user_filter, { list: 'string' } + field :user_owner, 'User' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_set.rb b/lib/facebook_ads/ad_objects/ad_set.rb index c2a5b9eb..aa787925 100644 --- a/lib/facebook_ads/ad_objects/ad_set.rb +++ b/lib/facebook_ads/ad_objects/ad_set.rb @@ -72,6 +72,7 @@ class AdSet < AdObject "OFFSITE_CONVERSIONS", "PAGE_LIKES", "POST_ENGAGEMENT", + "PROFILE_VISIT", "QUALITY_CALL", "QUALITY_LEAD", "REACH", @@ -117,6 +118,7 @@ class AdSet < AdObject "APPLINKS_AUTOMATIC", "FACEBOOK", "INSTAGRAM_DIRECT", + "INSTAGRAM_PROFILE", "MESSAGING_INSTAGRAM_DIRECT_MESSENGER", "MESSAGING_INSTAGRAM_DIRECT_MESSENGER_WHATSAPP", "MESSAGING_INSTAGRAM_DIRECT_WHATSAPP", @@ -128,7 +130,6 @@ class AdSet < AdObject "ON_POST", "ON_VIDEO", "SHOP_AUTOMATIC", - "UNDEFINED", "WEBSITE", "WHATSAPP", ] @@ -164,6 +165,11 @@ class AdSet < AdObject "VIDEO_SOUND_ON", ] + REGIONAL_REGULATED_CATEGORIES = [ + "0", + "1", + ] + TUNE_FOR_CATEGORY = [ "CREDIT", "EMPLOYMENT", @@ -233,7 +239,8 @@ class AdSet < AdObject field :promoted_object, 'AdPromotedObject' field :recommendations, { list: 'AdRecommendation' } field :recurring_budget_semantics, 'bool' - field :regional_regulation_identities, 'object' + field :regional_regulated_categories, { list: 'string' } + field :regional_regulation_identities, 'RegionalRegulationIdentities' field :review_feedback, 'string' field :rf_prediction_id, 'string' field :source_adset, 'AdSet' diff --git a/lib/facebook_ads/ad_objects/ad_study.rb b/lib/facebook_ads/ad_objects/ad_study.rb index ce213a68..bba7a7d7 100644 --- a/lib/facebook_ads/ad_objects/ad_study.rb +++ b/lib/facebook_ads/ad_objects/ad_study.rb @@ -15,6 +15,7 @@ module FacebookAds class AdStudy < AdObject TYPE = [ + "BACKEND_AB_TESTING", "CONTINUOUS_LIFT_CONFIG", "GEO_LIFT", "LIFT", diff --git a/lib/facebook_ads/ad_objects/ad_topline.rb b/lib/facebook_ads/ad_objects/ad_topline.rb new file mode 100644 index 00000000..80fc52b0 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_topline.rb @@ -0,0 +1,57 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdTopline < AdObject + + field :account_id, 'string' + field :client_approval_date, 'datetime' + field :created_by, 'string' + field :created_date, 'datetime' + field :description, 'string' + field :flight_end_date, 'datetime' + field :flight_start_date, 'datetime' + field :func_cap_amount, 'string' + field :func_cap_amount_with_offset, 'string' + field :func_line_amount, 'string' + field :func_line_amount_with_offset, 'string' + field :func_price, 'string' + field :func_price_with_offset, 'string' + field :gender, 'string' + field :id, 'string' + field :impressions, 'int' + field :io_number, 'int' + field :is_bonus_line, 'int' + field :keywords, 'string' + field :last_updated_by, 'string' + field :last_updated_date, 'datetime' + field :line_number, 'int' + field :line_position, 'int' + field :line_type, 'string' + field :location, 'string' + field :max_age, 'string' + field :max_budget, 'string' + field :min_age, 'string' + field :price_per_trp, 'string' + field :product_type, 'string' + field :rev_assurance_approval_date, 'datetime' + field :targets, 'string' + field :trp_updated_time, 'int' + field :trp_value, 'string' + field :uom, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_topline_detail.rb b/lib/facebook_ads/ad_objects/ad_topline_detail.rb new file mode 100644 index 00000000..56add4a5 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_topline_detail.rb @@ -0,0 +1,36 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdToplineDetail < AdObject + + field :active_status, 'int' + field :ad_account_id, 'string' + field :flight_end_date, 'datetime' + field :flight_start_date, 'datetime' + field :id, 'string' + field :io_number, 'int' + field :line_number, 'int' + field :price, 'double' + field :quantity, 'double' + field :sf_detail_line_id, 'string' + field :subline_id, 'string' + field :targets, 'string' + field :time_created, 'datetime' + field :time_updated, 'datetime' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ad_video.rb b/lib/facebook_ads/ad_objects/ad_video.rb index 579cbf50..261ace5f 100644 --- a/lib/facebook_ads/ad_objects/ad_video.rb +++ b/lib/facebook_ads/ad_objects/ad_video.rb @@ -28,6 +28,7 @@ class AdVideo < AdObject "APP_REREVIEW_SCREENCAST", "APP_REVIEW_SCREENCAST", "ASSET_MANAGER", + "ATLAS_VIDEO", "AUDIO_BRIEF", "AUDIO_BROADCAST", "AUDIO_COMMENT", @@ -166,7 +167,6 @@ class AdVideo < AdObject "SOUNDBITES_VIDEO", "SOUND_PLATFORM_STREAM", "SRT_ATTACHMENT", - "STAGES_BROADCAST", "STORIES_VIDEO", "STORIES_WEARABLE", "STORYLINE", @@ -178,7 +178,6 @@ class AdVideo < AdObject "TEMPORARY_UNLISTED", "TEMP_MULTIMEDIA_POST", "UNLISTED", - "UNLISTED_HACK_TV", "UNLISTED_HORIZON", "UNLISTED_OCULUS", "VIDEO_COMMENT", @@ -294,7 +293,7 @@ class AdVideo < AdObject field :ad_breaks, { list: 'int' } field :admin_creator, 'User' - field :audio_isrc, 'object' + field :audio_isrc, 'AudioIsrc' field :backdated_time, 'datetime' field :backdated_time_granularity, 'string' field :content_category, 'string' @@ -338,7 +337,6 @@ class AdVideo < AdObject field :universal_video_id, 'string' field :updated_time, 'datetime' field :views, 'int' - field :adaptive_type, 'string' field :animated_effect_id, 'int' field :application_id, 'string' field :asked_fun_fact_prompt_id, 'int' @@ -383,7 +381,6 @@ class AdVideo < AdObject field :original_fov, 'int' field :original_projection_type, { enum: -> { ORIGINAL_PROJECTION_TYPE }} field :publish_event_id, 'int' - field :react_mode_metadata, 'string' field :referenced_sticker_id, 'string' field :replace_video_id, 'string' field :slideshow_spec, 'hash' @@ -489,7 +486,7 @@ class AdVideo < AdObject end has_edge :tags do |edge| - edge.get + edge.get 'TaggableSubject' edge.post 'AdVideo' do |api| api.has_param :tag_uid, 'int' api.has_param :uid, 'int' diff --git a/lib/facebook_ads/ad_objects/ad_volume.rb b/lib/facebook_ads/ad_objects/ad_volume.rb new file mode 100644 index 00000000..b4fedd61 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ad_volume.rb @@ -0,0 +1,34 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdVolume < AdObject + + field :ad_volume_break_down, { list: 'object' } + field :ads_running_or_in_review_count, 'int' + field :future_limit_activation_date, 'string' + field :future_limit_on_ads_running_or_in_review, 'int' + field :individual_accounts_ad_volume, 'int' + field :is_gpa_page, 'bool' + field :limit_on_ads_running_or_in_review, 'int' + field :owning_business_ad_volume, 'int' + field :partner_business_ad_volume, 'int' + field :user_role, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/adgroup_facebook_feedback.rb b/lib/facebook_ads/ad_objects/adgroup_facebook_feedback.rb new file mode 100644 index 00000000..82d57d86 --- /dev/null +++ b/lib/facebook_ads/ad_objects/adgroup_facebook_feedback.rb @@ -0,0 +1,31 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdgroupFacebookFeedback < AdObject + + field :id, 'string' + field :preview, 'string' + has_no_get + has_no_post + has_no_delete + + has_edge :comments do |edge| + edge.get 'Comment' do |api| + api.has_param :order, { enum: -> { Comment::ORDER }} + end + end + + end +end diff --git a/lib/facebook_ads/ad_objects/adjacent_content_delivery_report.rb b/lib/facebook_ads/ad_objects/adjacent_content_delivery_report.rb new file mode 100644 index 00000000..948f1b45 --- /dev/null +++ b/lib/facebook_ads/ad_objects/adjacent_content_delivery_report.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdjacentContentDeliveryReport < AdObject + + field :content, { list: 'object' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/adoptable_pet.rb b/lib/facebook_ads/ad_objects/adoptable_pet.rb new file mode 100644 index 00000000..a7650557 --- /dev/null +++ b/lib/facebook_ads/ad_objects/adoptable_pet.rb @@ -0,0 +1,77 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdoptablePet < AdObject + IMAGE_FETCH_STATUS = [ + "DIRECT_UPLOAD", + "FETCHED", + "FETCH_FAILED", + "NO_STATUS", + "OUTDATED", + "PARTIAL_FETCH", + ] + + VISIBILITY = [ + "PUBLISHED", + "STAGING", + ] + + + field :adoptable_pet_id, 'string' + field :adoption_application_form_url, 'string' + field :age_bucket, 'string' + field :animal_type, 'string' + field :applinks, 'CatalogItemAppLinks' + field :availability, 'string' + field :breed, 'string' + field :category_specific_fields, 'CatalogSubVerticalList' + field :coat_length, 'string' + field :color, 'string' + field :currency, 'string' + field :description, 'string' + field :features, { list: 'string' } + field :gender, 'string' + field :id, 'string' + field :image_fetch_status, { enum: -> { IMAGE_FETCH_STATUS }} + field :images, { list: 'string' } + field :name, 'string' + field :price, 'string' + field :sanitized_images, { list: 'string' } + field :secondary_color, 'string' + field :shelter_email, 'string' + field :shelter_name, 'string' + field :shelter_page_id, 'Page' + field :shelter_phone, 'string' + field :size, 'string' + field :tertiary_color, 'string' + field :url, 'string' + field :visibility, { enum: -> { VISIBILITY }} + has_no_post + has_no_delete + + has_edge :augmented_realities_metadata do |edge| + edge.get 'DynamicArMetadata' + end + + has_edge :channels_to_integrity_status do |edge| + edge.get 'CatalogItemChannelsToIntegrityStatus' + end + + has_edge :videos_metadata do |edge| + edge.get 'DynamicVideoMetadata' + end + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_action_stats.rb b/lib/facebook_ads/ad_objects/ads_action_stats.rb index a75b7deb..4d3dcc4d 100644 --- a/lib/facebook_ads/ad_objects/ads_action_stats.rb +++ b/lib/facebook_ads/ad_objects/ads_action_stats.rb @@ -16,12 +16,26 @@ module FacebookAds class AdsActionStats < AdObject field :_1d_click, 'string' + field :_1d_click_all_conversions, 'string' + field :_1d_click_first_conversion, 'string' field :_1d_ev, 'string' + field :_1d_ev_all_conversions, 'string' + field :_1d_ev_first_conversion, 'string' field :_1d_view, 'string' + field :_1d_view_all_conversions, 'string' + field :_1d_view_first_conversion, 'string' field :_28d_click, 'string' + field :_28d_click_all_conversions, 'string' + field :_28d_click_first_conversion, 'string' field :_28d_view, 'string' + field :_28d_view_all_conversions, 'string' + field :_28d_view_first_conversion, 'string' field :_7d_click, 'string' + field :_7d_click_all_conversions, 'string' + field :_7d_click_first_conversion, 'string' field :_7d_view, 'string' + field :_7d_view_all_conversions, 'string' + field :_7d_view_first_conversion, 'string' field :action_brand, 'string' field :action_canvas_component_id, 'string' field :action_canvas_component_name, 'string' diff --git a/lib/facebook_ads/ad_objects/ads_anomaly_detection.rb b/lib/facebook_ads/ad_objects/ads_anomaly_detection.rb new file mode 100644 index 00000000..ea03e75d --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_anomaly_detection.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsAnomalyDetection < AdObject + + field :anomaly_data, { list: 'object' } + field :day, 'int' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_conversion_goal.rb b/lib/facebook_ads/ad_objects/ads_conversion_goal.rb new file mode 100644 index 00000000..a3b359b4 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_conversion_goal.rb @@ -0,0 +1,34 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsConversionGoal < AdObject + + field :ad_account_id, 'string' + field :conversion_event_value_source, 'string' + field :description, 'string' + field :goal_creation_method, 'string' + field :id, 'string' + field :name, 'string' + field :performance_goal, 'string' + field :update_status, 'string' + has_no_post + has_no_delete + + has_edge :conversion_events do |edge| + edge.get + end + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_creation_saved_state.rb b/lib/facebook_ads/ad_objects/ads_creation_saved_state.rb new file mode 100644 index 00000000..aa201691 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_creation_saved_state.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsCreationSavedState < AdObject + + field :ad_account, 'AdAccount' + field :id, 'string' + field :serialized_store_data, 'string' + field :time_updated, 'datetime' + field :user, 'object' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_custom_pivots_preview.rb b/lib/facebook_ads/ad_objects/ads_custom_pivots_preview.rb new file mode 100644 index 00000000..58fc7e2e --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_custom_pivots_preview.rb @@ -0,0 +1,33 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsCustomPivotsPreview < AdObject + + field :account_id, 'string' + field :account_name, 'string' + field :ad_id, 'string' + field :ad_name, 'string' + field :adset_id, 'string' + field :adset_name, 'string' + field :campaign_id, 'string' + field :campaign_name, 'string' + field :custom_breakdown, { list: 'string' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_data_partner.rb b/lib/facebook_ads/ad_objects/ads_data_partner.rb new file mode 100644 index 00000000..d88524c3 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_data_partner.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsDataPartner < AdObject + + field :id, 'string' + field :name, 'string' + field :rev_share_policies, { list: 'RevSharePolicy' } + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_dataset.rb b/lib/facebook_ads/ad_objects/ads_dataset.rb new file mode 100644 index 00000000..5c826c10 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_dataset.rb @@ -0,0 +1,75 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsDataset < AdObject + + field :can_proxy, 'bool' + field :collection_rate, 'double' + field :config, 'string' + field :creation_time, 'datetime' + field :creator, 'User' + field :dataset_id, 'string' + field :description, 'string' + field :duplicate_entries, 'int' + field :enable_auto_assign_to_accounts, 'bool' + field :enable_automatic_events, 'bool' + field :enable_automatic_matching, 'bool' + field :enable_real_time_event_log, 'bool' + field :event_stats, 'string' + field :event_time_max, 'int' + field :event_time_min, 'int' + field :first_party_cookie_status, 'string' + field :has_bapi_domains, 'bool' + field :has_catalog_microdata_activity, 'bool' + field :has_ofa_redacted_keys, 'bool' + field :has_sent_pii, 'bool' + field :id, 'string' + field :is_consolidated_container, 'bool' + field :is_created_by_business, 'bool' + field :is_crm, 'bool' + field :is_eligible_for_sharing_to_ad_account, 'bool' + field :is_eligible_for_sharing_to_business, 'bool' + field :is_eligible_for_value_optimization, 'bool' + field :is_mta_use, 'bool' + field :is_restricted_use, 'bool' + field :is_unavailable, 'bool' + field :last_fired_time, 'datetime' + field :last_upload_app, 'string' + field :last_upload_app_changed_time, 'int' + field :last_upload_time, 'int' + field :late_upload_reminder_eligibility, 'bool' + field :match_rate_approx, 'int' + field :matched_entries, 'int' + field :name, 'string' + field :no_ads_tracked_for_weekly_uploaded_events_reminder_eligibility, 'bool' + field :num_active_ad_set_tracked, 'int' + field :num_recent_offline_conversions_uploaded, 'int' + field :num_uploads, 'int' + field :owner_ad_account, 'AdAccount' + field :owner_business, 'Business' + field :percentage_of_late_uploads_in_external_suboptimal_window, 'int' + field :permissions, 'OfflineConversionDataSetPermissions' + field :server_last_fired_time, 'datetime' + field :show_automatic_events, 'bool' + field :upload_rate, 'double' + field :upload_reminder_eligibility, 'bool' + field :usage, 'OfflineConversionDataSetUsage' + field :valid_entries, 'int' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_guidance_qe_exposure.rb b/lib/facebook_ads/ad_objects/ads_guidance_qe_exposure.rb new file mode 100644 index 00000000..cb9da821 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_guidance_qe_exposure.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsGuidanceQeExposure < AdObject + + field :account_exposed, 'bool' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_histogram_stats.rb b/lib/facebook_ads/ad_objects/ads_histogram_stats.rb index a42fdabd..d086f962 100644 --- a/lib/facebook_ads/ad_objects/ads_histogram_stats.rb +++ b/lib/facebook_ads/ad_objects/ads_histogram_stats.rb @@ -16,12 +16,26 @@ module FacebookAds class AdsHistogramStats < AdObject field :_1d_click, { list: 'int' } + field :_1d_click_all_conversions, { list: 'int' } + field :_1d_click_first_conversion, { list: 'int' } field :_1d_ev, { list: 'int' } + field :_1d_ev_all_conversions, { list: 'int' } + field :_1d_ev_first_conversion, { list: 'int' } field :_1d_view, { list: 'int' } + field :_1d_view_all_conversions, { list: 'int' } + field :_1d_view_first_conversion, { list: 'int' } field :_28d_click, { list: 'int' } + field :_28d_click_all_conversions, { list: 'int' } + field :_28d_click_first_conversion, { list: 'int' } field :_28d_view, { list: 'int' } + field :_28d_view_all_conversions, { list: 'int' } + field :_28d_view_first_conversion, { list: 'int' } field :_7d_click, { list: 'int' } + field :_7d_click_all_conversions, { list: 'int' } + field :_7d_click_first_conversion, { list: 'int' } field :_7d_view, { list: 'int' } + field :_7d_view_all_conversions, { list: 'int' } + field :_7d_view_first_conversion, { list: 'int' } field :action_brand, 'string' field :action_canvas_component_id, 'string' field :action_canvas_component_name, 'string' diff --git a/lib/facebook_ads/ad_objects/ads_insights.rb b/lib/facebook_ads/ad_objects/ads_insights.rb index 385cf67a..aace3eef 100644 --- a/lib/facebook_ads/ad_objects/ads_insights.rb +++ b/lib/facebook_ads/ad_objects/ads_insights.rb @@ -95,11 +95,14 @@ class AdsInsights < AdObject "publisher_platform", "redownload", "region", + "signal_source_bucket", "skan_campaign_id", "skan_conversion_id", "skan_version", "standard_event_content_type", "title_asset", + "user_persona_id", + "user_persona_name", "video_asset", ] @@ -161,6 +164,7 @@ class AdsInsights < AdObject field :ad_id, 'string' field :ad_impression_actions, { list: 'AdsActionStats' } field :ad_name, 'string' + field :adjusted_offline_purchase, { list: 'object' } field :adset_end, 'string' field :adset_id, 'string' field :adset_name, 'string' @@ -181,7 +185,6 @@ class AdsInsights < AdObject field :catalog_segment_value_omni_purchase_roas, { list: 'AdsActionStats' } field :catalog_segment_value_website_purchase_roas, { list: 'AdsActionStats' } field :clicks, 'string' - field :conversion_lead_rate, 'string' field :conversion_rate_ranking, 'string' field :conversion_values, { list: 'AdsActionStats' } field :conversions, { list: 'AdsActionStats' } @@ -192,7 +195,6 @@ class AdsInsights < AdObject field :cost_per_action_type, { list: 'AdsActionStats' } field :cost_per_ad_click, { list: 'AdsActionStats' } field :cost_per_conversion, { list: 'AdsActionStats' } - field :cost_per_conversion_lead, 'string' field :cost_per_dda_countby_convs, 'string' field :cost_per_estimated_ad_recallers, 'string' field :cost_per_inline_link_click, 'string' @@ -243,6 +245,7 @@ class AdsInsights < AdObject field :marketing_messages_website_purchase_values, 'string' field :mobile_app_purchase_roas, { list: 'AdsActionStats' } field :objective, 'string' + field :onsite_conversion_messaging_detected_purchase_deduped, { list: 'AdsActionStats' } field :optimization_goal, 'string' field :outbound_clicks, { list: 'AdsActionStats' } field :outbound_clicks_ctr, { list: 'AdsActionStats' } @@ -251,6 +254,7 @@ class AdsInsights < AdObject field :qualifying_question_qualify_answer_rate, 'string' field :quality_ranking, 'string' field :reach, 'string' + field :shops_assisted_purchases, 'string' field :social_spend, 'string' field :spend, 'string' field :total_postbacks, 'string' diff --git a/lib/facebook_ads/ad_objects/ads_naming_template.rb b/lib/facebook_ads/ad_objects/ads_naming_template.rb new file mode 100644 index 00000000..cb945924 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_naming_template.rb @@ -0,0 +1,42 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsNamingTemplate < AdObject + LEVEL = [ + "ADGROUP", + "AD_ACCOUNT", + "CAMPAIGN", + "CAMPAIGN_GROUP", + "OPPORTUNITIES", + "PRIVACY_INFO_CENTER", + "TOPLINE", + "UNIQUE_ADCREATIVE", + ] + + + field :api_fields, { list: { list: 'map>>' } } + field :api_version, 'string' + field :field_order, { list: 'string' } + field :id, 'string' + field :level, { enum: -> { LEVEL }} + field :separator, 'string' + field :template_version, 'string' + field :user_defined_fields, { list: { list: 'map>' } } + field :value_separator, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_payment_cycle.rb b/lib/facebook_ads/ad_objects/ads_payment_cycle.rb new file mode 100644 index 00000000..df88007d --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_payment_cycle.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsPaymentCycle < AdObject + + field :account_id, 'string' + field :created_time, 'datetime' + field :multiplier, 'int' + field :requested_threshold_amount, 'int' + field :threshold_amount, 'int' + field :updated_time, 'datetime' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_pivot_rules.rb b/lib/facebook_ads/ad_objects/ads_pivot_rules.rb new file mode 100644 index 00000000..77ef5c1d --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_pivot_rules.rb @@ -0,0 +1,32 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsPivotRules < AdObject + + field :creation_time, 'datetime' + field :creator, 'Profile' + field :description, 'string' + field :id, 'string' + field :name, 'string' + field :permission, 'string' + field :rules, { list: 'object' } + field :scope, 'string' + field :update_by, 'Profile' + field :update_time, 'datetime' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_pixel.rb b/lib/facebook_ads/ad_objects/ads_pixel.rb index 9293a234..78bffd09 100644 --- a/lib/facebook_ads/ad_objects/ads_pixel.rb +++ b/lib/facebook_ads/ad_objects/ads_pixel.rb @@ -45,6 +45,12 @@ class AdsPixel < AdObject "FIRST_PARTY_COOKIE_ENABLED", ] + PERMITTED_TASKS = [ + "ADVERTISE", + "ANALYZE", + "UPLOAD", + ] + TASKS = [ "AA_ANALYZE", "ADVERTISE", @@ -69,6 +75,7 @@ class AdsPixel < AdObject field :event_time_max, 'int' field :event_time_min, 'int' field :first_party_cookie_status, 'string' + field :has_1p_pixel_event, 'bool' field :id, 'string' field :is_consolidated_container, 'bool' field :is_created_by_business, 'bool' @@ -96,7 +103,14 @@ class AdsPixel < AdObject end has_edge :agencies do |edge| + edge.delete do |api| + api.has_param :business, 'string' + end edge.get 'Business' + edge.post 'AdsPixel' do |api| + api.has_param :business, 'string' + api.has_param :permitted_tasks, { list: { enum: -> { AdsPixel::PERMITTED_TASKS }} } + end end has_edge :ahp_configs do |edge| diff --git a/lib/facebook_ads/ad_objects/ads_pixel_capability_override.rb b/lib/facebook_ads/ad_objects/ads_pixel_capability_override.rb new file mode 100644 index 00000000..28b96ecd --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_pixel_capability_override.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsPixelCapabilityOverride < AdObject + + field :capability, 'string' + field :id, 'string' + field :override_value, 'string' + field :reason, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_pixel_capi_setup_quality.rb b/lib/facebook_ads/ad_objects/ads_pixel_capi_setup_quality.rb new file mode 100644 index 00000000..b9bc13bb --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_pixel_capi_setup_quality.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsPixelCapiSetupQuality < AdObject + + field :event_match_quality, 'object' + field :event_name, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_pixel_delivery_recommendations.rb b/lib/facebook_ads/ad_objects/ads_pixel_delivery_recommendations.rb new file mode 100644 index 00000000..e18ad8b2 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_pixel_delivery_recommendations.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsPixelDeliveryRecommendations < AdObject + + field :custom_event_type, 'string' + field :optimization_goal, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_pixel_domain_control_rule.rb b/lib/facebook_ads/ad_objects/ads_pixel_domain_control_rule.rb new file mode 100644 index 00000000..72a3ecc9 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_pixel_domain_control_rule.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsPixelDomainControlRule < AdObject + + field :domain_list, { list: 'object' } + field :type, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_pixel_domain_last_fired_time.rb b/lib/facebook_ads/ad_objects/ads_pixel_domain_last_fired_time.rb new file mode 100644 index 00000000..df6bd21c --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_pixel_domain_last_fired_time.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsPixelDomainLastFiredTime < AdObject + + field :domain_name, 'string' + field :last_fired_time, 'int' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/catalog_segment_all_match_count_laser.rb b/lib/facebook_ads/ad_objects/ads_pixel_event_last_fired_time.rb similarity index 69% rename from lib/facebook_ads/ad_objects/catalog_segment_all_match_count_laser.rb rename to lib/facebook_ads/ad_objects/ads_pixel_event_last_fired_time.rb index a0abd5b7..5db53282 100644 --- a/lib/facebook_ads/ad_objects/catalog_segment_all_match_count_laser.rb +++ b/lib/facebook_ads/ad_objects/ads_pixel_event_last_fired_time.rb @@ -13,14 +13,10 @@ module FacebookAds # on github and we'll fix in our codegen framework. We'll not be able to accept # pull request for this class. - class CatalogSegmentAllMatchCountLaser < AdObject + class AdsPixelEventLastFiredTime < AdObject - field :date_start, 'string' - field :date_stop, 'string' field :event, 'string' - field :source, 'ExternalEventSource' - field :total_matched_content_ids, 'int' - field :unique_matched_content_ids, 'int' + field :last_fired_time, 'int' has_no_id has_no_get has_no_post diff --git a/lib/facebook_ads/ad_objects/ads_pixel_event_prediction.rb b/lib/facebook_ads/ad_objects/ads_pixel_event_prediction.rb new file mode 100644 index 00000000..4a068cb3 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_pixel_event_prediction.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsPixelEventPrediction < AdObject + + field :dismissed, 'bool' + field :event_type, 'string' + field :rule, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_pixel_event_suggestion_rule.rb b/lib/facebook_ads/ad_objects/ads_pixel_event_suggestion_rule.rb new file mode 100644 index 00000000..3eb82692 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_pixel_event_suggestion_rule.rb @@ -0,0 +1,32 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsPixelEventSuggestionRule < AdObject + + field :_7d_volume, 'int' + field :dismissed, 'bool' + field :end_time, 'datetime' + field :event_type, 'string' + field :rank, 'int' + field :rule, 'string' + field :sample_urls, { list: 'string' } + field :start_time, 'datetime' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_pixel_item_price.rb b/lib/facebook_ads/ad_objects/ads_pixel_item_price.rb new file mode 100644 index 00000000..466214d3 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_pixel_item_price.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsPixelItemPrice < AdObject + + field :date, 'string' + field :item_price_coverage, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_pixel_microdata_stats.rb b/lib/facebook_ads/ad_objects/ads_pixel_microdata_stats.rb new file mode 100644 index 00000000..47f06e6d --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_pixel_microdata_stats.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsPixelMicrodataStats < AdObject + + field :allowed_domains, { list: 'string' } + field :errors_stats_for_time_ranges, { list: 'object' } + field :has_valid_events, 'bool' + field :suggested_allowed_domains_count_max, 'int' + field :suggested_trusted_domains, { list: 'string' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_pixel_raw_fires_result.rb b/lib/facebook_ads/ad_objects/ads_pixel_raw_fires_result.rb new file mode 100644 index 00000000..06749bcd --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_pixel_raw_fires_result.rb @@ -0,0 +1,32 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsPixelRawFiresResult < AdObject + + field :data_json, 'string' + field :device_type, 'string' + field :event, 'string' + field :event_detection_method, 'string' + field :event_src, 'string' + field :placed_url, 'string' + field :timestamp, 'datetime' + field :user_pii_keys, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_pixel_real_time_event_log_result.rb b/lib/facebook_ads/ad_objects/ads_pixel_real_time_event_log_result.rb new file mode 100644 index 00000000..86c8b0ec --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_pixel_real_time_event_log_result.rb @@ -0,0 +1,37 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsPixelRealTimeEventLogResult < AdObject + + field :data_json, 'string' + field :dedup_data, 'string' + field :device_type, 'string' + field :domain_control_rule_rejection, 'string' + field :event, 'string' + field :event_detection_method, 'string' + field :in_iframe, 'bool' + field :matched_rule_conditions, 'string' + field :resolved_link, 'string' + field :source_rule_condition, 'string' + field :timestamp, 'string' + field :trace_id, 'string' + field :url, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_pixel_recent_events_result.rb b/lib/facebook_ads/ad_objects/ads_pixel_recent_events_result.rb new file mode 100644 index 00000000..20891c2e --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_pixel_recent_events_result.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsPixelRecentEventsResult < AdObject + + field :count, 'int' + field :event, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_pixel_signals_iwl_feedback_nux.rb b/lib/facebook_ads/ad_objects/ads_pixel_signals_iwl_feedback_nux.rb new file mode 100644 index 00000000..bc43498d --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_pixel_signals_iwl_feedback_nux.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsPixelSignalsIwlFeedbackNux < AdObject + + field :should_ask_to_rate, 'bool' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_pixel_signals_iwl_nux.rb b/lib/facebook_ads/ad_objects/ads_pixel_signals_iwl_nux.rb new file mode 100644 index 00000000..dc44f5a2 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_pixel_signals_iwl_nux.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsPixelSignalsIwlNux < AdObject + + field :background_color, 'string' + field :content, 'string' + field :content_color, 'string' + field :content_size, 'string' + field :img_url, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_report_builder.rb b/lib/facebook_ads/ad_objects/ads_report_builder.rb new file mode 100644 index 00000000..207bf441 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_report_builder.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsReportBuilder < AdObject + + field :headers, 'object' + field :rows, { list: 'object' } + field :skan_readiness_status, { list: 'hash' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_report_builder_export_core.rb b/lib/facebook_ads/ad_objects/ads_report_builder_export_core.rb new file mode 100644 index 00000000..3fc9fcb6 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_report_builder_export_core.rb @@ -0,0 +1,38 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsReportBuilderExportCore < AdObject + + field :async_percent_completion, 'int' + field :async_report_url, 'string' + field :async_status, 'string' + field :client_creation_value, 'string' + field :expiry_time, 'datetime' + field :export_download_time, 'datetime' + field :export_format, 'string' + field :export_name, 'string' + field :export_type, 'string' + field :has_seen, 'bool' + field :id, 'string' + field :is_sharing, 'bool' + field :link_sharing_expiration_time, 'datetime' + field :link_sharing_uri, 'string' + field :time_completed, 'datetime' + field :time_start, 'datetime' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_report_builder_mmm_report.rb b/lib/facebook_ads/ad_objects/ads_report_builder_mmm_report.rb new file mode 100644 index 00000000..946f48d8 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_report_builder_mmm_report.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsReportBuilderMmmReport < AdObject + + field :async_status, 'string' + field :export_format, 'string' + field :export_name, 'string' + field :export_type, 'string' + field :has_seen, 'bool' + field :id, 'string' + field :mmm_status, 'string' + field :time_start, 'datetime' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_report_builder_mmm_report_scheduler.rb b/lib/facebook_ads/ad_objects/ads_report_builder_mmm_report_scheduler.rb new file mode 100644 index 00000000..a0e53750 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_report_builder_mmm_report_scheduler.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsReportBuilderMmmReportScheduler < AdObject + + field :ad_account_ids, { list: 'string' } + field :filtering, { list: 'object' } + field :id, 'string' + field :report_name, 'string' + field :schedule_frequency, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_report_builder_saved_report.rb b/lib/facebook_ads/ad_objects/ads_report_builder_saved_report.rb new file mode 100644 index 00000000..f943a0a0 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_report_builder_saved_report.rb @@ -0,0 +1,61 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsReportBuilderSavedReport < AdObject + + field :action_report_time, 'string' + field :ad_account_id, 'string' + field :attribution_windows, { list: 'string' } + field :comparison_date_interval, 'object' + field :creation_source, 'string' + field :creation_time, 'datetime' + field :currency, 'string' + field :date_interval, 'object' + field :date_preset, 'string' + field :default_attribution_windows, { list: 'string' } + field :dimension_groups, { list: { list: 'string' } } + field :dimensions, { list: 'string' } + field :filtering, { list: 'string' } + field :formatting, { list: 'map>' } + field :id, 'string' + field :last_access_by, 'Profile' + field :last_access_time, 'datetime' + field :last_report_snapshot_id, 'string' + field :last_report_snapshot_time, 'datetime' + field :last_shared_report_expiration, 'datetime' + field :limit, 'int' + field :locked_dimensions, 'int' + field :metrics, { list: 'string' } + field :report_name, 'string' + field :report_snapshot_async_percent_completion, 'int' + field :report_snapshot_async_status, 'string' + field :schedule_frequency, 'string' + field :scope, 'string' + field :show_deprecate_aw_banner, 'bool' + field :sorting, { list: 'object' } + field :start_date, 'string' + field :status, 'string' + field :subscribers, { list: 'string' } + field :update_by, 'Profile' + field :update_time, 'datetime' + field :user, 'Profile' + field :user_dimensions, { list: 'string' } + field :user_metrics, { list: 'string' } + field :view_type, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_segments.rb b/lib/facebook_ads/ad_objects/ads_segments.rb new file mode 100644 index 00000000..82d4deaa --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_segments.rb @@ -0,0 +1,32 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsSegments < AdObject + + field :daily_audience_size, 'int' + field :daily_impressions, 'int' + field :description, 'string' + field :id, 'string' + field :name, 'string' + field :path, { list: 'string' } + field :popularity, 'double' + field :projected_cpm, 'int' + field :projected_daily_revenue, 'int' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_signal_diagnostic_issue.rb b/lib/facebook_ads/ad_objects/ads_signal_diagnostic_issue.rb new file mode 100644 index 00000000..e0a561d9 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_signal_diagnostic_issue.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsSignalDiagnosticIssue < AdObject + + field :data_source_id, 'AdsPixel' + field :data_source_type, 'string' + field :diagnostic_type, 'string' + field :event_name, 'string' + field :traffic_anomaly_drop_percentage, 'double' + field :traffic_anomaly_drop_timestamp, 'datetime' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_start_your_day_widget.rb b/lib/facebook_ads/ad_objects/ads_start_your_day_widget.rb new file mode 100644 index 00000000..89778285 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_start_your_day_widget.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsStartYourDayWidget < AdObject + + field :id, 'string' + field :widget_id, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_tabular.rb b/lib/facebook_ads/ad_objects/ads_tabular.rb new file mode 100644 index 00000000..007fd8a6 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_tabular.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsTabular < AdObject + + field :rows, { list: 'object' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_targeting_insights.rb b/lib/facebook_ads/ad_objects/ads_targeting_insights.rb new file mode 100644 index 00000000..6671a54c --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_targeting_insights.rb @@ -0,0 +1,34 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsTargetingInsights < AdObject + + field :audience_size, 'int' + field :clicks, 'int' + field :conversion_cost, 'double' + field :conversions, 'int' + field :description, 'string' + field :id, 'string' + field :impressions, 'string' + field :name, 'string' + field :revenue, 'double' + field :spend, 'double' + field :type, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_text_suggestions.rb b/lib/facebook_ads/ad_objects/ads_text_suggestions.rb new file mode 100644 index 00000000..d1d3514b --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_text_suggestions.rb @@ -0,0 +1,31 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsTextSuggestions < AdObject + + field :ad_account_id, 'string' + field :bodies, { list: 'object' } + field :descriptions, { list: 'object' } + field :inactive_session_tally, 'int' + field :long, { list: 'object' } + field :short, { list: 'object' } + field :titles, { list: 'object' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_user_settings.rb b/lib/facebook_ads/ad_objects/ads_user_settings.rb new file mode 100644 index 00000000..2b5110ef --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_user_settings.rb @@ -0,0 +1,77 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsUserSettings < AdObject + + field :a_plus_c_survey_seen, 'bool' + field :adgroup_name_template, 'object' + field :ads_tool_visits, { list: 'object' } + field :aplusc_carousel_cda_opt_in_status, 'string' + field :aplusc_carousel_inline_comment_opt_in_status, 'string' + field :aplusc_epa_opt_in_status, 'string' + field :aplusc_opt_out_friction, { list: 'string' } + field :autoflow_lite_opt_in_status, 'string' + field :autoflow_lite_should_opt_in, 'bool' + field :blended_ads_creation_defaulting_opt_in_status, 'string' + field :bookmarked_pages, { list: 'Page' } + field :campaign_group_name_template, 'object' + field :campaign_name_template, 'object' + field :carousel_to_video_opt_in_status, 'string' + field :connected_sources_catalog_opt_in_status, 'string' + field :default_creation_mode, 'string' + field :export_format_default, 'string' + field :focus_mode_default, 'string' + field :gen_ai_alpha_test_status, 'int' + field :id, 'string' + field :image_expansion_opt_in_status, 'string' + field :is_ads_ai_consented, 'bool' + field :is_cbo_default_on, 'bool' + field :is_se_removal_guidance_dismissed, 'bool' + field :last_used_post_format, 'string' + field :last_visited_time, 'datetime' + field :multi_ads_settings, { list: 'hash' } + field :music_on_reels_opt_in, { list: 'hash' } + field :muted_cbo_midflight_education_messages, { list: 'string' } + field :onsite_destination_optimization_opt_in, 'string' + field :open_tabs, { list: 'string' } + field :previously_seen_recommendations, { list: 'string' } + field :product_extensions_opt_in, 'string' + field :selected_ad_account, 'AdAccount' + field :selected_comparison_timerange, 'object' + field :selected_metric_cic, 'string' + field :selected_metrics_cic, { list: 'string' } + field :selected_page, 'Page' + field :selected_page_section, 'string' + field :selected_power_editor_pane, 'string' + field :selected_stat_range, 'object' + field :should_export_filter_empty_cols, 'string' + field :should_export_rows_without_unsupported_feature, 'string' + field :should_not_auto_expand_tree_table, 'bool' + field :should_not_show_cbo_campaign_toggle_off_confirmation_message, 'bool' + field :should_not_show_publish_message_on_editor_close, 'bool' + field :show_original_videos_opt_in, 'string' + field :static_ad_product_extensions_opt_in, 'string' + field :sticky_setting_after_default_on, 'string' + field :syd_campaign_trends_metric, 'string' + field :total_coupon_syd_dismissals, 'int' + field :total_coupon_upsell_dismissals, 'int' + field :use_pe_create_flow, 'bool' + field :use_stepper_primary_entry, 'bool' + field :user, 'User' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_value_adjustment_rule.rb b/lib/facebook_ads/ad_objects/ads_value_adjustment_rule.rb new file mode 100644 index 00000000..17e7694a --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_value_adjustment_rule.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsValueAdjustmentRule < AdObject + + field :base_value, 'int' + field :id, 'string' + has_no_post + has_no_delete + + has_edge :criterias do |edge| + edge.get + end + + end +end diff --git a/lib/facebook_ads/ad_objects/ads_value_adjustment_rule_collection.rb b/lib/facebook_ads/ad_objects/ads_value_adjustment_rule_collection.rb new file mode 100644 index 00000000..e4650e0e --- /dev/null +++ b/lib/facebook_ads/ad_objects/ads_value_adjustment_rule_collection.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdsValueAdjustmentRuleCollection < AdObject + + field :id, 'string' + field :name, 'string' + has_no_post + has_no_delete + + has_edge :personas do |edge| + edge.get + end + + end +end diff --git a/lib/facebook_ads/ad_objects/adv_a_instance.rb b/lib/facebook_ads/ad_objects/adv_a_instance.rb new file mode 100644 index 00000000..68e326be --- /dev/null +++ b/lib/facebook_ads/ad_objects/adv_a_instance.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdvAInstance < AdObject + + field :id, 'string' + field :instance_type, 'string' + field :name, 'string' + field :owner_business, 'Business' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/advertiser_verification_status.rb b/lib/facebook_ads/ad_objects/advertiser_verification_status.rb new file mode 100644 index 00000000..5cc556f3 --- /dev/null +++ b/lib/facebook_ads/ad_objects/advertiser_verification_status.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AdvertiserVerificationStatus < AdObject + + field :banner_type, 'string' + field :grace_period_ends_at, 'datetime' + field :ufac_redirect_uri, 'string' + field :verification_status, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/am_oneshop_settings.rb b/lib/facebook_ads/ad_objects/am_oneshop_settings.rb new file mode 100644 index 00000000..697c4336 --- /dev/null +++ b/lib/facebook_ads/ad_objects/am_oneshop_settings.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AmOneshopSettings < AdObject + + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/an_blocked_bi_category.rb b/lib/facebook_ads/ad_objects/an_blocked_bi_category.rb new file mode 100644 index 00000000..02604032 --- /dev/null +++ b/lib/facebook_ads/ad_objects/an_blocked_bi_category.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AnBlockedBiCategory < AdObject + + field :key, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/analytics_cohort_query_result.rb b/lib/facebook_ads/ad_objects/analytics_cohort_query_result.rb new file mode 100644 index 00000000..83ca7414 --- /dev/null +++ b/lib/facebook_ads/ad_objects/analytics_cohort_query_result.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AnalyticsCohortQueryResult < AdObject + + field :data, 'object' + field :error, 'object' + field :query_id, 'string' + field :status, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/analytics_config.rb b/lib/facebook_ads/ad_objects/analytics_config.rb new file mode 100644 index 00000000..5a3ee0af --- /dev/null +++ b/lib/facebook_ads/ad_objects/analytics_config.rb @@ -0,0 +1,50 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AnalyticsConfig < AdObject + + field :analytics_access_for_authorized_ad_account, 'bool' + field :breakdowns_config, { list: 'object' } + field :builtin_fields_config, { list: 'object' } + field :deprecated_events_config, { list: 'object' } + field :events_config, { list: 'object' } + field :ios_purchase_validation_secret, 'string' + field :is_any_role_able_to_see_restricted_insights, 'bool' + field :is_implicit_purchase_logging_on_android_supported, 'bool' + field :is_implicit_purchase_logging_on_ios_supported, 'bool' + field :is_track_ios_app_uninstall_supported, 'bool' + field :journey_backfill_status, 'string' + field :journey_conversion_events, { list: 'string' } + field :journey_enabled, 'bool' + field :journey_impacting_change_time, 'datetime' + field :journey_timeout, 'string' + field :latest_sdk_versions, 'hash' + field :log_android_implicit_purchase_events, 'bool' + field :log_automatic_analytics_events, 'bool' + field :log_implicit_purchase_events, 'bool' + field :prev_journey_conversion_events, { list: 'string' } + field :query_approximation_accuracy_level, 'string' + field :query_currency, 'string' + field :query_timezone, 'string' + field :recent_events_update_time, 'datetime' + field :session_timeout_interval, 'int' + field :track_ios_app_uninstall, 'bool' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/analytics_entity_user_config.rb b/lib/facebook_ads/ad_objects/analytics_entity_user_config.rb new file mode 100644 index 00000000..63450fb8 --- /dev/null +++ b/lib/facebook_ads/ad_objects/analytics_entity_user_config.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AnalyticsEntityUserConfig < AdObject + + field :dismissed_notices, { list: 'string' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/analytics_funnel_query_result.rb b/lib/facebook_ads/ad_objects/analytics_funnel_query_result.rb new file mode 100644 index 00000000..f5fdfe2f --- /dev/null +++ b/lib/facebook_ads/ad_objects/analytics_funnel_query_result.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AnalyticsFunnelQueryResult < AdObject + + field :data, 'object' + field :error, 'object' + field :query_id, 'string' + field :status, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/analytics_platform_metrics_config.rb b/lib/facebook_ads/ad_objects/analytics_platform_metrics_config.rb new file mode 100644 index 00000000..a03dd0c5 --- /dev/null +++ b/lib/facebook_ads/ad_objects/analytics_platform_metrics_config.rb @@ -0,0 +1,33 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AnalyticsPlatformMetricsConfig < AdObject + + field :has_a2u, 'bool' + field :has_api_calls, 'bool' + field :has_app_invites, 'bool' + field :has_fb_login, 'bool' + field :has_game_requests, 'bool' + field :has_payments, 'bool' + field :has_referrals, 'bool' + field :has_stories, 'bool' + field :has_structured_requests, 'bool' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/analytics_query_result.rb b/lib/facebook_ads/ad_objects/analytics_query_result.rb new file mode 100644 index 00000000..8fa19ff9 --- /dev/null +++ b/lib/facebook_ads/ad_objects/analytics_query_result.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AnalyticsQueryResult < AdObject + + field :columns, 'object' + field :datapoints, { list: 'object' } + field :error, 'object' + field :query_id, 'string' + field :status, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/analytics_user_config.rb b/lib/facebook_ads/ad_objects/analytics_user_config.rb new file mode 100644 index 00000000..a0cd217a --- /dev/null +++ b/lib/facebook_ads/ad_objects/analytics_user_config.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AnalyticsUserConfig < AdObject + + field :demo_app_nux_config, 'object' + field :flags, { list: 'hash' } + field :id, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/app_event_config.rb b/lib/facebook_ads/ad_objects/app_event_config.rb new file mode 100644 index 00000000..2be24bc2 --- /dev/null +++ b/lib/facebook_ads/ad_objects/app_event_config.rb @@ -0,0 +1,49 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AppEventConfig < AdObject + + field :breakdowns_config, { list: 'object' } + field :builtin_fields_config, { list: 'object' } + field :deprecated_events_config, { list: 'object' } + field :events_config, { list: 'object' } + field :id, 'string' + field :ios_purchase_validation_secret, 'string' + field :is_any_role_able_to_see_restricted_insights, 'bool' + field :is_implicit_purchase_logging_on_android_supported, 'bool' + field :is_implicit_purchase_logging_on_ios_supported, 'bool' + field :is_track_android_app_uninstall_supported, 'bool' + field :is_track_ios_app_uninstall_supported, 'bool' + field :journey_backfill_status, 'string' + field :journey_conversion_events, { list: 'string' } + field :journey_enabled, 'bool' + field :journey_timeout, 'string' + field :latest_sdk_versions, 'hash' + field :log_android_implicit_purchase_events, 'bool' + field :log_automatic_analytics_events, 'bool' + field :log_implicit_purchase_events, 'bool' + field :prev_journey_conversion_events, { list: 'string' } + field :query_approximation_accuracy_level, 'string' + field :query_currency, 'string' + field :query_timezone, 'string' + field :recent_events_update_time, 'datetime' + field :session_timeout_interval, 'int' + field :track_android_app_uninstall, 'bool' + field :track_ios_app_uninstall, 'bool' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/app_links.rb b/lib/facebook_ads/ad_objects/app_links.rb new file mode 100644 index 00000000..9c0482a7 --- /dev/null +++ b/lib/facebook_ads/ad_objects/app_links.rb @@ -0,0 +1,31 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AppLinks < AdObject + + field :android, { list: 'AndroidAppLink' } + field :id, 'string' + field :ios, { list: 'IosAppLink' } + field :ipad, { list: 'IosAppLink' } + field :iphone, { list: 'IosAppLink' } + field :web, 'WebAppLink' + field :windows, { list: 'WindowsAppLink' } + field :windows_phone, { list: 'WindowsPhoneAppLink' } + field :windows_universal, { list: 'WindowsAppLink' } + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/app_optimized_custom_events.rb b/lib/facebook_ads/ad_objects/app_optimized_custom_events.rb new file mode 100644 index 00000000..9bce6115 --- /dev/null +++ b/lib/facebook_ads/ad_objects/app_optimized_custom_events.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AppOptimizedCustomEvents < AdObject + + field :app_id, 'int' + field :app_name, 'string' + field :event_names, { list: 'string' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/app_publisher.rb b/lib/facebook_ads/ad_objects/app_publisher.rb new file mode 100644 index 00000000..d9225a8f --- /dev/null +++ b/lib/facebook_ads/ad_objects/app_publisher.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AppPublisher < AdObject + + field :content_id, 'string' + field :icon_url, 'string' + field :id, 'string' + field :name, 'string' + field :platform, 'string' + field :store_name, 'string' + field :store_url, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/application.rb b/lib/facebook_ads/ad_objects/application.rb index 3c289300..1bc6ee99 100644 --- a/lib/facebook_ads/ad_objects/application.rb +++ b/lib/facebook_ads/ad_objects/application.rb @@ -76,6 +76,32 @@ class Application < AdObject "PAGE", ] + OWNER_PERMISSIONS = [ + "DEVELOP", + "MANAGE", + "MANAGE_EXTENSIONS", + "MANAGE_PHONE", + "MANAGE_PHONE_ASSETS", + "MANAGE_TEMPLATES", + "MESSAGING", + "VIEW_COST", + "VIEW_PHONE_ASSETS", + "VIEW_TEMPLATES", + ] + + PARTNER_PERMISSIONS = [ + "DEVELOP", + "MANAGE", + "MANAGE_EXTENSIONS", + "MANAGE_PHONE", + "MANAGE_PHONE_ASSETS", + "MANAGE_TEMPLATES", + "MESSAGING", + "VIEW_COST", + "VIEW_PHONE_ASSETS", + "VIEW_TEMPLATES", + ] + field :aam_rules, 'string' field :an_ad_space_limit, 'int' @@ -425,22 +451,24 @@ class Application < AdObject end end + has_edge :domain_reports do |edge| + edge.post do |api| + api.has_param :tracking_domains, { list: 'string' } + end + end + has_edge :iap_purchases do |edge| edge.get do |api| api.has_param :order_id, 'string' end end - has_edge :insights_push_schedule do |edge| - edge.get - end - has_edge :ios_dialog_configs do |edge| edge.get end has_edge :linked_dataset do |edge| - edge.get + edge.get 'AdsDataset' end has_edge :mmp_auditing do |edge| @@ -582,5 +610,20 @@ class Application < AdObject end end + has_edge :whatsapp_business_solution do |edge| + edge.post 'Application' do |api| + api.has_param :owner_permissions, { list: { enum: -> { Application::OWNER_PERMISSIONS }} } + api.has_param :partner_app_id, 'string' + api.has_param :partner_permissions, { list: { enum: -> { Application::PARTNER_PERMISSIONS }} } + api.has_param :solution_name, 'string' + end + end + + has_edge :whatsapp_business_solutions do |edge| + edge.get do |api| + api.has_param :role, { enum: %w{OWNER PARTNER }} + end + end + end end diff --git a/lib/facebook_ads/ad_objects/ar_ads_data_container.rb b/lib/facebook_ads/ad_objects/ar_ads_data_container.rb new file mode 100644 index 00000000..dfbde687 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ar_ads_data_container.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ArAdsDataContainer < AdObject + + field :camera_facing_override, 'string' + field :creation_time, 'datetime' + field :effect, { list: 'object' } + field :id, 'string' + field :is_published, 'bool' + field :last_modified_time, 'datetime' + field :name, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ar_effect.rb b/lib/facebook_ads/ad_objects/ar_effect.rb new file mode 100644 index 00000000..4e756e86 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ar_effect.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ArEffect < AdObject + + field :creation_time, 'datetime' + field :id, 'string' + field :last_modified_time, 'datetime' + field :name, 'string' + field :status, 'string' + field :surfaces, { list: 'string' } + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/audience_funnel.rb b/lib/facebook_ads/ad_objects/audience_funnel.rb new file mode 100644 index 00000000..b1f63d5b --- /dev/null +++ b/lib/facebook_ads/ad_objects/audience_funnel.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AudienceFunnel < AdObject + + field :audience_type_param_name, 'string' + field :audience_type_param_tags, { list: 'hash' } + field :custom_audience_groups_info, { list: 'map>' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/audience_overlap.rb b/lib/facebook_ads/ad_objects/audience_overlap.rb new file mode 100644 index 00000000..2f3d5a1b --- /dev/null +++ b/lib/facebook_ads/ad_objects/audience_overlap.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AudienceOverlap < AdObject + + field :estimated_reach, 'int' + field :id, 'string' + field :name, 'string' + field :overlap, 'int' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/audience_permission.rb b/lib/facebook_ads/ad_objects/audience_permission.rb new file mode 100644 index 00000000..8ad1fbfb --- /dev/null +++ b/lib/facebook_ads/ad_objects/audience_permission.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AudiencePermission < AdObject + + field :audience, 'CustomAudience' + field :share_account_id, 'string' + field :share_account_name, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/audience_sharing_account_valid.rb b/lib/facebook_ads/ad_objects/audience_sharing_account_valid.rb new file mode 100644 index 00000000..a23fa53e --- /dev/null +++ b/lib/facebook_ads/ad_objects/audience_sharing_account_valid.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AudienceSharingAccountValid < AdObject + + field :account_id, 'string' + field :account_type, 'string' + field :business_id, 'string' + field :business_name, 'string' + field :can_ad_account_use_lookalike_container, 'bool' + field :sharing_agreement_status, 'int' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/audience_sharing_recipient_accounts.rb b/lib/facebook_ads/ad_objects/audience_sharing_recipient_accounts.rb new file mode 100644 index 00000000..64445692 --- /dev/null +++ b/lib/facebook_ads/ad_objects/audience_sharing_recipient_accounts.rb @@ -0,0 +1,31 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AudienceSharingRecipientAccounts < AdObject + + field :account_id, 'string' + field :account_name, 'string' + field :account_type, 'string' + field :business_id, 'string' + field :business_name, 'string' + field :can_ad_account_use_lookalike_container, 'bool' + field :sharing_agreement_status, 'int' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/audio_asset.rb b/lib/facebook_ads/ad_objects/audio_asset.rb new file mode 100644 index 00000000..35c49935 --- /dev/null +++ b/lib/facebook_ads/ad_objects/audio_asset.rb @@ -0,0 +1,41 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AudioAsset < AdObject + + field :all_ddex_featured_artists, 'string' + field :all_ddex_main_artists, 'string' + field :audio_cluster_id, 'string' + field :cover_image_source, 'string' + field :display_artist, 'string' + field :download_hd_url, 'string' + field :download_sd_url, 'string' + field :duration_in_ms, 'int' + field :freeform_genre, 'string' + field :grid, 'string' + field :id, 'string' + field :is_test, 'bool' + field :original_release_date, 'datetime' + field :owner, 'Page' + field :parental_warning_type, 'string' + field :subtitle, 'string' + field :title, 'string' + field :title_with_featured_artists, 'string' + field :upc, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/audio_copyright.rb b/lib/facebook_ads/ad_objects/audio_copyright.rb index 5176e1e7..fda1ae7d 100644 --- a/lib/facebook_ads/ad_objects/audio_copyright.rb +++ b/lib/facebook_ads/ad_objects/audio_copyright.rb @@ -22,6 +22,7 @@ class AudioCopyright < AdObject field :isrc, 'string' field :match_rule, 'VideoCopyrightRule' field :ownership_countries, { list: 'string' } + field :ownership_details, { list: 'hash' } field :reference_file_status, 'string' field :ridge_monitoring_status, 'string' field :tags, { list: 'string' } @@ -32,7 +33,7 @@ class AudioCopyright < AdObject has_no_delete has_edge :update_records do |edge| - edge.get + edge.get 'MediaCopyrightUpdateRecord' end end diff --git a/lib/facebook_ads/ad_objects/audio_isrc.rb b/lib/facebook_ads/ad_objects/audio_isrc.rb new file mode 100644 index 00000000..78fb1107 --- /dev/null +++ b/lib/facebook_ads/ad_objects/audio_isrc.rb @@ -0,0 +1,31 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AudioIsrc < AdObject + + field :all_kg_featured_artists, 'string' + field :all_kg_main_artists, 'string' + field :artist_profile_picture_url, 'string' + field :id, 'string' + field :isrc, 'string' + field :publishing_rights_data, 'object' + field :top_searchable_artist_id, 'string' + field :top_searchable_artist_name, 'string' + field :top_searchable_artist_profile_pic_url, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/audio_release.rb b/lib/facebook_ads/ad_objects/audio_release.rb new file mode 100644 index 00000000..7bc96d04 --- /dev/null +++ b/lib/facebook_ads/ad_objects/audio_release.rb @@ -0,0 +1,38 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AudioRelease < AdObject + + field :album_title, 'string' + field :asset_availability_status, { list: 'hash' } + field :audio_availability_status, 'string' + field :audio_release_image_uri, 'string' + field :created_time, 'datetime' + field :displayed_artist, 'string' + field :ean, 'string' + field :genre, 'string' + field :grid, 'string' + field :id, 'string' + field :isrc, 'string' + field :label_name, 'string' + field :original_release_date, 'datetime' + field :parental_warning_type, 'string' + field :proprietary_id, 'string' + field :upc, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/audio_visual_reference_match.rb b/lib/facebook_ads/ad_objects/audio_visual_reference_match.rb new file mode 100644 index 00000000..2e6f17dd --- /dev/null +++ b/lib/facebook_ads/ad_objects/audio_visual_reference_match.rb @@ -0,0 +1,54 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AudioVisualReferenceMatch < AdObject + + field :audio_conflicting_segments, { list: 'object' } + field :audio_current_conflict_resolved_segments, { list: 'object' } + field :audio_segment_resolution_history, { list: 'object' } + field :conflict_type, 'string' + field :conflicting_countries, { list: 'string' } + field :country_resolution_history, { list: 'map>' } + field :creation_time, 'datetime' + field :current_conflict_resolved_countries, { list: 'hash' } + field :displayed_match_state, 'string' + field :dispute_form_data_entries_with_translations, { list: 'object' } + field :expiration_time, 'datetime' + field :id, 'string' + field :is_disputable, 'bool' + field :match_state, 'string' + field :matched_overlap_percentage, 'double' + field :matched_owner_match_duration_in_sec, 'double' + field :matched_reference_owner, 'Profile' + field :modification_history, { list: 'object' } + field :num_matches_on_matched_side, 'int' + field :num_matches_on_ref_side, 'int' + field :ref_owner_match_duration_in_sec, 'double' + field :reference_overlap_percentage, 'double' + field :reference_owner, 'Profile' + field :rejection_form_data_entries_with_translations, { list: 'object' } + field :resolution_details, 'string' + field :resolution_reason, 'string' + field :update_time, 'datetime' + field :views_on_matched_side, 'int' + field :visual_conflicting_segments, { list: 'object' } + field :visual_current_conflict_resolved_segments, { list: 'object' } + field :visual_segment_resolution_history, { list: 'object' } + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/auth_link.rb b/lib/facebook_ads/ad_objects/auth_link.rb new file mode 100644 index 00000000..0d8e8e83 --- /dev/null +++ b/lib/facebook_ads/ad_objects/auth_link.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class AuthLink < AdObject + + field :link, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/automotive_model.rb b/lib/facebook_ads/ad_objects/automotive_model.rb index cfec890a..b0f9d11c 100644 --- a/lib/facebook_ads/ad_objects/automotive_model.rb +++ b/lib/facebook_ads/ad_objects/automotive_model.rb @@ -63,7 +63,7 @@ class AutomotiveModel < AdObject has_no_delete has_edge :augmented_realities_metadata do |edge| - edge.get + edge.get 'DynamicArMetadata' end has_edge :channels_to_integrity_status do |edge| diff --git a/lib/facebook_ads/ad_objects/bapi_domain.rb b/lib/facebook_ads/ad_objects/bapi_domain.rb new file mode 100644 index 00000000..38f807f3 --- /dev/null +++ b/lib/facebook_ads/ad_objects/bapi_domain.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BapiDomain < AdObject + + field :domain, 'string' + field :in_cool_down_until, 'int' + field :is_eligible_for_vo, 'bool' + field :is_in_cool_down, 'bool' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/bcp_campaign.rb b/lib/facebook_ads/ad_objects/bcp_campaign.rb new file mode 100644 index 00000000..ac97c3ee --- /dev/null +++ b/lib/facebook_ads/ad_objects/bcp_campaign.rb @@ -0,0 +1,39 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BcpCampaign < AdObject + + field :ads_permission_required, 'bool' + field :application_deadline, 'string' + field :campaign_goal, 'string' + field :campaign_goal_other, 'string' + field :content_delivery_deadline, 'string' + field :content_delivery_start_date, 'string' + field :content_requirements, { list: 'map' } + field :content_requirements_description, 'string' + field :currency, 'string' + field :deal_negotiation_type, 'string' + field :description, 'string' + field :has_free_product, 'bool' + field :id, 'string' + field :name, 'string' + field :payment_amount_for_ads, 'int' + field :payment_amount_for_content, 'int' + field :payment_description, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/bcp_creator_ig_user.rb b/lib/facebook_ads/ad_objects/bcp_creator_ig_user.rb new file mode 100644 index 00000000..503b43d3 --- /dev/null +++ b/lib/facebook_ads/ad_objects/bcp_creator_ig_user.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BcpCreatorIgUser < AdObject + + field :email, 'string' + field :id, 'string' + field :is_paid_partnership_messages_enabled, 'bool' + field :messaging_id, 'string' + field :portfolio_url, 'string' + field :username, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/bespoke_partner_guidance_laser.rb b/lib/facebook_ads/ad_objects/bespoke_partner_guidance_laser.rb new file mode 100644 index 00000000..5b9637a9 --- /dev/null +++ b/lib/facebook_ads/ad_objects/bespoke_partner_guidance_laser.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BespokePartnerGuidanceLaser < AdObject + + field :business, 'Business' + field :campaign_group, 'Campaign' + field :cpa_improvement, 'double' + field :guidance_type, 'string' + field :id, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/bid_schedule.rb b/lib/facebook_ads/ad_objects/bid_schedule.rb new file mode 100644 index 00000000..ad4e4038 --- /dev/null +++ b/lib/facebook_ads/ad_objects/bid_schedule.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BidSchedule < AdObject + + field :ad_object_id, 'string' + field :bid_recurrence_type, 'string' + field :bid_timezone, 'string' + field :bid_value, 'int' + field :id, 'string' + field :status, 'string' + field :time_end, 'datetime' + field :time_start, 'datetime' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/biz_inbox_offsite_email_account.rb b/lib/facebook_ads/ad_objects/biz_inbox_offsite_email_account.rb new file mode 100644 index 00000000..8622481a --- /dev/null +++ b/lib/facebook_ads/ad_objects/biz_inbox_offsite_email_account.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BizInboxOffsiteEmailAccount < AdObject + + field :email_address, 'string' + field :id, 'string' + has_no_post + has_no_delete + + has_edge :assigned_users do |edge| + edge.get 'AssignedUser' + end + + end +end diff --git a/lib/facebook_ads/ad_objects/blind_pig.rb b/lib/facebook_ads/ad_objects/blind_pig.rb new file mode 100644 index 00000000..522b6b6b --- /dev/null +++ b/lib/facebook_ads/ad_objects/blind_pig.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BlindPig < AdObject + + field :id, 'string' + field :name, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/blocked_user_info.rb b/lib/facebook_ads/ad_objects/blocked_user_info.rb new file mode 100644 index 00000000..95f0b0c1 --- /dev/null +++ b/lib/facebook_ads/ad_objects/blocked_user_info.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BlockedUserInfo < AdObject + + field :block_time, 'datetime' + field :block_type, 'string' + field :fbid, 'string' + field :name, 'string' + field :username, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/brand_safety_downloadable.rb b/lib/facebook_ads/ad_objects/brand_safety_downloadable.rb new file mode 100644 index 00000000..c188196f --- /dev/null +++ b/lib/facebook_ads/ad_objects/brand_safety_downloadable.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BrandSafetyDownloadable < AdObject + + field :account_context_id, 'string' + field :async_job_percent_complete, 'int' + field :async_job_status, 'string' + field :file_name, 'string' + field :id, 'string' + field :request_surface, 'string' + field :url, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/branded_content_ad_error.rb b/lib/facebook_ads/ad_objects/branded_content_ad_error.rb new file mode 100644 index 00000000..ec863329 --- /dev/null +++ b/lib/facebook_ads/ad_objects/branded_content_ad_error.rb @@ -0,0 +1,31 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BrandedContentAdError < AdObject + + field :blame_field_spec, { list: 'string' } + field :error_code, 'int' + field :error_description, 'string' + field :error_message, 'string' + field :error_placement, 'string' + field :error_severity, 'string' + field :help_center_id, 'int' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/branded_content_eligible_sponsor_i_ds.rb b/lib/facebook_ads/ad_objects/branded_content_eligible_sponsor_i_ds.rb new file mode 100644 index 00000000..e01f0244 --- /dev/null +++ b/lib/facebook_ads/ad_objects/branded_content_eligible_sponsor_i_ds.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BrandedContentEligibleSponsorIDs < AdObject + + field :fb_page, 'Page' + field :ig_account_v2, 'IgUser' + field :ig_approval_needed, 'bool' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/branded_content_shadow_ig_media_id.rb b/lib/facebook_ads/ad_objects/branded_content_shadow_ig_media_id.rb index b95e8b27..0e9f2ea0 100644 --- a/lib/facebook_ads/ad_objects/branded_content_shadow_ig_media_id.rb +++ b/lib/facebook_ads/ad_objects/branded_content_shadow_ig_media_id.rb @@ -16,6 +16,7 @@ module FacebookAds class BrandedContentShadowIgMediaId < AdObject field :eligibility_errors, { list: 'string' } + field :has_permission_for_partnership_ad, 'bool' field :id, 'string' field :owner_id, 'string' field :permalink, 'string' diff --git a/lib/facebook_ads/ad_objects/business.rb b/lib/facebook_ads/ad_objects/business.rb index 4df4681d..6ce8b7f6 100644 --- a/lib/facebook_ads/ad_objects/business.rb +++ b/lib/facebook_ads/ad_objects/business.rb @@ -81,6 +81,490 @@ class Business < AdObject "PUBLISHER", ] + TIMEZONE_ID = [ + "0", + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + "10", + "11", + "12", + "13", + "14", + "15", + "16", + "17", + "18", + "19", + "20", + "21", + "22", + "23", + "24", + "25", + "26", + "27", + "28", + "29", + "30", + "31", + "32", + "33", + "34", + "35", + "36", + "37", + "38", + "39", + "40", + "41", + "42", + "43", + "44", + "45", + "46", + "47", + "48", + "49", + "50", + "51", + "52", + "53", + "54", + "55", + "56", + "57", + "58", + "59", + "60", + "61", + "62", + "63", + "64", + "65", + "66", + "67", + "68", + "69", + "70", + "71", + "72", + "73", + "74", + "75", + "76", + "77", + "78", + "79", + "80", + "81", + "82", + "83", + "84", + "85", + "86", + "87", + "88", + "89", + "90", + "91", + "92", + "93", + "94", + "95", + "96", + "97", + "98", + "99", + "100", + "101", + "102", + "103", + "104", + "105", + "106", + "107", + "108", + "109", + "110", + "111", + "112", + "113", + "114", + "115", + "116", + "117", + "118", + "119", + "120", + "121", + "122", + "123", + "124", + "125", + "126", + "127", + "128", + "129", + "130", + "131", + "132", + "133", + "134", + "135", + "136", + "137", + "138", + "139", + "140", + "141", + "142", + "143", + "144", + "145", + "146", + "147", + "148", + "149", + "150", + "151", + "152", + "153", + "154", + "155", + "156", + "157", + "158", + "159", + "160", + "161", + "162", + "163", + "164", + "165", + "166", + "167", + "168", + "169", + "170", + "171", + "172", + "173", + "174", + "175", + "176", + "177", + "178", + "179", + "180", + "181", + "182", + "183", + "184", + "185", + "186", + "187", + "188", + "189", + "190", + "191", + "192", + "193", + "194", + "195", + "196", + "197", + "198", + "199", + "200", + "201", + "202", + "203", + "204", + "205", + "206", + "207", + "208", + "209", + "210", + "211", + "212", + "213", + "214", + "215", + "216", + "217", + "218", + "219", + "220", + "221", + "222", + "223", + "224", + "225", + "226", + "227", + "228", + "229", + "230", + "231", + "232", + "233", + "234", + "235", + "236", + "237", + "238", + "239", + "240", + "241", + "242", + "243", + "244", + "245", + "246", + "247", + "248", + "249", + "250", + "251", + "252", + "253", + "254", + "255", + "256", + "257", + "258", + "259", + "260", + "261", + "262", + "263", + "264", + "265", + "266", + "267", + "268", + "269", + "270", + "271", + "272", + "273", + "274", + "275", + "276", + "277", + "278", + "279", + "280", + "281", + "282", + "283", + "284", + "285", + "286", + "287", + "288", + "289", + "290", + "291", + "292", + "293", + "294", + "295", + "296", + "297", + "298", + "299", + "300", + "301", + "302", + "303", + "304", + "305", + "306", + "307", + "308", + "309", + "310", + "311", + "312", + "313", + "314", + "315", + "316", + "317", + "318", + "319", + "320", + "321", + "322", + "323", + "324", + "325", + "326", + "327", + "328", + "329", + "330", + "331", + "332", + "333", + "334", + "335", + "336", + "337", + "338", + "339", + "340", + "341", + "342", + "343", + "344", + "345", + "346", + "347", + "348", + "349", + "350", + "351", + "352", + "353", + "354", + "355", + "356", + "357", + "358", + "359", + "360", + "361", + "362", + "363", + "364", + "365", + "366", + "367", + "368", + "369", + "370", + "371", + "372", + "373", + "374", + "375", + "376", + "377", + "378", + "379", + "380", + "381", + "382", + "383", + "384", + "385", + "386", + "387", + "388", + "389", + "390", + "391", + "392", + "393", + "394", + "395", + "396", + "397", + "398", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "406", + "407", + "408", + "409", + "410", + "411", + "412", + "413", + "414", + "415", + "416", + "417", + "418", + "419", + "420", + "421", + "422", + "423", + "424", + "425", + "426", + "427", + "428", + "429", + "430", + "431", + "432", + "433", + "434", + "435", + "436", + "437", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "446", + "447", + "448", + "449", + "450", + "451", + "452", + "453", + "454", + "455", + "456", + "457", + "458", + "459", + "460", + "461", + "462", + "463", + "464", + "465", + "466", + "467", + "468", + "469", + "470", + "471", + "472", + "473", + "474", + "475", + "476", + "477", + "478", + "479", + "480", + ] + PAGE_PERMITTED_TASKS = [ "ADVERTISE", "ANALYZE", @@ -434,13 +918,13 @@ class Business < AdObject end has_edge :ads_reporting_mmm_reports do |edge| - edge.get do |api| + edge.get 'AdsReportBuilderMmmReport' do |api| api.has_param :filtering, { list: 'hash' } end end has_edge :ads_reporting_mmm_schedulers do |edge| - edge.get + edge.get 'AdsReportBuilderMmmReportScheduler' end has_edge :adspixels do |edge| @@ -497,7 +981,7 @@ class Business < AdObject end has_edge :businessprojects do |edge| - edge.get + edge.get 'BusinessProject' end has_edge :claim_custom_conversions do |edge| @@ -520,7 +1004,7 @@ class Business < AdObject end has_edge :client_offsite_signal_container_business_objects do |edge| - edge.get + edge.get 'OffsiteSignalContainerBusinessObject' end has_edge :client_pages do |edge| @@ -602,6 +1086,7 @@ class Business < AdObject has_edge :customconversions do |edge| edge.post 'CustomConversion' do |api| + api.has_param :action_source_type, { enum: -> { CustomConversion::ACTION_SOURCE_TYPE }} api.has_param :advanced_rule, 'string' api.has_param :custom_event_type, { enum: -> { CustomConversion::CUSTOM_EVENT_TYPE }} api.has_param :default_conversion_value, 'double' @@ -627,7 +1112,7 @@ class Business < AdObject end has_edge :extendedcreditapplications do |edge| - edge.get do |api| + edge.get 'ExtendedCreditApplication' do |api| api.has_param :only_show_pending, 'bool' end end @@ -678,7 +1163,7 @@ class Business < AdObject api.has_param :survey_business_type, { enum: -> { Business::SURVEY_BUSINESS_TYPE }} api.has_param :survey_num_assets, 'int' api.has_param :survey_num_people, 'int' - api.has_param :timezone_id, 'int' + api.has_param :timezone_id, { enum: -> { Business::TIMEZONE_ID }} api.has_param :vertical, { enum: -> { Business::VERTICAL }} end end @@ -720,36 +1205,25 @@ class Business < AdObject api.has_param :survey_business_type, { enum: %w{ADVERTISER AGENCY APP_DEVELOPER PUBLISHER }} api.has_param :survey_num_assets, 'int' api.has_param :survey_num_people, 'int' - api.has_param :timezone_id, 'int' + api.has_param :timezone_id, { enum: %w{0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 }} api.has_param :vertical, { enum: %w{ADVERTISING AUTOMOTIVE CONSUMER_PACKAGED_GOODS ECOMMERCE EDUCATION ENERGY_AND_UTILITIES ENTERTAINMENT_AND_MEDIA FINANCIAL_SERVICES GAMING GOVERNMENT_AND_POLITICS HEALTH LUXURY MARKETING NON_PROFIT NOT_SET ORGANIZATIONS_AND_ASSOCIATIONS OTHER PROFESSIONAL_SERVICES RESTAURANT RETAIL TECHNOLOGY TELECOM TRAVEL }} end end has_edge :negative_keyword_lists do |edge| - edge.get - end - - has_edge :offline_conversion_data_sets do |edge| - edge.get 'OfflineConversionDataSet' - edge.post 'OfflineConversionDataSet' do |api| - api.has_param :auto_assign_to_new_accounts_only, 'bool' - api.has_param :description, 'string' - api.has_param :enable_auto_assign_to_accounts, 'bool' - api.has_param :is_mta_use, 'bool' - api.has_param :name, 'string' - end + edge.get 'NegativeKeywordList' end has_edge :openbridge_configurations do |edge| edge.get 'OpenBridgeConfiguration' edge.post 'OpenBridgeConfiguration' do |api| - api.has_param :access_key, 'string' api.has_param :active, 'bool' api.has_param :endpoint, 'string' api.has_param :fallback_domain, 'string' api.has_param :fallback_domain_enabled, 'bool' api.has_param :host_business_id, 'int' api.has_param :host_external_id, 'string' + api.has_param :instance_id, 'string' api.has_param :pixel_id, 'int' end end @@ -784,10 +1258,11 @@ class Business < AdObject api.has_param :page_permitted_tasks, { list: { enum: -> { Business::PAGE_PERMITTED_TASKS }} } api.has_param :sales_rep_email, 'string' api.has_param :shared_page_id, 'string' + api.has_param :should_generate_name, 'bool' api.has_param :survey_business_type, { enum: -> { Business::SURVEY_BUSINESS_TYPE }} api.has_param :survey_num_assets, 'int' api.has_param :survey_num_people, 'int' - api.has_param :timezone_id, 'int' + api.has_param :timezone_id, { enum: -> { Business::TIMEZONE_ID }} api.has_param :vertical, { enum: -> { Business::VERTICAL }} end end @@ -797,7 +1272,7 @@ class Business < AdObject end has_edge :owned_offsite_signal_container_business_objects do |edge| - edge.get + edge.get 'OffsiteSignalContainerBusinessObject' end has_edge :owned_pages do |edge| @@ -841,7 +1316,7 @@ class Business < AdObject end has_edge :partner_account_linking do |edge| - edge.get + edge.get 'PartnerAccountLinking' end has_edge :partner_premium_options do |edge| @@ -876,7 +1351,7 @@ class Business < AdObject end has_edge :pending_shared_offsite_signal_container_business_objects do |edge| - edge.get + edge.get 'OffsiteSignalContainerBusinessObject' end has_edge :pending_users do |edge| @@ -912,6 +1387,10 @@ class Business < AdObject end end + has_edge :reseller_guidances do |edge| + edge.get 'ResellerGuidance' + end + has_edge :self_certified_whatsapp_business_submissions do |edge| edge.get 'WhatsAppBusinessPartnerClientVerificationSubmission' do |api| api.has_param :end_business_id, 'string' @@ -959,13 +1438,12 @@ class Business < AdObject end has_edge :third_party_measurement_report_dataset do |edge| - edge.get + edge.get 'ThirdPartyMeasurementReportDataset' end has_edge :videos do |edge| edge.post 'AdVideo' do |api| api.has_param :ad_placements_validation_only, 'bool' - api.has_param :adaptive_type, 'string' api.has_param :animated_effect_id, 'int' api.has_param :application_id, 'string' api.has_param :asked_fun_fact_prompt_id, 'int' @@ -1013,7 +1491,6 @@ class Business < AdObject api.has_param :original_fov, 'int' api.has_param :original_projection_type, { enum: -> { AdVideo::ORIGINAL_PROJECTION_TYPE }} api.has_param :publish_event_id, 'int' - api.has_param :react_mode_metadata, 'string' api.has_param :referenced_sticker_id, 'string' api.has_param :replace_video_id, 'string' api.has_param :slideshow_spec, 'hash' diff --git a/lib/facebook_ads/ad_objects/business_ads_reporting_report_specs.rb b/lib/facebook_ads/ad_objects/business_ads_reporting_report_specs.rb new file mode 100644 index 00000000..735e60bd --- /dev/null +++ b/lib/facebook_ads/ad_objects/business_ads_reporting_report_specs.rb @@ -0,0 +1,62 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BusinessAdsReportingReportSpecs < AdObject + + field :action_report_time, 'string' + field :ad_account_id, 'string' + field :ad_account_ids, { list: 'string' } + field :ad_accounts, { list: 'object' } + field :attribution_windows, { list: 'string' } + field :business, 'Business' + field :business_asset_group, 'BusinessAssetGroup' + field :comparison_date_interval, 'object' + field :creation_source, 'string' + field :creation_time, 'datetime' + field :currency, 'string' + field :date_preset, 'string' + field :default_attribution_windows, { list: 'string' } + field :filtering, { list: 'object' } + field :formatting, { list: 'map>' } + field :id, 'string' + field :last_access_by, 'Profile' + field :last_access_time, 'datetime' + field :last_report_snapshot_id, 'string' + field :last_report_snapshot_time, 'datetime' + field :last_shared_report_expiration, 'datetime' + field :limit, 'int' + field :locked_dimensions, 'int' + field :report_name, 'string' + field :report_snapshot_async_percent_completion, 'int' + field :report_snapshot_async_status, 'string' + field :schedule_frequency, 'string' + field :scope, 'string' + field :show_deprecate_aw_banner, 'bool' + field :sorting, { list: 'object' } + field :start_date, 'string' + field :status, 'string' + field :subscribers, { list: 'string' } + field :update_by, 'Profile' + field :update_time, 'datetime' + field :user, 'Profile' + field :user_dimensions, { list: 'string' } + field :user_metrics, { list: 'string' } + field :view_type, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/business_advertisable_applications_result.rb b/lib/facebook_ads/ad_objects/business_advertisable_applications_result.rb new file mode 100644 index 00000000..758d9f6e --- /dev/null +++ b/lib/facebook_ads/ad_objects/business_advertisable_applications_result.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BusinessAdvertisableApplicationsResult < AdObject + + field :are_app_events_unavailable, 'bool' + field :business, 'Business' + field :has_insight_permission, 'bool' + field :id, 'string' + field :name, 'string' + field :photo_url, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/business_agreement.rb b/lib/facebook_ads/ad_objects/business_agreement.rb new file mode 100644 index 00000000..19de986a --- /dev/null +++ b/lib/facebook_ads/ad_objects/business_agreement.rb @@ -0,0 +1,33 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BusinessAgreement < AdObject + REQUEST_STATUS = [ + "APPROVE", + "DECLINE", + "EXPIRED", + "IN_PROGRESS", + "PENDING", + "PENDING_EMAIL_VERIFICATION", + "PENDING_INTEGRITY_REVIEW", + ] + + + field :id, 'string' + field :request_status, 'string' + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/business_asset_group.rb b/lib/facebook_ads/ad_objects/business_asset_group.rb index 57a35ff3..7709f7f2 100644 --- a/lib/facebook_ads/ad_objects/business_asset_group.rb +++ b/lib/facebook_ads/ad_objects/business_asset_group.rb @@ -128,16 +128,6 @@ class BusinessAssetGroup < AdObject end end - has_edge :contained_offline_conversion_data_sets do |edge| - edge.delete do |api| - api.has_param :asset_id, 'string' - end - edge.get 'OfflineConversionDataSet' - edge.post 'BusinessAssetGroup' do |api| - api.has_param :asset_id, 'string' - end - end - has_edge :contained_pages do |edge| edge.delete do |api| api.has_param :asset_id, 'string' diff --git a/lib/facebook_ads/ad_objects/business_creative.rb b/lib/facebook_ads/ad_objects/business_creative.rb new file mode 100644 index 00000000..a9577220 --- /dev/null +++ b/lib/facebook_ads/ad_objects/business_creative.rb @@ -0,0 +1,34 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BusinessCreative < AdObject + + field :creation_time, 'datetime' + field :duration, 'int' + field :hash, 'string' + field :height, 'int' + field :id, 'string' + field :name, 'string' + field :thumbnail, 'string' + field :type, 'string' + field :url, 'string' + field :video_id, 'string' + field :width, 'int' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/business_creative_insights.rb b/lib/facebook_ads/ad_objects/business_creative_insights.rb new file mode 100644 index 00000000..8954787f --- /dev/null +++ b/lib/facebook_ads/ad_objects/business_creative_insights.rb @@ -0,0 +1,40 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BusinessCreativeInsights < AdObject + + field :actions, { list: 'AdsActionStats' } + field :age, 'string' + field :country, 'string' + field :date_end, 'string' + field :date_start, 'string' + field :device_platform, 'string' + field :gender, 'string' + field :impressions, 'int' + field :inline_link_clicks, 'int' + field :objective, 'string' + field :optimization_goal, 'string' + field :platform_position, 'string' + field :publisher_platform, 'string' + field :quality_ranking, 'string' + field :video_play_actions, { list: 'AdsActionStats' } + field :video_thruplay_watched_actions, { list: 'AdsActionStats' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/business_franchise_config.rb b/lib/facebook_ads/ad_objects/business_franchise_config.rb new file mode 100644 index 00000000..8e2e7cab --- /dev/null +++ b/lib/facebook_ads/ad_objects/business_franchise_config.rb @@ -0,0 +1,35 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BusinessFranchiseConfig < AdObject + + field :active_partner_count, 'int' + field :agency_business, 'Business' + field :agency_business_asset_group, 'BusinessAssetGroup' + field :brand_name, 'string' + field :business, 'Business' + field :business_vertical, 'string' + field :id, 'string' + field :partner_count, 'int' + field :pending_agency_business, 'string' + field :program_count, 'int' + field :shared_business_asset_group, 'BusinessAssetGroup' + field :shared_creative_folder_count, 'int' + field :shared_custom_audience_count, 'int' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/business_image_t_business_folder_path_item.rb b/lib/facebook_ads/ad_objects/business_image_t_business_folder_path_item.rb new file mode 100644 index 00000000..95edb472 --- /dev/null +++ b/lib/facebook_ads/ad_objects/business_image_t_business_folder_path_item.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BusinessImageTBusinessFolderPathItem < AdObject + + field :id, 'string' + field :parent_folder_id, 'string' + field :type, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/business_media_ad_placement_validation_result.rb b/lib/facebook_ads/ad_objects/business_media_ad_placement_validation_result.rb new file mode 100644 index 00000000..3b21704e --- /dev/null +++ b/lib/facebook_ads/ad_objects/business_media_ad_placement_validation_result.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BusinessMediaAdPlacementValidationResult < AdObject + + field :ad_placement, 'string' + field :ad_placement_label, 'string' + field :error_messages, { list: 'string' } + field :is_valid, 'bool' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/business_object.rb b/lib/facebook_ads/ad_objects/business_object.rb new file mode 100644 index 00000000..31101883 --- /dev/null +++ b/lib/facebook_ads/ad_objects/business_object.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BusinessObject < AdObject + + field :asset, 'object' + field :asset_type, 'string' + field :id, 'string' + field :name, 'string' + field :picture, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/business_object_transfer_ownership_agreement.rb b/lib/facebook_ads/ad_objects/business_object_transfer_ownership_agreement.rb new file mode 100644 index 00000000..b770c167 --- /dev/null +++ b/lib/facebook_ads/ad_objects/business_object_transfer_ownership_agreement.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BusinessObjectTransferOwnershipAgreement < AdObject + + field :id, 'string' + field :receiving_business, 'Business' + field :requesting_business, 'Business' + field :status, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/business_product_catalog_tos.rb b/lib/facebook_ads/ad_objects/business_product_catalog_tos.rb new file mode 100644 index 00000000..e94cc005 --- /dev/null +++ b/lib/facebook_ads/ad_objects/business_product_catalog_tos.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BusinessProductCatalogTos < AdObject + + field :accepted, 'bool' + field :content, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/business_project.rb b/lib/facebook_ads/ad_objects/business_project.rb new file mode 100644 index 00000000..30e6ca0f --- /dev/null +++ b/lib/facebook_ads/ad_objects/business_project.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BusinessProject < AdObject + + field :business, 'Business' + field :created_time, 'datetime' + field :creator, 'object' + field :id, 'string' + field :name, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/business_request.rb b/lib/facebook_ads/ad_objects/business_request.rb new file mode 100644 index 00000000..7d92316e --- /dev/null +++ b/lib/facebook_ads/ad_objects/business_request.rb @@ -0,0 +1,31 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BusinessRequest < AdObject + + field :accessor, 'Business' + field :creation_time, 'datetime' + field :id, 'string' + field :object_id, 'string' + field :object_type, 'string' + field :permitted_tasks, { list: 'string' } + field :request_status, 'string' + field :request_type, 'string' + field :requestor, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/business_setting_logs_data.rb b/lib/facebook_ads/ad_objects/business_setting_logs_data.rb new file mode 100644 index 00000000..1d41bdba --- /dev/null +++ b/lib/facebook_ads/ad_objects/business_setting_logs_data.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BusinessSettingLogsData < AdObject + + field :actor, 'object' + field :event_object, 'object' + field :event_time, 'string' + field :event_type, 'string' + field :extra_data, 'object' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/business_tag.rb b/lib/facebook_ads/ad_objects/business_tag.rb new file mode 100644 index 00000000..846a003f --- /dev/null +++ b/lib/facebook_ads/ad_objects/business_tag.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BusinessTag < AdObject + + field :id, 'string' + field :name, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/business_traffic_analysis_report.rb b/lib/facebook_ads/ad_objects/business_traffic_analysis_report.rb new file mode 100644 index 00000000..53d9a3be --- /dev/null +++ b/lib/facebook_ads/ad_objects/business_traffic_analysis_report.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BusinessTrafficAnalysisReport < AdObject + + field :audience_location, { list: 'object' } + field :event_category, { list: 'object' } + field :traffic_analysis_impressions, { list: 'object' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/business_video_t_business_folder_path_item.rb b/lib/facebook_ads/ad_objects/business_video_t_business_folder_path_item.rb new file mode 100644 index 00000000..83736e22 --- /dev/null +++ b/lib/facebook_ads/ad_objects/business_video_t_business_folder_path_item.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class BusinessVideoTBusinessFolderPathItem < AdObject + + field :id, 'string' + field :parent_folder_id, 'string' + field :type, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/calibrator_existing_rule.rb b/lib/facebook_ads/ad_objects/calibrator_existing_rule.rb new file mode 100644 index 00000000..c89fda55 --- /dev/null +++ b/lib/facebook_ads/ad_objects/calibrator_existing_rule.rb @@ -0,0 +1,33 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CalibratorExistingRule < AdObject + + field :_7d_volume, 'int' + field :creation_source, 'string' + field :creation_time, 'datetime' + field :creator, 'string' + field :event_type, 'string' + field :id, 'string' + field :rule, 'string' + field :rule_type, 'string' + field :sample_urls, { list: 'string' } + field :status, 'string' + field :transforms, { list: 'string' } + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/call_ads_phone_data.rb b/lib/facebook_ads/ad_objects/call_ads_phone_data.rb new file mode 100644 index 00000000..912be4ce --- /dev/null +++ b/lib/facebook_ads/ad_objects/call_ads_phone_data.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CallAdsPhoneData < AdObject + + field :call_ads_phone_data_use_case, 'string' + field :callback_variant, 'string' + field :destination_website_url, 'string' + field :id, 'string' + field :page, 'Page' + field :phone_number, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/campaign_actions_data.rb b/lib/facebook_ads/ad_objects/campaign_actions_data.rb new file mode 100644 index 00000000..7d1caa0e --- /dev/null +++ b/lib/facebook_ads/ad_objects/campaign_actions_data.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CampaignActionsData < AdObject + + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/canvas.rb b/lib/facebook_ads/ad_objects/canvas.rb index ea2fdba3..61c843c2 100644 --- a/lib/facebook_ads/ad_objects/canvas.rb +++ b/lib/facebook_ads/ad_objects/canvas.rb @@ -34,7 +34,7 @@ class Canvas < AdObject field :name, 'string' field :owner, 'Page' field :property_list, { list: 'string' } - field :source_template, 'object' + field :source_template, 'CanvasTemplate' field :store_url, 'string' field :style_list, { list: 'string' } field :tags, { list: 'string' } diff --git a/lib/facebook_ads/ad_objects/canvas_template.rb b/lib/facebook_ads/ad_objects/canvas_template.rb new file mode 100644 index 00000000..b6a61ad6 --- /dev/null +++ b/lib/facebook_ads/ad_objects/canvas_template.rb @@ -0,0 +1,36 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CanvasTemplate < AdObject + + field :channels, { list: 'map>>' } + field :description, 'string' + field :document, 'Canvas' + field :id, 'string' + field :is_multi_tab_supportable, 'bool' + field :is_new, 'bool' + field :name, 'string' + field :objectives, { list: 'hash' } + field :owner_id, 'User' + field :required_capabilities, { list: 'string' } + field :snapshot_photo, 'Photo' + field :status, 'string' + field :sub_verticals, { list: 'string' } + field :verticals, { list: 'hash' } + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/cass_setup_offline_event_set_progress.rb b/lib/facebook_ads/ad_objects/cass_setup_offline_event_set_progress.rb new file mode 100644 index 00000000..aee8e5a1 --- /dev/null +++ b/lib/facebook_ads/ad_objects/cass_setup_offline_event_set_progress.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CassSetupOfflineEventSetProgress < AdObject + + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/catalog_item_override.rb b/lib/facebook_ads/ad_objects/catalog_item_override.rb new file mode 100644 index 00000000..f12c08af --- /dev/null +++ b/lib/facebook_ads/ad_objects/catalog_item_override.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CatalogItemOverride < AdObject + + field :id, 'string' + field :local_info, 'ProductItemLocalInfo' + field :override_type, 'string' + field :override_value, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/catalog_item_rejection_reasons.rb b/lib/facebook_ads/ad_objects/catalog_item_rejection_reasons.rb new file mode 100644 index 00000000..d4cde426 --- /dev/null +++ b/lib/facebook_ads/ad_objects/catalog_item_rejection_reasons.rb @@ -0,0 +1,34 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CatalogItemRejectionReasons < AdObject + CAPABILITY = [ + "business_inbox_in_messenger", + "shops", + "test_capability", + "universal_checkout", + "us_marketplace", + ] + + + field :capability, { enum: -> { CAPABILITY }} + field :rejection_information, { list: 'object' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/catalog_item_validation_error_list.rb b/lib/facebook_ads/ad_objects/catalog_item_validation_error_list.rb new file mode 100644 index 00000000..470b91ec --- /dev/null +++ b/lib/facebook_ads/ad_objects/catalog_item_validation_error_list.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CatalogItemValidationErrorList < AdObject + + field :errors, { list: 'object' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/catalog_smart_pixel_settings.rb b/lib/facebook_ads/ad_objects/catalog_smart_pixel_settings.rb new file mode 100644 index 00000000..647acb08 --- /dev/null +++ b/lib/facebook_ads/ad_objects/catalog_smart_pixel_settings.rb @@ -0,0 +1,41 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CatalogSmartPixelSettings < AdObject + + field :allowed_domains, { list: 'string' } + field :available_property_filters, { list: 'string' } + field :catalog, 'ProductCatalog' + field :cbb_custom_override_filters, { list: 'object' } + field :cbb_default_filter, { list: 'map>' } + field :cbb_default_filter_crawl_params, 'string' + field :cbb_override_type_field_mapping, { list: 'map>' } + field :defaults, { list: 'hash' } + field :filters, { list: 'map>' } + field :id, 'string' + field :is_cbb_enabled, 'bool' + field :is_create_enabled, 'bool' + field :is_delete_enabled, 'bool' + field :is_update_enabled, 'bool' + field :microdata_format_precedence, { list: 'string' } + field :pixel, 'AdsPixel' + field :property_filter, { list: 'string' } + field :retention_time_sec, 'int' + field :trusted_domains, { list: 'string' } + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/catalog_website_onboarding_settings.rb b/lib/facebook_ads/ad_objects/catalog_website_onboarding_settings.rb new file mode 100644 index 00000000..52d2cac8 --- /dev/null +++ b/lib/facebook_ads/ad_objects/catalog_website_onboarding_settings.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CatalogWebsiteOnboardingSettings < AdObject + + field :id, 'string' + field :status, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/catalog_website_settings.rb b/lib/facebook_ads/ad_objects/catalog_website_settings.rb new file mode 100644 index 00000000..019e15bb --- /dev/null +++ b/lib/facebook_ads/ad_objects/catalog_website_settings.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CatalogWebsiteSettings < AdObject + + field :id, 'string' + field :is_allowed_to_crawl, 'bool' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/china_business_onboarding_vetting_request.rb b/lib/facebook_ads/ad_objects/china_business_onboarding_vetting_request.rb new file mode 100644 index 00000000..d483c5b5 --- /dev/null +++ b/lib/facebook_ads/ad_objects/china_business_onboarding_vetting_request.rb @@ -0,0 +1,64 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ChinaBusinessOnboardingVettingRequest < AdObject + + field :ad_account_creation_request_status, 'string' + field :ad_account_limit, 'int' + field :ad_account_number, 'string' + field :ad_accounts_info, { list: 'object' } + field :business_manager_id, 'string' + field :business_registration, 'string' + field :business_registration_id, 'string' + field :chinese_address, 'string' + field :chinese_legal_entity_name, 'string' + field :city, 'string' + field :contact, 'string' + field :coupon_code, 'string' + field :disapprove_reason, 'string' + field :english_business_name, 'string' + field :id, 'string' + field :official_website_url, 'string' + field :org_ad_account_count, 'int' + field :payment_type, 'string' + field :planning_agency_id, 'string' + field :planning_agency_name, 'string' + field :promotable_app_ids, { list: 'string' } + field :promotable_page_ids, { list: 'string' } + field :promotable_pages, { list: 'object' } + field :promotable_urls, { list: 'string' } + field :request_changes_reason, 'string' + field :reviewed_user, 'string' + field :spend_limit, 'int' + field :status, 'string' + field :subvertical, 'string' + field :subvertical_v2, 'string' + field :supporting_document, 'string' + field :time_changes_requested, 'datetime' + field :time_created, 'datetime' + field :time_updated, 'datetime' + field :time_zone, 'string' + field :used_reseller_link, 'bool' + field :user_id, 'string' + field :user_name, 'string' + field :vertical, 'string' + field :vertical_v2, 'string' + field :viewed_by_reseller, 'bool' + field :zip_code, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/cloudbridge_dataset_status.rb b/lib/facebook_ads/ad_objects/cloudbridge_dataset_status.rb new file mode 100644 index 00000000..c582b8c1 --- /dev/null +++ b/lib/facebook_ads/ad_objects/cloudbridge_dataset_status.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CloudbridgeDatasetStatus < AdObject + + field :app_redacted_event, { list: 'string' } + field :app_sensitive_params, { list: 'map>' } + field :app_unverified_event, { list: 'string' } + field :has_app_associated, 'bool' + field :is_app_prohibited, 'bool' + field :is_dataset, 'bool' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/collaborative_ads_partner_businesses.rb b/lib/facebook_ads/ad_objects/collaborative_ads_partner_businesses.rb new file mode 100644 index 00000000..30bde504 --- /dev/null +++ b/lib/facebook_ads/ad_objects/collaborative_ads_partner_businesses.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CollaborativeAdsPartnerBusinesses < AdObject + + field :collaborative_ads_partner_businesses_info, { list: 'Business' } + field :dedicated_partner_business_info, 'Business' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/column_suggestions.rb b/lib/facebook_ads/ad_objects/column_suggestions.rb new file mode 100644 index 00000000..150a682d --- /dev/null +++ b/lib/facebook_ads/ad_objects/column_suggestions.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ColumnSuggestions < AdObject + + field :explanations, 'object' + field :format, { list: 'string' } + field :objective, { list: 'string' } + field :optimization_goals, { list: 'string' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/comment.rb b/lib/facebook_ads/ad_objects/comment.rb index 08fdff4b..76bda51d 100644 --- a/lib/facebook_ads/ad_objects/comment.rb +++ b/lib/facebook_ads/ad_objects/comment.rb @@ -14,6 +14,11 @@ module FacebookAds # pull request for this class. class Comment < AdObject + ORDER = [ + "chronological", + "reverse_chronological", + ] + COMMENT_PRIVACY_VALUE = [ "DECLINED_BY_ADMIN_ASSISTANT", "DEFAULT_PRIVACY", @@ -38,11 +43,6 @@ class Comment < AdObject "no_filter", ] - ORDER = [ - "chronological", - "reverse_chronological", - ] - field :admin_creator, 'User' field :application, 'Application' diff --git a/lib/facebook_ads/ad_objects/commerce_merchant_settings.rb b/lib/facebook_ads/ad_objects/commerce_merchant_settings.rb index ca56f97e..5231c7e7 100644 --- a/lib/facebook_ads/ad_objects/commerce_merchant_settings.rb +++ b/lib/facebook_ads/ad_objects/commerce_merchant_settings.rb @@ -15,30 +15,20 @@ module FacebookAds class CommerceMerchantSettings < AdObject - field :braintree_merchant_id, 'string' field :checkout_message, 'string' field :contact_email, 'string' field :cta, 'string' - field :disable_checkout_urls, 'bool' field :display_name, 'string' - field :external_merchant_id, 'string' field :facebook_channel, 'object' - field :feature_eligibility, 'object' - field :has_discount_code, 'bool' - field :has_onsite_intent, 'bool' field :id, 'string' field :instagram_channel, 'object' - field :merchant_alert_email, 'string' field :merchant_page, 'Profile' field :merchant_status, 'string' field :onsite_commerce_merchant, 'object' field :payment_provider, 'string' - field :privacy_url_by_locale, { list: 'hash' } field :review_rejection_messages, { list: 'string' } field :review_rejection_reasons, { list: 'string' } - field :supported_card_types, { list: 'string' } field :terms, 'string' - field :terms_url_by_locale, { list: 'hash' } has_no_post has_no_delete diff --git a/lib/facebook_ads/ad_objects/commerce_order.rb b/lib/facebook_ads/ad_objects/commerce_order.rb index 38bc3fa5..83542f05 100644 --- a/lib/facebook_ads/ad_objects/commerce_order.rb +++ b/lib/facebook_ads/ad_objects/commerce_order.rb @@ -47,6 +47,7 @@ class CommerceOrder < AdObject field :buyer_details, 'object' field :channel, 'string' + field :contains_bopis_items, 'bool' field :created, 'string' field :estimated_payment_details, 'object' field :id, 'string' @@ -65,7 +66,6 @@ class CommerceOrder < AdObject edge.post 'CommerceOrder' do |api| api.has_param :idempotency_key, 'string' api.has_param :merchant_order_reference, 'string' - api.has_param :return_error_response, 'bool' end end diff --git a/lib/facebook_ads/ad_objects/contacts_messenger_sync_config.rb b/lib/facebook_ads/ad_objects/contacts_messenger_sync_config.rb new file mode 100644 index 00000000..8ba8c2a2 --- /dev/null +++ b/lib/facebook_ads/ad_objects/contacts_messenger_sync_config.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ContactsMessengerSyncConfig < AdObject + + field :enabled, 'bool' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/content_delivery_report.rb b/lib/facebook_ads/ad_objects/content_delivery_report.rb new file mode 100644 index 00000000..5d285314 --- /dev/null +++ b/lib/facebook_ads/ad_objects/content_delivery_report.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ContentDeliveryReport < AdObject + + field :content_name, 'string' + field :content_url, 'string' + field :creator_name, 'string' + field :creator_url, 'string' + field :estimated_impressions, 'int' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/conversion_health_kpi.rb b/lib/facebook_ads/ad_objects/conversion_health_kpi.rb new file mode 100644 index 00000000..537b144d --- /dev/null +++ b/lib/facebook_ads/ad_objects/conversion_health_kpi.rb @@ -0,0 +1,33 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ConversionHealthKpi < AdObject + + field :health_indicator, 'string' + field :impacted_browsers_match_rate, 'double' + field :impacted_browsers_match_rate_mom_trend, 'double' + field :impacted_browsers_traffic_share, 'double' + field :impacted_browsers_traffic_share_mom_trend, 'double' + field :match_rate, 'double' + field :match_rate_mom_trend, 'double' + field :match_rate_vertical_benchmark, 'double' + field :match_rate_vs_benchmark_mom_trend, 'double' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/copyright_attribution_insights.rb b/lib/facebook_ads/ad_objects/copyright_attribution_insights.rb new file mode 100644 index 00000000..a1ba8ea3 --- /dev/null +++ b/lib/facebook_ads/ad_objects/copyright_attribution_insights.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CopyrightAttributionInsights < AdObject + + field :l7_attribution_page_view, 'int' + field :l7_attribution_page_view_delta, 'double' + field :l7_attribution_video_view, 'int' + field :l7_attribution_video_view_delta, 'double' + field :metrics_ending_date, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/copyright_audio_asset.rb b/lib/facebook_ads/ad_objects/copyright_audio_asset.rb new file mode 100644 index 00000000..d642e9ab --- /dev/null +++ b/lib/facebook_ads/ad_objects/copyright_audio_asset.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CopyrightAudioAsset < AdObject + + field :audio_availability_status, 'string' + field :audio_library_policy, { list: 'map>>' } + field :creation_time, 'datetime' + field :id, 'string' + field :reference_files, { list: 'object' } + field :title, 'string' + field :update_time, 'datetime' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/copyright_media_misuse.rb b/lib/facebook_ads/ad_objects/copyright_media_misuse.rb new file mode 100644 index 00000000..8c5becea --- /dev/null +++ b/lib/facebook_ads/ad_objects/copyright_media_misuse.rb @@ -0,0 +1,39 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CopyrightMediaMisuse < AdObject + + field :audio_segments, { list: 'object' } + field :creation_time, 'datetime' + field :disabled_audio_segments, { list: 'object' } + field :disabled_video_segments, { list: 'object' } + field :entire_file_issue, 'bool' + field :entire_file_issue_reasons, { list: 'string' } + field :expiration_time, 'datetime' + field :id, 'string' + field :media_asset_id, 'string' + field :reasons, { list: 'string' } + field :requested_audio_segments, { list: 'object' } + field :requested_video_segments, { list: 'object' } + field :resolution_type, 'string' + field :status, 'string' + field :update_time, 'datetime' + field :video_copyright, 'VideoCopyright' + field :video_segments, { list: 'object' } + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/cpas_ad_creation_template.rb b/lib/facebook_ads/ad_objects/cpas_ad_creation_template.rb new file mode 100644 index 00000000..8ee790a4 --- /dev/null +++ b/lib/facebook_ads/ad_objects/cpas_ad_creation_template.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CpasAdCreationTemplate < AdObject + + field :description, 'string' + field :id, 'string' + field :is_unused_template, 'bool' + field :name, 'string' + field :optimization_goal, 'string' + field :targeting_type, 'string' + field :template_type, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/cpas_lsb_image_bank.rb b/lib/facebook_ads/ad_objects/cpas_lsb_image_bank.rb new file mode 100644 index 00000000..f59b9f5e --- /dev/null +++ b/lib/facebook_ads/ad_objects/cpas_lsb_image_bank.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CpasLsbImageBank < AdObject + + field :ad_group_id, 'string' + field :catalog_segment_proxy_id, 'string' + field :id, 'string' + field :agency_business_id, 'int' + field :backup_image_urls, { list: 'string' } + has_no_delete + + has_edge :backup_images do |edge| + edge.get 'ProductImage' + end + + end +end diff --git a/lib/facebook_ads/ad_objects/cpas_parent_catalog_settings.rb b/lib/facebook_ads/ad_objects/cpas_parent_catalog_settings.rb new file mode 100644 index 00000000..1c95b609 --- /dev/null +++ b/lib/facebook_ads/ad_objects/cpas_parent_catalog_settings.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CpasParentCatalogSettings < AdObject + + field :attribution_windows, { list: 'string' } + field :default_currency, 'string' + field :disable_use_as_parent_catalog, 'bool' + field :id, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/cpas_setup.rb b/lib/facebook_ads/ad_objects/cpas_setup.rb new file mode 100644 index 00000000..1ce564e5 --- /dev/null +++ b/lib/facebook_ads/ad_objects/cpas_setup.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CpasSetup < AdObject + + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/cpas_setup_catalog_progress.rb b/lib/facebook_ads/ad_objects/cpas_setup_catalog_progress.rb new file mode 100644 index 00000000..06e3e1ee --- /dev/null +++ b/lib/facebook_ads/ad_objects/cpas_setup_catalog_progress.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CpasSetupCatalogProgress < AdObject + + field :child_catalog_count, 'int' + field :child_catalog_issues, { list: 'object' } + field :id, 'string' + field :issues, { list: 'object' } + field :name, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/cpas_setup_page_structure_progress.rb b/lib/facebook_ads/ad_objects/cpas_setup_page_structure_progress.rb new file mode 100644 index 00000000..1e622c87 --- /dev/null +++ b/lib/facebook_ads/ad_objects/cpas_setup_page_structure_progress.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CpasSetupPageStructureProgress < AdObject + + field :id, 'string' + field :issues, { list: 'object' } + field :name, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/creative_asset_tag.rb b/lib/facebook_ads/ad_objects/creative_asset_tag.rb new file mode 100644 index 00000000..fc0f3416 --- /dev/null +++ b/lib/facebook_ads/ad_objects/creative_asset_tag.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CreativeAssetTag < AdObject + + field :name, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/creator_asset_creative.rb b/lib/facebook_ads/ad_objects/creator_asset_creative.rb new file mode 100644 index 00000000..0c7765f3 --- /dev/null +++ b/lib/facebook_ads/ad_objects/creator_asset_creative.rb @@ -0,0 +1,39 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CreatorAssetCreative < AdObject + MODERATION_STATUS = [ + "ARCHIVED", + "ELIGIBLE", + "EXPIRED", + "INELIGIBLE", + "IN_REVIEW", + "PAUSED", + "UNKNOWN", + ] + + + field :id, 'string' + field :image_url, 'string' + field :moderation_status, 'string' + field :product_item_retailer_id, 'string' + field :product_url, 'string' + field :retailer_id, 'string' + field :video_url, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ctwa_whats_app_numbers_info.rb b/lib/facebook_ads/ad_objects/ctwa_whats_app_numbers_info.rb new file mode 100644 index 00000000..6bc71753 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ctwa_whats_app_numbers_info.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CtwaWhatsAppNumbersInfo < AdObject + + field :can_manage_wa_flows, 'bool' + field :formatted_whatsapp_number, 'string' + field :is_business_number, 'bool' + field :page_whatsapp_number_id, 'string' + field :whatsapp_number, 'string' + field :whatsapp_smb_device, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ctx_optimization_eligibility.rb b/lib/facebook_ads/ad_objects/ctx_optimization_eligibility.rb new file mode 100644 index 00000000..0e71f6f4 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ctx_optimization_eligibility.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CtxOptimizationEligibility < AdObject + + field :ctm, 'object' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/custom_audience.rb b/lib/facebook_ads/ad_objects/custom_audience.rb index 27cdedca..10918c36 100644 --- a/lib/facebook_ads/ad_objects/custom_audience.rb +++ b/lib/facebook_ads/ad_objects/custom_audience.rb @@ -35,7 +35,6 @@ class CustomAudience < AdObject "HOTEL", "JOB", "LOCAL_SERVICE_BUSINESS", - "LOCATION_BASED_ITEM", "MEDIA_TITLE", "OFFLINE_PRODUCT", "PRODUCT", diff --git a/lib/facebook_ads/ad_objects/custom_audience_capabilities.rb b/lib/facebook_ads/ad_objects/custom_audience_capabilities.rb new file mode 100644 index 00000000..fcb10495 --- /dev/null +++ b/lib/facebook_ads/ad_objects/custom_audience_capabilities.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CustomAudienceCapabilities < AdObject + + field :capabilities, 'hash' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/custom_audience_data_source.rb b/lib/facebook_ads/ad_objects/custom_audience_data_source.rb index 08975767..f3fe3099 100644 --- a/lib/facebook_ads/ad_objects/custom_audience_data_source.rb +++ b/lib/facebook_ads/ad_objects/custom_audience_data_source.rb @@ -15,6 +15,7 @@ module FacebookAds class CustomAudienceDataSource < AdObject SUB_TYPE = [ + "AD_CAMPAIGN", "ANYTHING", "APP_USERS", "AR_EFFECTS_EVENTS", @@ -36,6 +37,7 @@ class CustomAudienceDataSource < AdObject "FACEBOOK_WIFI_EVENTS", "FB_EVENT_SIGNALS", "FB_PIXEL_HITS", + "GROUP_EVENTS", "HASHES", "HASHES_OR_USER_IDS", "HOUSEHOLD_EXPANSION", diff --git a/lib/facebook_ads/ad_objects/custom_audience_shared_account_campaign_info.rb b/lib/facebook_ads/ad_objects/custom_audience_shared_account_campaign_info.rb new file mode 100644 index 00000000..27e4b199 --- /dev/null +++ b/lib/facebook_ads/ad_objects/custom_audience_shared_account_campaign_info.rb @@ -0,0 +1,32 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CustomAudienceSharedAccountCampaignInfo < AdObject + + field :account_id, 'string' + field :account_name, 'string' + field :adset_excluding_count, 'int' + field :adset_including_count, 'int' + field :campaign_delivery_status, 'string' + field :campaign_objective, 'string' + field :campaign_pages, { list: 'object' } + field :campaign_schedule, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/custom_conversion.rb b/lib/facebook_ads/ad_objects/custom_conversion.rb index 45dc72df..a4682e32 100644 --- a/lib/facebook_ads/ad_objects/custom_conversion.rb +++ b/lib/facebook_ads/ad_objects/custom_conversion.rb @@ -37,6 +37,18 @@ class CustomConversion < AdObject "SUBSCRIBE", ] + ACTION_SOURCE_TYPE = [ + "app", + "business_messaging", + "chat", + "email", + "other", + "phone_call", + "physical_store", + "system_generated", + "website", + ] + field :account_id, 'string' field :aggregation_rule, 'string' @@ -57,6 +69,7 @@ class CustomConversion < AdObject field :pixel, 'AdsPixel' field :retention_days, 'int' field :rule, 'string' + field :action_source_type, { enum: -> { ACTION_SOURCE_TYPE }} field :advanced_rule, 'string' field :event_source_id, 'string' field :custom_conversion_id, 'string' diff --git a/lib/facebook_ads/ad_objects/custom_conversion_activities.rb b/lib/facebook_ads/ad_objects/custom_conversion_activities.rb new file mode 100644 index 00000000..36a63a91 --- /dev/null +++ b/lib/facebook_ads/ad_objects/custom_conversion_activities.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class CustomConversionActivities < AdObject + + field :app_id, 'int' + field :data, 'string' + field :event_type, 'string' + field :timestamp, 'datetime' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/delivery_info.rb b/lib/facebook_ads/ad_objects/delivery_info.rb new file mode 100644 index 00000000..bd32f058 --- /dev/null +++ b/lib/facebook_ads/ad_objects/delivery_info.rb @@ -0,0 +1,66 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class DeliveryInfo < AdObject + + field :active_accelerated_campaign_count, 'int' + field :active_day_parted_campaign_count, 'int' + field :ad_penalty_map, { list: 'hash' } + field :are_all_daily_budgets_spent, 'bool' + field :credit_needed_ads_count, 'int' + field :eligible_for_delivery_insights, 'bool' + field :end_time, 'datetime' + field :has_account_hit_spend_limit, 'bool' + field :has_campaign_group_hit_spend_limit, 'bool' + field :has_no_active_ads, 'bool' + field :has_no_ads, 'bool' + field :inactive_ads_count, 'int' + field :inactive_campaign_count, 'int' + field :is_account_closed, 'bool' + field :is_account_disabled, 'bool' + field :is_ad_uneconomical, 'bool' + field :is_adfarm_penalized, 'bool' + field :is_adgroup_partially_rejected, 'bool' + field :is_campaign_accelerated, 'bool' + field :is_campaign_completed, 'bool' + field :is_campaign_day_parted, 'bool' + field :is_campaign_disabled, 'bool' + field :is_campaign_group_disabled, 'bool' + field :is_clickbait_penalized, 'bool' + field :is_daily_budget_spent, 'bool' + field :is_engagement_bait_penalized, 'bool' + field :is_lqwe_penalized, 'bool' + field :is_reach_and_frequency_misconfigured, 'bool' + field :is_sensationalism_penalized, 'bool' + field :is_split_test_active, 'bool' + field :is_split_test_valid, 'bool' + field :lift_study_time_period, 'string' + field :needs_credit, 'bool' + field :needs_tax_number, 'bool' + field :non_deleted_ads_count, 'int' + field :not_delivering_campaign_count, 'int' + field :pending_ads_count, 'int' + field :reach_frequency_campaign_underdelivery_reason, 'string' + field :rejected_ads_count, 'int' + field :start_time, 'datetime' + field :status, 'string' + field :text_penalty_level, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/delivery_status.rb b/lib/facebook_ads/ad_objects/delivery_status.rb new file mode 100644 index 00000000..b9ff08fc --- /dev/null +++ b/lib/facebook_ads/ad_objects/delivery_status.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class DeliveryStatus < AdObject + + field :status, 'string' + field :substatuses, { list: 'string' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/destination.rb b/lib/facebook_ads/ad_objects/destination.rb index d25ee380..79d5e93d 100644 --- a/lib/facebook_ads/ad_objects/destination.rb +++ b/lib/facebook_ads/ad_objects/destination.rb @@ -51,7 +51,7 @@ class Destination < AdObject has_no_delete has_edge :augmented_realities_metadata do |edge| - edge.get + edge.get 'DynamicArMetadata' end has_edge :channels_to_integrity_status do |edge| diff --git a/lib/facebook_ads/ad_objects/direct_debit.rb b/lib/facebook_ads/ad_objects/direct_debit.rb new file mode 100644 index 00000000..417f0364 --- /dev/null +++ b/lib/facebook_ads/ad_objects/direct_debit.rb @@ -0,0 +1,33 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class DirectDebit < AdObject + + field :bank_account_last_4, 'string' + field :bank_code_last_4, 'string' + field :bank_name, 'string' + field :default_receiving_method_products, { list: 'string' } + field :display_string, 'string' + field :id, 'string' + field :last_four_digits, 'string' + field :onboarding_url, 'string' + field :owner_name, 'string' + field :status, 'int' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/dog_notification_settings.rb b/lib/facebook_ads/ad_objects/dog_notification_settings.rb new file mode 100644 index 00000000..edcc6558 --- /dev/null +++ b/lib/facebook_ads/ad_objects/dog_notification_settings.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class DogNotificationSettings < AdObject + + field :dog_check_key, 'string' + field :id, 'string' + field :subscription_status_per_channel, { list: 'hash' } + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/domain.rb b/lib/facebook_ads/ad_objects/domain.rb new file mode 100644 index 00000000..d8f7941b --- /dev/null +++ b/lib/facebook_ads/ad_objects/domain.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class Domain < AdObject + + field :id, 'string' + field :name, 'string' + field :url, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/draft_post.rb b/lib/facebook_ads/ad_objects/draft_post.rb new file mode 100644 index 00000000..bee3067a --- /dev/null +++ b/lib/facebook_ads/ad_objects/draft_post.rb @@ -0,0 +1,40 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class DraftPost < AdObject + + field :admin_creator, 'User' + field :creation_time, 'datetime' + field :feed_audience_description, 'string' + field :feed_targeting, 'Targeting' + field :id, 'string' + field :is_post_in_good_state, 'bool' + field :message, 'string' + field :modified_time, 'datetime' + field :og_action_summary, 'string' + field :permalink_url, 'string' + field :place, 'Place' + field :privacy_description, 'string' + field :scheduled_failure_notice, 'string' + field :scheduled_publish_time, 'datetime' + field :story_token, 'string' + field :thumbnail, 'string' + field :video_id, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/dynamic_ar_metadata.rb b/lib/facebook_ads/ad_objects/dynamic_ar_metadata.rb new file mode 100644 index 00000000..9b6da977 --- /dev/null +++ b/lib/facebook_ads/ad_objects/dynamic_ar_metadata.rb @@ -0,0 +1,34 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class DynamicArMetadata < AdObject + + field :anchor_point, { list: 'double' } + field :container_effect_enum, 'int' + field :effect_icon_url, 'string' + field :effect_id, 'string' + field :id, 'string' + field :platforms, { list: 'string' } + field :scale_factor, { list: 'double' } + field :shadow_texture_url, 'string' + field :source_url, 'string' + field :state, 'string' + field :tags, { list: 'string' } + field :variant_picker_url, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/dynamic_content_set.rb b/lib/facebook_ads/ad_objects/dynamic_content_set.rb new file mode 100644 index 00000000..e8b2339d --- /dev/null +++ b/lib/facebook_ads/ad_objects/dynamic_content_set.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class DynamicContentSet < AdObject + + field :business_id, 'string' + field :id, 'string' + field :name, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/dynamic_item_display_bundle.rb b/lib/facebook_ads/ad_objects/dynamic_item_display_bundle.rb new file mode 100644 index 00000000..6259afcf --- /dev/null +++ b/lib/facebook_ads/ad_objects/dynamic_item_display_bundle.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class DynamicItemDisplayBundle < AdObject + + field :additional_urls, { list: 'hash' } + field :description, 'string' + field :id, 'string' + field :name, 'string' + field :product_set, 'ProductSet' + field :text_tokens, { list: 'hash' } + field :url, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/dynamic_item_display_bundle_folder.rb b/lib/facebook_ads/ad_objects/dynamic_item_display_bundle_folder.rb new file mode 100644 index 00000000..a47a5cc4 --- /dev/null +++ b/lib/facebook_ads/ad_objects/dynamic_item_display_bundle_folder.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class DynamicItemDisplayBundleFolder < AdObject + + field :categorization_criteria, 'string' + field :id, 'string' + field :name, 'string' + field :product_catalog, 'ProductCatalog' + field :product_set, 'ProductSet' + field :valid_labels, { list: 'map>' } + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/education_experience.rb b/lib/facebook_ads/ad_objects/education_experience.rb new file mode 100644 index 00000000..b67a984a --- /dev/null +++ b/lib/facebook_ads/ad_objects/education_experience.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class EducationExperience < AdObject + + field :classes, { list: 'Experience' } + field :concentration, { list: 'Page' } + field :degree, 'Page' + field :id, 'string' + field :school, 'Page' + field :type, 'string' + field :with, { list: 'User' } + field :year, 'Page' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/email_import.rb b/lib/facebook_ads/ad_objects/email_import.rb new file mode 100644 index 00000000..af654dfc --- /dev/null +++ b/lib/facebook_ads/ad_objects/email_import.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class EmailImport < AdObject + + field :lists, { list: 'object' } + field :total, 'int' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/end_study_criteria.rb b/lib/facebook_ads/ad_objects/end_study_criteria.rb new file mode 100644 index 00000000..380bd081 --- /dev/null +++ b/lib/facebook_ads/ad_objects/end_study_criteria.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class EndStudyCriteria < AdObject + + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ent_with_sponsor.rb b/lib/facebook_ads/ad_objects/ent_with_sponsor.rb new file mode 100644 index 00000000..fb7d7789 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ent_with_sponsor.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class EntWithSponsor < AdObject + + field :id, 'string' + field :owner_linked_instagram_user_v1_id, 'string' + field :owner_picture, 'string' + field :post_id, 'string' + field :post_info, 'Post' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/event.rb b/lib/facebook_ads/ad_objects/event.rb index dcbbb3eb..b51bd38a 100644 --- a/lib/facebook_ads/ad_objects/event.rb +++ b/lib/facebook_ads/ad_objects/event.rb @@ -94,10 +94,10 @@ class Event < AdObject field :owner, 'object' field :parent_group, 'Group' field :place, 'Place' - field :registration_setting, 'object' + field :registration_setting, 'EventRegistrationSetting' field :scheduled_publish_time, 'string' field :start_time, 'string' - field :ticket_setting, 'object' + field :ticket_setting, 'EventTicketSetting' field :ticket_uri, 'string' field :ticket_uri_start_sales_time, 'string' field :ticketing_privacy_uri, 'string' @@ -159,7 +159,7 @@ class Event < AdObject end has_edge :ticket_tiers do |edge| - edge.get + edge.get 'EventTicketTier' end has_edge :videos do |edge| diff --git a/lib/facebook_ads/ad_objects/event_external_ticket_info.rb b/lib/facebook_ads/ad_objects/event_external_ticket_info.rb new file mode 100644 index 00000000..4b30a872 --- /dev/null +++ b/lib/facebook_ads/ad_objects/event_external_ticket_info.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class EventExternalTicketInfo < AdObject + + field :id, 'string' + field :max_sales_price, 'CurrencyAmount' + field :min_sales_price, 'CurrencyAmount' + field :sales_status, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/event_registration_setting.rb b/lib/facebook_ads/ad_objects/event_registration_setting.rb new file mode 100644 index 00000000..62b8cc8f --- /dev/null +++ b/lib/facebook_ads/ad_objects/event_registration_setting.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class EventRegistrationSetting < AdObject + + field :id, 'string' + field :questions, 'string' + field :target_type, 'string' + field :ticket_tier_ids, { list: 'string' } + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/event_ticket_setting.rb b/lib/facebook_ads/ad_objects/event_ticket_setting.rb new file mode 100644 index 00000000..c518674d --- /dev/null +++ b/lib/facebook_ads/ad_objects/event_ticket_setting.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class EventTicketSetting < AdObject + + field :id, 'string' + field :ticket_delivery_type, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/event_ticket_tier.rb b/lib/facebook_ads/ad_objects/event_ticket_tier.rb new file mode 100644 index 00000000..6c470cbb --- /dev/null +++ b/lib/facebook_ads/ad_objects/event_ticket_tier.rb @@ -0,0 +1,40 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class EventTicketTier < AdObject + + field :currency, 'string' + field :description, 'string' + field :end_sales_time, 'datetime' + field :end_show_time, 'datetime' + field :fee_settings, 'string' + field :id, 'string' + field :maximum_quantity, 'int' + field :metadata, 'string' + field :minimum_quantity, 'int' + field :name, 'string' + field :price, 'int' + field :priority, 'int' + field :retailer_id, 'string' + field :seating_map_image_url, 'string' + field :start_sales_time, 'datetime' + field :start_show_time, 'datetime' + field :status, 'string' + field :total_quantity, 'int' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/event_tour.rb b/lib/facebook_ads/ad_objects/event_tour.rb new file mode 100644 index 00000000..3dfce140 --- /dev/null +++ b/lib/facebook_ads/ad_objects/event_tour.rb @@ -0,0 +1,35 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class EventTour < AdObject + + field :description, 'string' + field :dominant_color, 'string' + field :end_time, 'string' + field :id, 'string' + field :is_past, 'bool' + field :last_event_timestamp, 'int' + field :name, 'string' + field :num_events, 'int' + field :photo, 'Photo' + field :scheduled_publish_timestamp, 'int' + field :start_time, 'string' + field :ticketing_uri, 'string' + field :video, 'AdVideo' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/expirable_post.rb b/lib/facebook_ads/ad_objects/expirable_post.rb new file mode 100644 index 00000000..f5588c4d --- /dev/null +++ b/lib/facebook_ads/ad_objects/expirable_post.rb @@ -0,0 +1,43 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ExpirablePost < AdObject + + field :admin_creator, 'User' + field :can_republish, 'bool' + field :content_type, 'string' + field :creation_time, 'datetime' + field :expiration, 'object' + field :feed_audience_description, 'string' + field :feed_targeting, 'Targeting' + field :id, 'string' + field :is_post_in_good_state, 'bool' + field :message, 'string' + field :modified_time, 'datetime' + field :og_action_summary, 'string' + field :permalink_url, 'string' + field :place, 'Place' + field :privacy_description, 'string' + field :scheduled_failure_notice, 'string' + field :scheduled_publish_time, 'datetime' + field :story_token, 'string' + field :thumbnail, 'string' + field :video_id, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/extended_credit_application.rb b/lib/facebook_ads/ad_objects/extended_credit_application.rb new file mode 100644 index 00000000..c990f208 --- /dev/null +++ b/lib/facebook_ads/ad_objects/extended_credit_application.rb @@ -0,0 +1,47 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ExtendedCreditApplication < AdObject + + field :billing_country, 'string' + field :city, 'string' + field :cnpj, 'string' + field :country, 'string' + field :display_currency, 'string' + field :duns_number, 'string' + field :id, 'string' + field :invoice_email_address, 'string' + field :is_umi, 'bool' + field :legal_entity_name, 'string' + field :original_online_limit, 'CurrencyAmount' + field :phone_number, 'string' + field :postal_code, 'string' + field :product_types, { list: 'string' } + field :proposed_credit_limit, 'CurrencyAmount' + field :registration_number, 'string' + field :run_id, 'string' + field :state, 'string' + field :status, 'string' + field :street1, 'string' + field :street2, 'string' + field :submitter, 'User' + field :tax_exempt_status, 'string' + field :tax_id, 'string' + field :terms, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/extended_credit_email.rb b/lib/facebook_ads/ad_objects/extended_credit_email.rb new file mode 100644 index 00000000..6e1fce4a --- /dev/null +++ b/lib/facebook_ads/ad_objects/extended_credit_email.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ExtendedCreditEmail < AdObject + + field :email, 'string' + field :id, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/extended_credit_info.rb b/lib/facebook_ads/ad_objects/extended_credit_info.rb new file mode 100644 index 00000000..3699aaf4 --- /dev/null +++ b/lib/facebook_ads/ad_objects/extended_credit_info.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ExtendedCreditInfo < AdObject + + field :credit_left, 'string' + field :credit_revoked, 'bool' + field :credit_used, 'string' + field :using_biz_ec, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/extended_credit_invoice_group.rb b/lib/facebook_ads/ad_objects/extended_credit_invoice_group.rb index c189c572..b5651802 100644 --- a/lib/facebook_ads/ad_objects/extended_credit_invoice_group.rb +++ b/lib/facebook_ads/ad_objects/extended_credit_invoice_group.rb @@ -18,7 +18,7 @@ class ExtendedCreditInvoiceGroup < AdObject field :auto_enroll, 'bool' field :bill_to_address, 'CrmAddress' field :customer_po_number, 'string' - field :email, 'object' + field :email, 'ExtendedCreditEmail' field :emails, { list: 'string' } field :id, 'string' field :liable_address, 'CrmAddress' diff --git a/lib/facebook_ads/ad_objects/external_event_source_cpas_events_debugging.rb b/lib/facebook_ads/ad_objects/external_event_source_cpas_events_debugging.rb new file mode 100644 index 00000000..3aa29dd3 --- /dev/null +++ b/lib/facebook_ads/ad_objects/external_event_source_cpas_events_debugging.rb @@ -0,0 +1,33 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ExternalEventSourceCpasEventsDebugging < AdObject + + field :actual_event_time, 'int' + field :app_version, 'string' + field :content_url, 'string' + field :device_os, 'string' + field :diagnostic, 'string' + field :event_name, 'string' + field :event_time, 'int' + field :missing_ids, 'string' + field :severity, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/external_event_source_cpas_events_debugging_info.rb b/lib/facebook_ads/ad_objects/external_event_source_cpas_events_debugging_info.rb new file mode 100644 index 00000000..0de8ccc3 --- /dev/null +++ b/lib/facebook_ads/ad_objects/external_event_source_cpas_events_debugging_info.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ExternalEventSourceCpasEventsDebuggingInfo < AdObject + + field :counts, 'int' + field :diagnostic, 'string' + field :event_name, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/external_event_source_da_stats_result.rb b/lib/facebook_ads/ad_objects/external_event_source_da_stats_result.rb new file mode 100644 index 00000000..a0c0c5fa --- /dev/null +++ b/lib/facebook_ads/ad_objects/external_event_source_da_stats_result.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ExternalEventSourceDaStatsResult < AdObject + + field :count_content_ids, 'int' + field :count_content_ids_match_any_catalog, 'int' + field :count_fires, 'int' + field :count_fires_match_any_catalog, 'int' + field :date, 'string' + field :percentage_missed_users, 'double' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/external_merchant_settings.rb b/lib/facebook_ads/ad_objects/external_merchant_settings.rb new file mode 100644 index 00000000..42cf3fe5 --- /dev/null +++ b/lib/facebook_ads/ad_objects/external_merchant_settings.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ExternalMerchantSettings < AdObject + + field :connect_woo, 'string' + field :external_platform, 'string' + field :id, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/fame_kumo.rb b/lib/facebook_ads/ad_objects/fame_kumo.rb new file mode 100644 index 00000000..333b2193 --- /dev/null +++ b/lib/facebook_ads/ad_objects/fame_kumo.rb @@ -0,0 +1,23 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class FameKumo < AdObject + + field :id, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/fantasy_game.rb b/lib/facebook_ads/ad_objects/fantasy_game.rb new file mode 100644 index 00000000..b0aa9e09 --- /dev/null +++ b/lib/facebook_ads/ad_objects/fantasy_game.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class FantasyGame < AdObject + + field :id, 'string' + field :name, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/favorite_catalog.rb b/lib/facebook_ads/ad_objects/favorite_catalog.rb new file mode 100644 index 00000000..1cb5cc75 --- /dev/null +++ b/lib/facebook_ads/ad_objects/favorite_catalog.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class FavoriteCatalog < AdObject + + field :catalog, 'ProductCatalog' + field :id, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/fb_image_copyright_match.rb b/lib/facebook_ads/ad_objects/fb_image_copyright_match.rb new file mode 100644 index 00000000..75aea21b --- /dev/null +++ b/lib/facebook_ads/ad_objects/fb_image_copyright_match.rb @@ -0,0 +1,35 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class FbImageCopyrightMatch < AdObject + + field :added_to_dashboard_time, 'datetime' + field :applied_actions, { list: 'hash' } + field :audit_log, { list: 'object' } + field :available_ui_actions, { list: 'string' } + field :expiration_days, 'int' + field :id, 'string' + field :is_business_page_match, 'bool' + field :last_modified_time, 'datetime' + field :match_data, { list: 'object' } + field :match_status, 'string' + field :ownership_countries, 'VideoCopyrightGeoGate' + field :reference_owner, 'Profile' + field :time_to_appeal, 'int' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/fb_lite_to_nt_transitions.rb b/lib/facebook_ads/ad_objects/fb_lite_to_nt_transitions.rb new file mode 100644 index 00000000..43e0417e --- /dev/null +++ b/lib/facebook_ads/ad_objects/fb_lite_to_nt_transitions.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class FbLiteToNtTransitions < AdObject + + field :transition, 'object' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/fb_page_and_instagram_account.rb b/lib/facebook_ads/ad_objects/fb_page_and_instagram_account.rb new file mode 100644 index 00000000..d8f4e86c --- /dev/null +++ b/lib/facebook_ads/ad_objects/fb_page_and_instagram_account.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class FbPageAndInstagramAccount < AdObject + + field :ad_permissions, { list: 'string' } + field :bc_permission_status, 'string' + field :bc_permissions, { list: 'hash' } + field :is_managed, 'bool' + field :matched_by, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/fb_pay_button_login.rb b/lib/facebook_ads/ad_objects/fb_pay_button_login.rb new file mode 100644 index 00000000..9fa41fcd --- /dev/null +++ b/lib/facebook_ads/ad_objects/fb_pay_button_login.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class FbPayButtonLogin < AdObject + + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/finance_object.rb b/lib/facebook_ads/ad_objects/finance_object.rb new file mode 100644 index 00000000..7d2897da --- /dev/null +++ b/lib/facebook_ads/ad_objects/finance_object.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class FinanceObject < AdObject + + field :finance_permission, 'string' + field :user, 'object' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/flight.rb b/lib/facebook_ads/ad_objects/flight.rb index a0acbb2b..2bd96b69 100644 --- a/lib/facebook_ads/ad_objects/flight.rb +++ b/lib/facebook_ads/ad_objects/flight.rb @@ -52,7 +52,7 @@ class Flight < AdObject has_no_delete has_edge :augmented_realities_metadata do |edge| - edge.get + edge.get 'DynamicArMetadata' end has_edge :channels_to_integrity_status do |edge| diff --git a/lib/facebook_ads/ad_objects/franchise_program.rb b/lib/facebook_ads/ad_objects/franchise_program.rb new file mode 100644 index 00000000..2f1a4e1c --- /dev/null +++ b/lib/facebook_ads/ad_objects/franchise_program.rb @@ -0,0 +1,34 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class FranchiseProgram < AdObject + + field :business_asset_group, 'BusinessAssetGroup' + field :creator_business, 'Business' + field :description, 'string' + field :end_date, 'datetime' + field :id, 'string' + field :name, 'string' + field :program_access_type, 'string' + field :program_approval_type, 'string' + field :program_image_link, 'string' + field :program_url, 'string' + field :shared_custom_audience, 'CustomAudience' + field :start_date, 'datetime' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/franchise_program_member.rb b/lib/facebook_ads/ad_objects/franchise_program_member.rb new file mode 100644 index 00000000..6ec27916 --- /dev/null +++ b/lib/facebook_ads/ad_objects/franchise_program_member.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class FranchiseProgramMember < AdObject + + field :business, 'Business' + field :end_date, 'datetime' + field :id, 'string' + field :join_date, 'datetime' + field :member_ad_account, 'AdAccount' + field :member_user, 'User' + field :membership_status, 'string' + field :page, 'Page' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/generic_video_asset.rb b/lib/facebook_ads/ad_objects/generic_video_asset.rb new file mode 100644 index 00000000..1d974621 --- /dev/null +++ b/lib/facebook_ads/ad_objects/generic_video_asset.rb @@ -0,0 +1,69 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class GenericVideoAsset < AdObject + + field :broadcast_id, 'string' + field :broadcast_planned_start_time, 'datetime' + field :can_viewer_edit, 'bool' + field :copyright_monitoring_status, 'string' + field :created_time, 'datetime' + field :creator, 'User' + field :description, 'string' + field :download_hd_url, 'string' + field :download_sd_url, 'string' + field :embeddable, 'bool' + field :expiration, 'object' + field :feed_type, 'string' + field :id, 'string' + field :is_crossposting_eligible, 'bool' + field :is_crossposting_within_bm_eligible, 'bool' + field :is_crossposting_within_bm_enabled, 'bool' + field :is_episode, 'bool' + field :is_featured, 'bool' + field :is_live_premiere, 'bool' + field :is_video_asset, 'bool' + field :last_added_time, 'datetime' + field :latest_creator, 'User' + field :latest_owned_description, 'string' + field :latest_owned_title, 'string' + field :length, 'double' + field :live_status, 'string' + field :no_story, 'bool' + field :owner_name, 'string' + field :owner_picture, 'string' + field :owner_post_state, 'string' + field :permalink_url, 'string' + field :picture, 'string' + field :posts_count, 'int' + field :posts_ids, { list: 'string' } + field :posts_status, 'object' + field :premiere_living_room_status, 'string' + field :published, 'bool' + field :scheduled_publish_time, 'datetime' + field :secret, 'bool' + field :secure_stream_url, 'string' + field :social_actions, 'bool' + field :status, 'VideoStatus' + field :stream_url, 'string' + field :thumbnail_while_encoding, 'string' + field :title, 'string' + field :views, 'int' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/geo_gating_policy.rb b/lib/facebook_ads/ad_objects/geo_gating_policy.rb new file mode 100644 index 00000000..5a8b6fd1 --- /dev/null +++ b/lib/facebook_ads/ad_objects/geo_gating_policy.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class GeoGatingPolicy < AdObject + + field :after_schedule, 'string' + field :exclude_country, { list: 'string' } + field :id, 'string' + field :include_country, { list: 'string' } + field :name, 'string' + field :valid_from, 'datetime' + field :valid_until, 'datetime' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/group.rb b/lib/facebook_ads/ad_objects/group.rb index 4f663a69..255eeba3 100644 --- a/lib/facebook_ads/ad_objects/group.rb +++ b/lib/facebook_ads/ad_objects/group.rb @@ -156,7 +156,6 @@ class Group < AdObject end edge.post 'Post' do |api| api.has_param :actions, 'object' - api.has_param :adaptive_type, 'string' api.has_param :album_id, 'string' api.has_param :android_key_hash, 'string' api.has_param :animated_effect_id, 'int' @@ -241,7 +240,6 @@ class Group < AdObject api.has_param :publish_event_id, 'int' api.has_param :published, 'bool' api.has_param :quote, 'string' - api.has_param :react_mode_metadata, 'string' api.has_param :ref, { list: 'string' } api.has_param :referenceable_image_ids, { list: 'string' } api.has_param :referral_id, 'string' @@ -406,7 +404,6 @@ class Group < AdObject api.has_param :type, { enum: -> { AdVideo::TYPE }} end edge.post 'AdVideo' do |api| - api.has_param :adaptive_type, 'string' api.has_param :animated_effect_id, 'int' api.has_param :application_id, 'string' api.has_param :asked_fun_fact_prompt_id, 'int' @@ -455,7 +452,6 @@ class Group < AdObject api.has_param :original_projection_type, { enum: -> { AdVideo::ORIGINAL_PROJECTION_TYPE }} api.has_param :publish_event_id, 'int' api.has_param :published, 'bool' - api.has_param :react_mode_metadata, 'string' api.has_param :referenced_sticker_id, 'string' api.has_param :replace_video_id, 'string' api.has_param :scheduled_publish_time, 'int' diff --git a/lib/facebook_ads/ad_objects/home_listing.rb b/lib/facebook_ads/ad_objects/home_listing.rb index e69eb55d..8380ca3b 100644 --- a/lib/facebook_ads/ad_objects/home_listing.rb +++ b/lib/facebook_ads/ad_objects/home_listing.rb @@ -77,7 +77,7 @@ class HomeListing < AdObject field :year_built, 'int' has_edge :augmented_realities_metadata do |edge| - edge.get + edge.get 'DynamicArMetadata' end has_edge :channels_to_integrity_status do |edge| diff --git a/lib/facebook_ads/ad_objects/hotel.rb b/lib/facebook_ads/ad_objects/hotel.rb index 32d9620c..0e0e5f65 100644 --- a/lib/facebook_ads/ad_objects/hotel.rb +++ b/lib/facebook_ads/ad_objects/hotel.rb @@ -56,7 +56,7 @@ class Hotel < AdObject field :base_price, 'int' has_edge :augmented_realities_metadata do |edge| - edge.get + edge.get 'DynamicArMetadata' end has_edge :channels_to_integrity_status do |edge| diff --git a/lib/facebook_ads/ad_objects/hours.rb b/lib/facebook_ads/ad_objects/hours.rb new file mode 100644 index 00000000..361e6a6a --- /dev/null +++ b/lib/facebook_ads/ad_objects/hours.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class Hours < AdObject + + field :id, 'string' + field :permanent_status, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ig_access_token_for_ig_only_api.rb b/lib/facebook_ads/ad_objects/ig_access_token_for_ig_only_api.rb new file mode 100644 index 00000000..a5041981 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ig_access_token_for_ig_only_api.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class IgAccessTokenForIgOnlyApi < AdObject + + field :access_token, 'string' + field :expires_in, 'int' + field :token_type, 'string' + field :id, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ig_boost_media_ad.rb b/lib/facebook_ads/ad_objects/ig_boost_media_ad.rb new file mode 100644 index 00000000..32213a73 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ig_boost_media_ad.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class IgBoostMediaAd < AdObject + + field :ad_id, 'string' + field :ad_status, 'string' + field :id, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ig_media.rb b/lib/facebook_ads/ad_objects/ig_media.rb index 0fb17bda..622445ce 100644 --- a/lib/facebook_ads/ad_objects/ig_media.rb +++ b/lib/facebook_ads/ad_objects/ig_media.rb @@ -15,6 +15,7 @@ module FacebookAds class IgMedia < AdObject + field :boost_eligibility_info, 'IgMediaBoostEligibilityInfo' field :caption, 'string' field :comments_count, 'int' field :copyright_check_information, 'IgVideoCopyrightCheckMatchesInformation' @@ -34,6 +35,10 @@ class IgMedia < AdObject field :username, 'string' has_no_delete + has_edge :boost_ads_list do |edge| + edge.get 'IgBoostMediaAd' + end + has_edge :branded_content_partner_promote do |edge| edge.get 'BrandedContentShadowIgUserId' edge.post 'BrandedContentShadowIgUserId' do |api| diff --git a/lib/facebook_ads/ad_objects/ig_media_boost_eligibility_info.rb b/lib/facebook_ads/ad_objects/ig_media_boost_eligibility_info.rb new file mode 100644 index 00000000..cad315b4 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ig_media_boost_eligibility_info.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class IgMediaBoostEligibilityInfo < AdObject + + field :boost_ineligible_reason, 'string' + field :eligible_to_boost, 'bool' + field :id, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ig_media_for_ig_only_api.rb b/lib/facebook_ads/ad_objects/ig_media_for_ig_only_api.rb new file mode 100644 index 00000000..c68a7e32 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ig_media_for_ig_only_api.rb @@ -0,0 +1,39 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class IgMediaForIgOnlyApi < AdObject + + field :caption, 'string' + field :id, 'string' + field :is_shared_to_feed, 'bool' + field :like_count, 'int' + field :media_product_type, 'string' + field :media_type, 'string' + field :media_url, 'string' + field :owner, 'User' + field :permalink, 'string' + field :shortcode, 'string' + field :thumbnail_url, 'string' + field :timestamp, 'datetime' + field :username, 'string' + has_no_post + has_no_delete + + has_edge :children do |edge| + edge.get + end + + end +end diff --git a/lib/facebook_ads/ad_objects/ig_product_tagging_invalidation_error.rb b/lib/facebook_ads/ad_objects/ig_product_tagging_invalidation_error.rb new file mode 100644 index 00000000..212ebcbc --- /dev/null +++ b/lib/facebook_ads/ad_objects/ig_product_tagging_invalidation_error.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class IgProductTaggingInvalidationError < AdObject + + field :description, 'string' + field :taggability_state, 'string' + field :title, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ig_refresh_access_token_for_ig_only_api.rb b/lib/facebook_ads/ad_objects/ig_refresh_access_token_for_ig_only_api.rb new file mode 100644 index 00000000..47075527 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ig_refresh_access_token_for_ig_only_api.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class IgRefreshAccessTokenForIgOnlyApi < AdObject + + field :access_token, 'string' + field :expires_in, 'int' + field :token_type, 'string' + field :id, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ig_resumable_video_upload_status.rb b/lib/facebook_ads/ad_objects/ig_resumable_video_upload_status.rb new file mode 100644 index 00000000..26d39e79 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ig_resumable_video_upload_status.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class IgResumableVideoUploadStatus < AdObject + + field :processing_phase, 'VideoStatusProcessingPhase' + field :uploading_phase, 'VideoStatusUploadingPhase' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ig_user.rb b/lib/facebook_ads/ad_objects/ig_user.rb index ca663ba0..08c7b975 100644 --- a/lib/facebook_ads/ad_objects/ig_user.rb +++ b/lib/facebook_ads/ad_objects/ig_user.rb @@ -42,6 +42,7 @@ class IgUser < AdObject edge.get 'IgbcAdsPermission' edge.post 'IgbcAdsPermission' do |api| api.has_param :creator_instagram_account, 'string' + api.has_param :creator_instagram_username, 'string' api.has_param :revoke, 'bool' end end @@ -80,7 +81,8 @@ class IgUser < AdObject end has_edge :dataset do |edge| - edge.get 'Dataset' + edge.get 'AdsPixel' + edge.post 'AdsPixel' end has_edge :insights do |edge| diff --git a/lib/facebook_ads/ad_objects/ig_user_for_ig_only_api.rb b/lib/facebook_ads/ad_objects/ig_user_for_ig_only_api.rb new file mode 100644 index 00000000..7f4ab3b5 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ig_user_for_ig_only_api.rb @@ -0,0 +1,41 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class IgUserForIgOnlyApi < AdObject + + field :account_type, 'string' + field :id, 'string' + field :media_count, 'int' + field :username, 'string' + has_no_post + has_no_delete + + has_edge :live_media do |edge| + edge.get + end + + has_edge :media do |edge| + edge.get do |api| + api.has_param :since, 'datetime' + api.has_param :until, 'datetime' + end + end + + has_edge :stories do |edge| + edge.get + end + + end +end diff --git a/lib/facebook_ads/ad_objects/image_copyright_dispute.rb b/lib/facebook_ads/ad_objects/image_copyright_dispute.rb new file mode 100644 index 00000000..e856e136 --- /dev/null +++ b/lib/facebook_ads/ad_objects/image_copyright_dispute.rb @@ -0,0 +1,31 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ImageCopyrightDispute < AdObject + + field :appeal_form_data, 'string' + field :dispute_form_data, 'string' + field :expiration_time, 'datetime' + field :id, 'string' + field :match_id, 'string' + field :status, 'string' + field :time_appealed, 'datetime' + field :time_created, 'datetime' + field :time_updated, 'datetime' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/image_reference_match.rb b/lib/facebook_ads/ad_objects/image_reference_match.rb new file mode 100644 index 00000000..51cef663 --- /dev/null +++ b/lib/facebook_ads/ad_objects/image_reference_match.rb @@ -0,0 +1,39 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ImageReferenceMatch < AdObject + + field :conflicting_countries, { list: 'string' } + field :country_resolution_history, { list: 'map>' } + field :creation_time, 'datetime' + field :current_conflict_resolved_countries, { list: 'hash' } + field :displayed_match_state, 'string' + field :dispute_form_data_entries_with_translations, { list: 'object' } + field :expiration_time, 'datetime' + field :id, 'string' + field :match_state, 'string' + field :matched_reference_copyright, 'ImageCopyright' + field :matched_reference_owner, 'Profile' + field :modification_history, { list: 'object' } + field :reference_copyright, 'ImageCopyright' + field :reference_owner, 'Profile' + field :rejection_form_data_entries_with_translations, { list: 'object' } + field :resolution_reason, 'string' + field :update_time, 'datetime' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/insights_result.rb b/lib/facebook_ads/ad_objects/insights_result.rb index 9dcd5a5c..43f22999 100644 --- a/lib/facebook_ads/ad_objects/insights_result.rb +++ b/lib/facebook_ads/ad_objects/insights_result.rb @@ -46,6 +46,199 @@ class InsightsResult < AdObject "week", ] + METRIC = [ + "blue_reels_play_count", + "creator_monetization_qualified_views", + "fb_media_matching_copyright_comment_count", + "fb_media_matching_copyright_daily_comment_count", + "fb_media_matching_copyright_daily_like_count", + "fb_media_matching_copyright_daily_post_impressions", + "fb_media_matching_copyright_daily_post_impressions_by_age_bucket_and_gender", + "fb_media_matching_copyright_daily_post_impressions_by_country", + "fb_media_matching_copyright_daily_post_impressions_by_locale", + "fb_media_matching_copyright_daily_post_impressions_by_matching_post_id", + "fb_media_matching_copyright_daily_post_impressions_by_matching_post_owner_id", + "fb_media_matching_copyright_daily_post_reactions_anger_count", + "fb_media_matching_copyright_daily_post_reactions_haha_count", + "fb_media_matching_copyright_daily_post_reactions_like_count", + "fb_media_matching_copyright_daily_post_reactions_love_count", + "fb_media_matching_copyright_daily_post_reactions_sorry_count", + "fb_media_matching_copyright_daily_post_reactions_wow_count", + "fb_media_matching_copyright_daily_post_share_count", + "fb_media_matching_copyright_like_count", + "fb_media_matching_copyright_post_impressions", + "fb_media_matching_copyright_post_impressions_by_age_bucket_and_gender", + "fb_media_matching_copyright_post_impressions_by_country", + "fb_media_matching_copyright_post_impressions_by_locale", + "fb_media_matching_copyright_post_impressions_by_matching_post_id", + "fb_media_matching_copyright_post_impressions_by_matching_post_owner_id", + "fb_media_matching_copyright_post_reactions_anger_count", + "fb_media_matching_copyright_post_reactions_haha_count", + "fb_media_matching_copyright_post_reactions_like_count", + "fb_media_matching_copyright_post_reactions_love_count", + "fb_media_matching_copyright_post_reactions_sorry_count", + "fb_media_matching_copyright_post_reactions_wow_count", + "fb_media_matching_copyright_post_share_count", + "fb_reels_replay_count", + "fb_reels_total_plays", + "has_total_video_views_by_publisher_platform_type", + "post_impressions_unique", + "post_video_avg_time_watched", + "post_video_followers", + "post_video_likes_by_reaction_type", + "post_video_retention_graph", + "post_video_social_actions", + "post_video_view_time", + "rights_manager_matching_copyright_matching_page_or_profile_view_count", + "rights_manager_matching_copyright_matching_video_view_count", + "rights_manager_matching_copyright_video_view_count", + "rights_manager_matching_copyright_video_view_count_60s", + "rights_manager_matching_copyright_video_view_count_60s_by_age_bucket_and_gender", + "rights_manager_matching_copyright_video_view_count_60s_by_country_id", + "rights_manager_matching_copyright_video_view_count_60s_by_locale", + "total_audio_only_product_listen_count", + "total_video_10s_views", + "total_video_10s_views_auto_played", + "total_video_10s_views_clicked_to_play", + "total_video_10s_views_organic", + "total_video_10s_views_paid", + "total_video_10s_views_sound_on", + "total_video_10s_views_unique", + "total_video_15s_views", + "total_video_30s_views", + "total_video_30s_views_auto_played", + "total_video_30s_views_clicked_to_play", + "total_video_30s_views_organic", + "total_video_30s_views_paid", + "total_video_30s_views_unique", + "total_video_60s_excludes_shorter_views", + "total_video_60s_excludes_shorter_views_by_age_bucket_and_gender", + "total_video_60s_excludes_shorter_views_by_distribution_source", + "total_video_60s_excludes_shorter_views_by_growth_accounting_bucket", + "total_video_60s_excludes_shorter_views_by_growth_accounting_bucket_and_time_since_creation_bucket", + "total_video_60s_excludes_shorter_views_by_is_60s_returning_viewer", + "total_video_60s_excludes_shorter_views_by_is_60s_returning_viewer_and_time_since_creation_bucket", + "total_video_60s_excludes_shorter_views_live", + "total_video_60s_excludes_shorter_views_unique", + "total_video_60s_excludes_shorter_views_unique_by_age_bucket_and_gender", + "total_video_60s_excludes_shorter_views_unique_by_growth_accounting_bucket", + "total_video_60s_excludes_shorter_views_unique_by_growth_accounting_bucket_and_time_since_creation_bucket", + "total_video_60s_excludes_shorter_views_unique_by_is_60s_returning_viewer", + "total_video_60s_excludes_shorter_views_unique_by_is_60s_returning_viewer_and_time_since_creation_bucket", + "total_video_ad_break_ad_cpm", + "total_video_ad_break_ad_impressions", + "total_video_ad_break_earnings", + "total_video_ad_break_earnings_with_subsidy", + "total_video_ad_impressions_by_monetization_type", + "total_video_avg_time_watched", + "total_video_avg_time_watched_by_distribution_source", + "total_video_avg_time_watched_by_is_60s_returning_viewer", + "total_video_avg_time_watched_by_time_since_creation_bucket", + "total_video_avg_time_watched_followers", + "total_video_avg_time_watched_live", + "total_video_comment_sentiment", + "total_video_comment_sentiment_by_factors", + "total_video_complete_views", + "total_video_complete_views_auto_played", + "total_video_complete_views_clicked_to_play", + "total_video_complete_views_organic", + "total_video_complete_views_organic_unique", + "total_video_complete_views_paid", + "total_video_complete_views_paid_unique", + "total_video_complete_views_unique", + "total_video_consumption_rate", + "total_video_followers_unique", + "total_video_growth_score", + "total_video_growth_score_by_factors", + "total_video_impressions", + "total_video_impressions_fan", + "total_video_impressions_fan_paid", + "total_video_impressions_fan_paid_unique", + "total_video_impressions_fan_unique", + "total_video_impressions_organic", + "total_video_impressions_organic_unique", + "total_video_impressions_paid", + "total_video_impressions_paid_unique", + "total_video_impressions_unique", + "total_video_impressions_viral", + "total_video_impressions_viral_unique", + "total_video_imps_count_unique_by_age_bucket", + "total_video_imps_count_unique_by_age_bucket_and_gender", + "total_video_imps_count_unique_by_gender", + "total_video_likes_by_reaction_type", + "total_video_negative_feedback", + "total_video_net_followers", + "total_video_net_followers_unique", + "total_video_net_followers_unique_by_time_since_creation_bucket", + "total_video_play_count", + "total_video_play_count_by_is_60s_returning_viewer_and_time_since_creation_bucket", + "total_video_play_count_by_time_since_creation_bucket", + "total_video_reactions_by_type_total", + "total_video_relative_retention_graph", + "total_video_retention_graph", + "total_video_retention_graph_15s", + "total_video_retention_graph_15s_followers", + "total_video_retention_graph_15s_newsfeed", + "total_video_retention_graph_15s_recommended", + "total_video_retention_graph_15s_shares", + "total_video_retention_graph_15s_watch", + "total_video_retention_graph_autoplayed", + "total_video_retention_graph_clicked_to_play", + "total_video_retention_graph_gender_female", + "total_video_retention_graph_gender_male", + "total_video_social_actions", + "total_video_social_actions_comment_by_distribution_type", + "total_video_social_actions_count_unique", + "total_video_social_actions_count_unique_by_age_bucket", + "total_video_social_actions_count_unique_by_age_bucket_and_gender", + "total_video_social_actions_count_unique_by_gender", + "total_video_social_actions_reaction_by_distribution_type", + "total_video_stories_by_action_type", + "total_video_unfollowers", + "total_video_unfollowers_unique", + "total_video_view_count_unique_by_age_bucket", + "total_video_view_count_unique_by_age_bucket_and_gender", + "total_video_view_count_unique_by_gender", + "total_video_view_time_by_age_bucket_and_gender", + "total_video_view_time_by_country_id", + "total_video_view_time_by_distribution_source", + "total_video_view_time_by_distribution_type", + "total_video_view_time_by_is_60s_returning_viewer_and_time_since_creation_bucket", + "total_video_view_time_by_region_id", + "total_video_view_time_by_time_since_creation_bucket", + "total_video_view_total_time", + "total_video_view_total_time_by_is_60s_returning_viewer", + "total_video_view_total_time_by_paid_non_paid", + "total_video_view_total_time_live", + "total_video_view_total_time_organic", + "total_video_view_total_time_paid", + "total_video_view_total_time_vod", + "total_video_views", + "total_video_views_autoplayed", + "total_video_views_by_age_bucket_and_gender", + "total_video_views_by_country_id", + "total_video_views_by_distribution_type", + "total_video_views_by_paid_non_paid", + "total_video_views_by_region_id", + "total_video_views_by_region_id_proper", + "total_video_views_clicked_to_play", + "total_video_views_gender_female", + "total_video_views_gender_female_live", + "total_video_views_gender_male", + "total_video_views_gender_male_live", + "total_video_views_live", + "total_video_views_live_autoplayed", + "total_video_views_live_clicked_to_play", + "total_video_views_organic", + "total_video_views_organic_unique", + "total_video_views_paid", + "total_video_views_paid_unique", + "total_video_views_sound_on", + "total_video_views_unique", + "total_video_views_vod", + "video_asset_60s_video_view_total_count_by_is_monetizable", + ] + field :description, 'string' field :description_from_api_doc, 'string' diff --git a/lib/facebook_ads/ad_objects/instagram_boostable_media_for_access_token.rb b/lib/facebook_ads/ad_objects/instagram_boostable_media_for_access_token.rb new file mode 100644 index 00000000..72a91291 --- /dev/null +++ b/lib/facebook_ads/ad_objects/instagram_boostable_media_for_access_token.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class InstagramBoostableMediaForAccessToken < AdObject + + field :has_product_tags, 'bool' + field :media, 'IgMedia' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/instagram_insights_result.rb b/lib/facebook_ads/ad_objects/instagram_insights_result.rb index 98a7cfbd..099eb3fc 100644 --- a/lib/facebook_ads/ad_objects/instagram_insights_result.rb +++ b/lib/facebook_ads/ad_objects/instagram_insights_result.rb @@ -24,8 +24,6 @@ class InstagramInsightsResult < AdObject METRIC = [ "clips_replays_count", "comments", - "engagement", - "exits", "follows", "ig_reels_aggregated_all_plays_count", "ig_reels_avg_watch_time", @@ -40,8 +38,6 @@ class InstagramInsightsResult < AdObject "replies", "saved", "shares", - "taps_back", - "taps_forward", "total_interactions", "video_views", ] diff --git a/lib/facebook_ads/ad_objects/instagram_related_product_tags.rb b/lib/facebook_ads/ad_objects/instagram_related_product_tags.rb new file mode 100644 index 00000000..fddc1ead --- /dev/null +++ b/lib/facebook_ads/ad_objects/instagram_related_product_tags.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class InstagramRelatedProductTags < AdObject + + field :checkout_setting, 'string' + field :id, 'int' + field :image_uri, 'string' + field :name, 'string' + field :price_label, 'string' + field :sale_price_label, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/instagram_user.rb b/lib/facebook_ads/ad_objects/instagram_user.rb index e747ea0b..ecdbeb9d 100644 --- a/lib/facebook_ads/ad_objects/instagram_user.rb +++ b/lib/facebook_ads/ad_objects/instagram_user.rb @@ -34,7 +34,7 @@ class InstagramUser < AdObject end has_edge :ar_effects do |edge| - edge.get + edge.get 'ArEffect' end has_edge :authorized_adaccounts do |edge| diff --git a/lib/facebook_ads/ad_objects/instant_article_cta.rb b/lib/facebook_ads/ad_objects/instant_article_cta.rb new file mode 100644 index 00000000..6174a2be --- /dev/null +++ b/lib/facebook_ads/ad_objects/instant_article_cta.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class InstantArticleCta < AdObject + + field :id, 'string' + field :is_enabled, 'bool' + field :publisher_defined_value, 'double' + field :type, 'string' + field :update_time, 'datetime' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/instant_article_insights_query_result.rb b/lib/facebook_ads/ad_objects/instant_article_insights_query_result.rb new file mode 100644 index 00000000..908c7803 --- /dev/null +++ b/lib/facebook_ads/ad_objects/instant_article_insights_query_result.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class InstantArticleInsightsQueryResult < AdObject + + field :breakdowns, 'hash' + field :name, 'string' + field :time, 'datetime' + field :value, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ip_object.rb b/lib/facebook_ads/ad_objects/ip_object.rb new file mode 100644 index 00000000..f2739c27 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ip_object.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class IpObject < AdObject + + field :ip_permission, 'string' + field :user, 'object' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/keyword_delivery_report.rb b/lib/facebook_ads/ad_objects/keyword_delivery_report.rb new file mode 100644 index 00000000..d85b39f0 --- /dev/null +++ b/lib/facebook_ads/ad_objects/keyword_delivery_report.rb @@ -0,0 +1,33 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class KeywordDeliveryReport < AdObject + + field :estimated_clicks, 'int' + field :estimated_conversions, 'int' + field :estimated_cost, 'double' + field :estimated_cpc, 'double' + field :estimated_ctr, 'double' + field :estimated_cvr, 'double' + field :estimated_impressions, 'int' + field :estimated_returns, 'double' + field :keyword, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/lead_gen_data_draft.rb b/lib/facebook_ads/ad_objects/lead_gen_data_draft.rb new file mode 100644 index 00000000..b4e22b0d --- /dev/null +++ b/lib/facebook_ads/ad_objects/lead_gen_data_draft.rb @@ -0,0 +1,37 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class LeadGenDataDraft < AdObject + + field :block_display_for_non_targeted_viewer, 'bool' + field :created_time, 'datetime' + field :disqualified_end_component, 'object' + field :follow_up_action_url, 'string' + field :id, 'string' + field :is_optimized_for_quality, 'bool' + field :legal_content, 'object' + field :locale, 'string' + field :name, 'string' + field :page, 'Page' + field :question_page_custom_headline, 'string' + field :questions, { list: 'LeadGenDraftQuestion' } + field :status, 'string' + field :thank_you_page, 'object' + field :tracking_parameters, { list: 'hash' } + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/lead_gen_direct_crm_integration_config.rb b/lib/facebook_ads/ad_objects/lead_gen_direct_crm_integration_config.rb new file mode 100644 index 00000000..08b1b853 --- /dev/null +++ b/lib/facebook_ads/ad_objects/lead_gen_direct_crm_integration_config.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class LeadGenDirectCrmIntegrationConfig < AdObject + + field :auth_id, 'string' + field :creation_time, 'datetime' + field :id, 'string' + field :lead_gen_data, 'LeadgenForm' + field :matched_fields, { list: 'hash' } + field :matched_fields_labels, { list: 'hash' } + field :resources, { list: 'hash' } + field :third_party_app_id, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/lead_gen_form_preview_details.rb b/lib/facebook_ads/ad_objects/lead_gen_form_preview_details.rb new file mode 100644 index 00000000..9872f7b1 --- /dev/null +++ b/lib/facebook_ads/ad_objects/lead_gen_form_preview_details.rb @@ -0,0 +1,57 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class LeadGenFormPreviewDetails < AdObject + + field :call_to_action_title, 'string' + field :contact_information_text, 'string' + field :creatives_overview_default_text, 'string' + field :data_privacy_policy_setting_description, 'string' + field :default_appointment_scheduling_inline_context, 'string' + field :default_disqualified_end_component, 'object' + field :default_thank_you_page, 'object' + field :disqualified_thank_you_card_transparency_info_text, 'string' + field :edit_text, 'string' + field :email_inline_context_text, 'string' + field :email_messenger_push_opt_in_disclaimer, 'string' + field :email_messenger_push_opt_in_transparency_text, 'string' + field :form_clarity_description_content, 'string' + field :form_clarity_description_title, 'string' + field :form_clarity_headline, 'string' + field :gated_content_locked_description, 'string' + field :gated_content_locked_headline, 'string' + field :gated_content_unlocked_description, 'string' + field :gated_content_unlocked_headline, 'string' + field :how_it_works_section_headers, { list: 'hash' } + field :next_button_text, 'string' + field :optional_question_text, 'string' + field :personal_info_text, 'string' + field :phone_number_inline_context_text, 'string' + field :privacy_policy_title_section_title_text, 'string' + field :privacy_setting_description, 'string' + field :products_section_headers, { list: 'hash' } + field :qualified_thank_you_card_transparency_info_text, 'string' + field :review_your_info_text, 'string' + field :secure_sharing_text, 'string' + field :slide_to_submit_text, 'string' + field :social_proof_section_headers, { list: 'hash' } + field :submit_button_text, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/lead_gen_thank_you_page_gated_file.rb b/lib/facebook_ads/ad_objects/lead_gen_thank_you_page_gated_file.rb new file mode 100644 index 00000000..5743ad6e --- /dev/null +++ b/lib/facebook_ads/ad_objects/lead_gen_thank_you_page_gated_file.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class LeadGenThankYouPageGatedFile < AdObject + + field :file_cdn_url, 'string' + field :file_name, 'string' + field :file_size_bytes, 'int' + field :id, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/lead_gen_thank_you_page_gated_promo.rb b/lib/facebook_ads/ad_objects/lead_gen_thank_you_page_gated_promo.rb new file mode 100644 index 00000000..2e833838 --- /dev/null +++ b/lib/facebook_ads/ad_objects/lead_gen_thank_you_page_gated_promo.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class LeadGenThankYouPageGatedPromo < AdObject + + field :id, 'string' + field :online_offer_url, 'string' + field :online_promo_code, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/linked_instagram_account_data.rb b/lib/facebook_ads/ad_objects/linked_instagram_account_data.rb new file mode 100644 index 00000000..86dcd732 --- /dev/null +++ b/lib/facebook_ads/ad_objects/linked_instagram_account_data.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class LinkedInstagramAccountData < AdObject + + field :access_token, 'string' + field :analytics_claim, 'string' + field :full_name, 'string' + field :profile_picture_url, 'string' + field :user_id, 'string' + field :user_name, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/location_based_item.rb b/lib/facebook_ads/ad_objects/location_based_item.rb new file mode 100644 index 00000000..6cd9a6fc --- /dev/null +++ b/lib/facebook_ads/ad_objects/location_based_item.rb @@ -0,0 +1,53 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class LocationBasedItem < AdObject + IMAGE_FETCH_STATUS = [ + "DIRECT_UPLOAD", + "FETCHED", + "FETCH_FAILED", + "NO_STATUS", + "OUTDATED", + "PARTIAL_FETCH", + ] + + VISIBILITY = [ + "PUBLISHED", + "STAGING", + ] + + + field :applinks, 'CatalogItemAppLinks' + field :category_specific_fields, 'CatalogSubVerticalList' + field :currency, 'string' + field :description, 'string' + field :id, 'string' + field :image_fetch_status, { enum: -> { IMAGE_FETCH_STATUS }} + field :images, { list: 'string' } + field :location_based_item_id, 'string' + field :name, 'string' + field :price, 'string' + field :sanitized_images, { list: 'string' } + field :url, 'string' + field :visibility, { enum: -> { VISIBILITY }} + has_no_post + has_no_delete + + has_edge :channels_to_integrity_status do |edge| + edge.get 'CatalogItemChannelsToIntegrityStatus' + end + + end +end diff --git a/lib/facebook_ads/ad_objects/dataset.rb b/lib/facebook_ads/ad_objects/loom_config.rb similarity index 94% rename from lib/facebook_ads/ad_objects/dataset.rb rename to lib/facebook_ads/ad_objects/loom_config.rb index 77bebc47..82c9e34e 100644 --- a/lib/facebook_ads/ad_objects/dataset.rb +++ b/lib/facebook_ads/ad_objects/loom_config.rb @@ -13,7 +13,7 @@ module FacebookAds # on github and we'll fix in our codegen framework. We'll not be able to accept # pull request for this class. - class Dataset < AdObject + class LoomConfig < AdObject field :id, 'string' has_no_get diff --git a/lib/facebook_ads/ad_objects/marketing_message_targeting.rb b/lib/facebook_ads/ad_objects/marketing_message_targeting.rb new file mode 100644 index 00000000..d112f347 --- /dev/null +++ b/lib/facebook_ads/ad_objects/marketing_message_targeting.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class MarketingMessageTargeting < AdObject + + field :automation_type, 'string' + field :delay_send_time_second, 'int' + field :delay_send_time_unit, 'string' + field :subscriber_lists, { list: 'RawCustomAudience' } + field :targeting_rules, { list: 'object' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/mc_experience_config_for_api.rb b/lib/facebook_ads/ad_objects/mc_experience_config_for_api.rb new file mode 100644 index 00000000..e409aa5e --- /dev/null +++ b/lib/facebook_ads/ad_objects/mc_experience_config_for_api.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class McExperienceConfigForApi < AdObject + + field :is_campaign_enabled, 'bool' + field :is_terms_signed, 'bool' + field :merchant_type, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/mcom_invoice_bank_account.rb b/lib/facebook_ads/ad_objects/mcom_invoice_bank_account.rb new file mode 100644 index 00000000..c1a6370b --- /dev/null +++ b/lib/facebook_ads/ad_objects/mcom_invoice_bank_account.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class McomInvoiceBankAccount < AdObject + + field :num_pending_verification_accounts, 'int' + field :num_verified_accounts, 'int' + field :pending_verification_accounts, { list: 'object' } + field :verified_accounts, { list: 'object' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/mcom_invoice_details.rb b/lib/facebook_ads/ad_objects/mcom_invoice_details.rb new file mode 100644 index 00000000..3a69e788 --- /dev/null +++ b/lib/facebook_ads/ad_objects/mcom_invoice_details.rb @@ -0,0 +1,43 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class McomInvoiceDetails < AdObject + + field :additional_amounts, { list: 'object' } + field :buyer_notes, 'string' + field :currency_amount, 'object' + field :external_invoice_id, 'string' + field :features, 'object' + field :invoice_created, 'int' + field :invoice_id, 'string' + field :invoice_instructions, 'string' + field :invoice_instructions_image_url, 'string' + field :invoice_updated, 'int' + field :outstanding_amount, 'object' + field :paid_amount, 'object' + field :payments, { list: 'object' } + field :platform_logo_url, 'string' + field :platform_name, 'string' + field :product_items, { list: 'object' } + field :shipping_address, 'object' + field :status, 'string' + field :tracking_info, 'object' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/mcom_invoice_lists.rb b/lib/facebook_ads/ad_objects/mcom_invoice_lists.rb new file mode 100644 index 00000000..837e3227 --- /dev/null +++ b/lib/facebook_ads/ad_objects/mcom_invoice_lists.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class McomInvoiceLists < AdObject + + field :invoice_details, { list: 'McomInvoiceDetails' } + field :invoice_ids, { list: 'string' } + field :page_id, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/mcom_invoice_status.rb b/lib/facebook_ads/ad_objects/mcom_invoice_status.rb new file mode 100644 index 00000000..7e0f4554 --- /dev/null +++ b/lib/facebook_ads/ad_objects/mcom_invoice_status.rb @@ -0,0 +1,36 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class McomInvoiceStatus < AdObject + + field :bank_account_number, 'string' + field :bank_code, 'string' + field :invoice_id, 'string' + field :invoice_status, 'string' + field :page_id, 'string' + field :payment_method, 'string' + field :payment_type, 'string' + field :payout_amount, 'object' + field :slip_verification_error, 'string' + field :slip_verification_status, 'string' + field :transaction_fee, 'object' + field :transfer_slip, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/mcom_onboarding_status.rb b/lib/facebook_ads/ad_objects/mcom_onboarding_status.rb new file mode 100644 index 00000000..4acb4b07 --- /dev/null +++ b/lib/facebook_ads/ad_objects/mcom_onboarding_status.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class McomOnboardingStatus < AdObject + + field :onboarding_status, 'string' + field :page_id, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/mcom_payouts.rb b/lib/facebook_ads/ad_objects/mcom_payouts.rb new file mode 100644 index 00000000..fcb71372 --- /dev/null +++ b/lib/facebook_ads/ad_objects/mcom_payouts.rb @@ -0,0 +1,31 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class McomPayouts < AdObject + + field :number_of_orders, 'int' + field :order_ids, { list: 'string' } + field :payout_amount, 'object' + field :payout_provider_reference_id, 'string' + field :payout_status, 'string' + field :payout_time, 'int' + field :provider, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/measurement_report.rb b/lib/facebook_ads/ad_objects/measurement_report.rb new file mode 100644 index 00000000..42c94358 --- /dev/null +++ b/lib/facebook_ads/ad_objects/measurement_report.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class MeasurementReport < AdObject + + field :download_urls, { list: 'string' } + field :id, 'string' + field :metadata, 'hash' + field :report_type, 'string' + field :status, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/media_copyright_attribution.rb b/lib/facebook_ads/ad_objects/media_copyright_attribution.rb new file mode 100644 index 00000000..b00b7971 --- /dev/null +++ b/lib/facebook_ads/ad_objects/media_copyright_attribution.rb @@ -0,0 +1,38 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class MediaCopyrightAttribution < AdObject + + field :attribution_ig_target_id, 'string' + field :attribution_target_email_address, 'string' + field :attribution_target_id, 'string' + field :attribution_target_name, 'string' + field :attribution_type, 'string' + field :attribution_uri, 'string' + field :copyright_count, 'int' + field :creation_time, 'datetime' + field :creator, 'Profile' + field :id, 'string' + field :is_enabled, 'bool' + field :link_title, 'string' + field :match_count, 'int' + field :owner, 'Page' + field :status, 'string' + field :title, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/media_copyright_update_record.rb b/lib/facebook_ads/ad_objects/media_copyright_update_record.rb new file mode 100644 index 00000000..d915d5a8 --- /dev/null +++ b/lib/facebook_ads/ad_objects/media_copyright_update_record.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class MediaCopyrightUpdateRecord < AdObject + + field :action_types, { list: 'string' } + field :actor, 'User' + field :actor_type, 'string' + field :creation_time, 'datetime' + field :id, 'string' + field :ownership_countries, { list: 'object' } + field :whitelisted_accounts, { list: 'object' } + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/media_title.rb b/lib/facebook_ads/ad_objects/media_title.rb index b47f3a5d..57d35587 100644 --- a/lib/facebook_ads/ad_objects/media_title.rb +++ b/lib/facebook_ads/ad_objects/media_title.rb @@ -58,7 +58,7 @@ class MediaTitle < AdObject field :wiki_data_item, 'string' has_edge :augmented_realities_metadata do |edge| - edge.get + edge.get 'DynamicArMetadata' end has_edge :channels_to_integrity_status do |edge| diff --git a/lib/facebook_ads/ad_objects/merchant_compliance.rb b/lib/facebook_ads/ad_objects/merchant_compliance.rb new file mode 100644 index 00000000..1036db46 --- /dev/null +++ b/lib/facebook_ads/ad_objects/merchant_compliance.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class MerchantCompliance < AdObject + + field :active_campaigns, 'int' + field :compliance_status, 'string' + field :count_down_start_time, 'int' + field :purchase, 'int' + field :purchase_conversion_value, 'double' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/merchant_report.rb b/lib/facebook_ads/ad_objects/merchant_report.rb new file mode 100644 index 00000000..f05102aa --- /dev/null +++ b/lib/facebook_ads/ad_objects/merchant_report.rb @@ -0,0 +1,39 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class MerchantReport < AdObject + + field :add_to_cart, 'int' + field :brand, 'string' + field :catalog_segment_id, 'string' + field :catalog_segment_purchase_value, 'double' + field :category, 'string' + field :date, 'string' + field :latest_date, 'string' + field :link_clicks, 'int' + field :merchant_currency, 'string' + field :page_id, 'string' + field :product_id, 'string' + field :product_quantity, 'int' + field :product_total_value, 'double' + field :purchase, 'int' + field :purchase_value, 'double' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/messaging_apps_info.rb b/lib/facebook_ads/ad_objects/messaging_apps_info.rb new file mode 100644 index 00000000..7c9eb0a5 --- /dev/null +++ b/lib/facebook_ads/ad_objects/messaging_apps_info.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class MessagingAppsInfo < AdObject + + field :has_instagram_messaging_permission, 'bool' + field :has_messenger_messaging_permission, 'bool' + field :id, 'string' + field :name, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/messenger_call_settings.rb b/lib/facebook_ads/ad_objects/messenger_call_settings.rb new file mode 100644 index 00000000..c65bea7a --- /dev/null +++ b/lib/facebook_ads/ad_objects/messenger_call_settings.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class MessengerCallSettings < AdObject + + field :audio_enabled, 'bool' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/messenger_destination_page_welcome_message.rb b/lib/facebook_ads/ad_objects/messenger_destination_page_welcome_message.rb new file mode 100644 index 00000000..15a0099b --- /dev/null +++ b/lib/facebook_ads/ad_objects/messenger_destination_page_welcome_message.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class MessengerDestinationPageWelcomeMessage < AdObject + + field :id, 'string' + field :page_welcome_message_body, 'string' + field :page_welcome_message_type, 'string' + field :template_name, 'string' + field :time_created, 'datetime' + field :time_last_used, 'datetime' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/mix_insights_result.rb b/lib/facebook_ads/ad_objects/mix_insights_result.rb new file mode 100644 index 00000000..a3bacd8d --- /dev/null +++ b/lib/facebook_ads/ad_objects/mix_insights_result.rb @@ -0,0 +1,45 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class MixInsightsResult < AdObject + + field :daily_age_gender_breakdown, { list: 'map>>' } + field :daily_audio_library_values, { list: 'hash' } + field :daily_ugc_values, { list: 'hash' } + field :daily_values, { list: 'hash' } + field :metric, 'string' + field :monthly_audio_library_values, { list: 'hash' } + field :monthly_ugc_values, { list: 'hash' } + field :monthly_values, { list: 'hash' } + field :percent_growth, 'double' + field :shielded_fields, { list: 'map>>' } + field :total_age_gender_breakdown, { list: 'hash' } + field :total_audio_library_value, 'int' + field :total_country_breakdown, { list: 'hash' } + field :total_locale_breakdown, { list: 'hash' } + field :total_product_breakdown, { list: 'hash' } + field :total_ugc_value, 'int' + field :total_value, 'int' + field :trending_age, { list: 'map>>' } + field :trending_gender, { list: 'map>>' } + field :trending_interest, { list: 'map>>' } + field :trending_territory, { list: 'map>>' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/music_work_copyright.rb b/lib/facebook_ads/ad_objects/music_work_copyright.rb new file mode 100644 index 00000000..98a0facc --- /dev/null +++ b/lib/facebook_ads/ad_objects/music_work_copyright.rb @@ -0,0 +1,33 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class MusicWorkCopyright < AdObject + + field :available_ui_actions, { list: 'string' } + field :claim_status, 'string' + field :creation_time, 'datetime' + field :displayed_fb_matches_count, 'int' + field :displayed_ig_matches_count, 'int' + field :displayed_matches_count, 'int' + field :id, 'string' + field :match_rule, 'VideoCopyrightRule' + field :status, 'string' + field :tags, { list: 'string' } + field :update_time, 'datetime' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/negative_keyword_list.rb b/lib/facebook_ads/ad_objects/negative_keyword_list.rb new file mode 100644 index 00000000..303a33cf --- /dev/null +++ b/lib/facebook_ads/ad_objects/negative_keyword_list.rb @@ -0,0 +1,33 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class NegativeKeywordList < AdObject + + field :applied_active_ad_campaign_groups, { list: 'hash' } + field :applied_inactive_ad_campaign_groups, { list: 'hash' } + field :creator_id, 'string' + field :id, 'string' + field :is_fully_reviewed, 'bool' + field :last_update_time, 'datetime' + field :last_update_user_id, 'string' + field :list_name, 'string' + field :total_approved_keyword_count, 'int' + field :total_declined_keyword_count, 'int' + field :total_negative_keyword_count, 'int' + field :total_validated_keyword_count, 'int' + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/offline_conversion_data_set.rb b/lib/facebook_ads/ad_objects/offline_conversion_data_set.rb index d7bc1311..d9b1fbd2 100644 --- a/lib/facebook_ads/ad_objects/offline_conversion_data_set.rb +++ b/lib/facebook_ads/ad_objects/offline_conversion_data_set.rb @@ -14,20 +14,6 @@ module FacebookAds # pull request for this class. class OfflineConversionDataSet < AdObject - PERMITTED_ROLES = [ - "ADMIN", - "ADVERTISER", - "UPLOADER", - ] - - RELATIONSHIP_TYPE = [ - "AD_MANAGER", - "AGENCY", - "AGGREGATOR", - "AUDIENCE_MANAGER", - "OTHER", - ] - field :automatic_matching_fields, { list: 'string' } field :business, 'Business' @@ -61,27 +47,17 @@ class OfflineConversionDataSet < AdObject field :owner_business, 'Business' field :usage, 'OfflineConversionDataSetUsage' field :valid_entries, 'int' - field :auto_assign_to_new_accounts_only, 'bool' + has_no_post + has_no_delete has_edge :adaccounts do |edge| edge.get 'AdAccount' do |api| api.has_param :business, 'string' end - edge.post 'OfflineConversionDataSet' do |api| - api.has_param :account_id, 'string' - api.has_param :auto_track_for_ads, 'bool' - api.has_param :business, 'string' - end end has_edge :agencies do |edge| edge.get 'Business' - edge.post 'OfflineConversionDataSet' do |api| - api.has_param :business, 'string' - api.has_param :other_relationship, 'string' - api.has_param :permitted_roles, { list: { enum: -> { OfflineConversionDataSet::PERMITTED_ROLES }} } - api.has_param :relationship_type, { list: { enum: -> { OfflineConversionDataSet::RELATIONSHIP_TYPE }} } - end end has_edge :audiences do |edge| @@ -133,16 +109,6 @@ class OfflineConversionDataSet < AdObject api.has_param :start_time, 'datetime' api.has_param :upload_tag, 'string' end - edge.post 'OfflineConversionDataSetUpload' do |api| - api.has_param :upload_tag, 'string' - end - end - - has_edge :validate do |edge| - edge.post 'OfflineConversionDataSet' do |api| - api.has_param :data, { list: 'string' } - api.has_param :namespace_id, 'string' - end end end diff --git a/lib/facebook_ads/ad_objects/offline_conversion_data_set_activities.rb b/lib/facebook_ads/ad_objects/offline_conversion_data_set_activities.rb new file mode 100644 index 00000000..fa235edc --- /dev/null +++ b/lib/facebook_ads/ad_objects/offline_conversion_data_set_activities.rb @@ -0,0 +1,33 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class OfflineConversionDataSetActivities < AdObject + + field :actor_id, 'int' + field :actor_name, 'string' + field :adaccount_id, 'int' + field :adaccount_name, 'string' + field :event_time, 'datetime' + field :event_type, 'string' + field :extra_data, 'string' + field :object_id, 'int' + field :object_name, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/offline_conversion_data_set_optimization_status.rb b/lib/facebook_ads/ad_objects/offline_conversion_data_set_optimization_status.rb new file mode 100644 index 00000000..a8f8d28a --- /dev/null +++ b/lib/facebook_ads/ad_objects/offline_conversion_data_set_optimization_status.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class OfflineConversionDataSetOptimizationStatus < AdObject + + field :event, 'string' + field :last_changed_time, 'int' + field :last_detected_time, 'int' + field :status, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/offline_product_item.rb b/lib/facebook_ads/ad_objects/offline_product_item.rb new file mode 100644 index 00000000..fb72e4d1 --- /dev/null +++ b/lib/facebook_ads/ad_objects/offline_product_item.rb @@ -0,0 +1,56 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class OfflineProductItem < AdObject + IMAGE_FETCH_STATUS = [ + "DIRECT_UPLOAD", + "FETCHED", + "FETCH_FAILED", + "NO_STATUS", + "OUTDATED", + "PARTIAL_FETCH", + ] + + VISIBILITY = [ + "PUBLISHED", + "STAGING", + ] + + + field :applinks, 'CatalogItemAppLinks' + field :brand, 'string' + field :category, 'string' + field :category_specific_fields, 'CatalogSubVerticalList' + field :currency, 'string' + field :description, 'string' + field :id, 'string' + field :image_fetch_status, { enum: -> { IMAGE_FETCH_STATUS }} + field :image_url, 'string' + field :images, { list: 'string' } + field :name, 'string' + field :offline_product_item_id, 'string' + field :price, 'string' + field :sanitized_images, { list: 'string' } + field :url, 'string' + field :visibility, { enum: -> { VISIBILITY }} + has_no_post + has_no_delete + + has_edge :channels_to_integrity_status do |edge| + edge.get 'CatalogItemChannelsToIntegrityStatus' + end + + end +end diff --git a/lib/facebook_ads/ad_objects/offline_terms_of_service.rb b/lib/facebook_ads/ad_objects/offline_terms_of_service.rb new file mode 100644 index 00000000..089aa0d4 --- /dev/null +++ b/lib/facebook_ads/ad_objects/offline_terms_of_service.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class OfflineTermsOfService < AdObject + + field :accept_time, 'int' + field :id, 'string' + field :signed_by_user, 'User' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/offsite_signal_container_business_object.rb b/lib/facebook_ads/ad_objects/offsite_signal_container_business_object.rb new file mode 100644 index 00000000..39ac9642 --- /dev/null +++ b/lib/facebook_ads/ad_objects/offsite_signal_container_business_object.rb @@ -0,0 +1,37 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class OffsiteSignalContainerBusinessObject < AdObject + + field :business, 'Business' + field :id, 'string' + field :is_eligible_for_sharing_to_ad_account, 'bool' + field :is_eligible_for_sharing_to_business, 'bool' + field :is_unavailable, 'bool' + field :name, 'string' + field :primary_container_id, 'string' + has_no_post + has_no_delete + + has_edge :linked_application do |edge| + edge.get 'AdsDataset' + end + + has_edge :linked_page do |edge| + edge.get 'Page' + end + + end +end diff --git a/lib/facebook_ads/ad_objects/open_bridge_configuration.rb b/lib/facebook_ads/ad_objects/open_bridge_configuration.rb index 7f7499ee..9418f054 100644 --- a/lib/facebook_ads/ad_objects/open_bridge_configuration.rb +++ b/lib/facebook_ads/ad_objects/open_bridge_configuration.rb @@ -15,7 +15,6 @@ module FacebookAds class OpenBridgeConfiguration < AdObject - field :access_key, 'string' field :active, 'bool' field :endpoint, 'string' field :fallback_domain, 'string' @@ -23,6 +22,7 @@ class OpenBridgeConfiguration < AdObject field :host_business_id, 'string' field :host_external_id, 'string' field :id, 'string' + field :instance_id, 'string' field :pixel_id, 'string' end diff --git a/lib/facebook_ads/ad_objects/order_id_attributions.rb b/lib/facebook_ads/ad_objects/order_id_attributions.rb new file mode 100644 index 00000000..b126ed9f --- /dev/null +++ b/lib/facebook_ads/ad_objects/order_id_attributions.rb @@ -0,0 +1,33 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class OrderIdAttributions < AdObject + + field :app_id, 'string' + field :attribution_type, 'string' + field :attributions, { list: 'object' } + field :conversion_device, 'string' + field :dataset_id, 'string' + field :holdout_status, { list: 'object' } + field :order_id, 'string' + field :order_timestamp, 'datetime' + field :pixel_id, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/organization.rb b/lib/facebook_ads/ad_objects/organization.rb new file mode 100644 index 00000000..ed94c0fc --- /dev/null +++ b/lib/facebook_ads/ad_objects/organization.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class Organization < AdObject + + field :hq_country, 'string' + field :id, 'string' + field :legal_entity_name, 'string' + field :master_bm_id, 'string' + field :owner_business, 'Business' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/owned_domain.rb b/lib/facebook_ads/ad_objects/owned_domain.rb new file mode 100644 index 00000000..bac52dec --- /dev/null +++ b/lib/facebook_ads/ad_objects/owned_domain.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class OwnedDomain < AdObject + + field :domain_name, 'string' + field :id, 'string' + field :owner_business, 'Business' + field :status, 'string' + field :verification_code, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/p2_m_invoice_payments.rb b/lib/facebook_ads/ad_objects/p2_m_invoice_payments.rb new file mode 100644 index 00000000..e8e9f103 --- /dev/null +++ b/lib/facebook_ads/ad_objects/p2_m_invoice_payments.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class P2MInvoicePayments < AdObject + + field :page_id, 'string' + field :payments, { list: 'object' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/page.rb b/lib/facebook_ads/ad_objects/page.rb index 0bcb518e..28126643 100644 --- a/lib/facebook_ads/ad_objects/page.rb +++ b/lib/facebook_ads/ad_objects/page.rb @@ -458,11 +458,11 @@ class Page < AdObject field :influences, 'string' field :instagram_business_account, 'IgUser' field :is_always_open, 'bool' + field :is_calling_eligible, 'bool' field :is_chain, 'bool' field :is_community_page, 'bool' field :is_eligible_for_branded_content, 'bool' field :is_eligible_for_disable_connect_ig_btn_for_non_page_admin_am_web, 'bool' - field :is_eligible_for_live_boosting_expansion, 'bool' field :is_messenger_bot_get_started_enabled, 'bool' field :is_messenger_platform_bot, 'bool' field :is_owned, 'bool' @@ -591,7 +591,7 @@ class Page < AdObject end has_edge :ar_experience do |edge| - edge.get + edge.get 'ArAdsDataContainer' end has_edge :assigned_users do |edge| @@ -635,7 +635,7 @@ class Page < AdObject end has_edge :businessprojects do |edge| - edge.get do |api| + edge.get 'BusinessProject' do |api| api.has_param :business, 'string' end end @@ -644,6 +644,16 @@ class Page < AdObject edge.get 'PageCallToAction' end + has_edge :calls do |edge| + edge.post do |api| + api.has_param :action, { enum: %w{ACCEPT REJECT TERMINATE }} + api.has_param :call_id, 'string' + api.has_param :platform, { enum: %w{INSTAGRAM MESSENGER }} + api.has_param :session, 'hash' + api.has_param :to, 'string' + end + end + has_edge :canvas_elements do |edge| edge.get 'CanvasBodyElement' edge.post 'CanvasBodyElement' do |api| @@ -734,11 +744,11 @@ class Page < AdObject end has_edge :copyright_manual_claims do |edge| - edge.post do |api| - api.has_param :action, { enum: %w{BLOCK CLAIM_AD_EARNINGS MANUAL_REVIEW MONITOR REQUEST_TAKEDOWN }} - api.has_param :action_reason, { enum: %w{ARTICLE_17_PREFLAGGING ARTIST_OBJECTION OBJECTIONABLE_CONTENT PREMIUM_MUSIC_VIDEO PRERELEASE_CONTENT PRODUCT_PARAMETERS RESTRICTED_CONTENT UNAUTHORIZED_COMMERCIAL_USE }} + edge.post 'VideoCopyrightMatch' do |api| + api.has_param :action, { enum: -> { VideoCopyrightMatch::ACTION }} + api.has_param :action_reason, { enum: -> { VideoCopyrightMatch::ACTION_REASON }} api.has_param :countries, 'object' - api.has_param :match_content_type, { enum: %w{AUDIO_ONLY VIDEO_AND_AUDIO VIDEO_ONLY }} + api.has_param :match_content_type, { enum: -> { VideoCopyrightMatch::MATCH_CONTENT_TYPE }} api.has_param :matched_asset_id, 'string' api.has_param :reference_asset_id, 'string' api.has_param :selected_segments, { list: 'hash' } @@ -772,7 +782,8 @@ class Page < AdObject end has_edge :dataset do |edge| - edge.get 'Dataset' + edge.get 'AdsPixel' + edge.post 'AdsPixel' end has_edge :events do |edge| @@ -792,7 +803,7 @@ class Page < AdObject end has_edge :fantasy_games do |edge| - edge.get + edge.get 'FantasyGame' end has_edge :feed do |edge| @@ -804,7 +815,6 @@ class Page < AdObject end edge.post 'Page' do |api| api.has_param :actions, 'object' - api.has_param :adaptive_type, 'string' api.has_param :album_id, 'string' api.has_param :android_key_hash, 'string' api.has_param :animated_effect_id, 'int' @@ -890,7 +900,6 @@ class Page < AdObject api.has_param :publish_event_id, 'int' api.has_param :published, 'bool' api.has_param :quote, 'string' - api.has_param :react_mode_metadata, 'string' api.has_param :ref, { list: 'string' } api.has_param :referenceable_image_ids, { list: 'string' } api.has_param :referral_id, 'string' @@ -1094,6 +1103,13 @@ class Page < AdObject edge.get 'MessagingFeatureReview' end + has_edge :messenger_call_settings do |edge| + edge.get 'MessengerCallSettings' + edge.post 'Page' do |api| + api.has_param :audio_enabled, 'bool' + end + end + has_edge :messenger_lead_forms do |edge| edge.get 'MessengerAdsPartialAutomatedStepList' edge.post 'Page' do |api| @@ -1507,7 +1523,6 @@ class Page < AdObject end edge.post 'AdVideo' do |api| api.has_param :ad_breaks, { list: 'string' } - api.has_param :adaptive_type, 'string' api.has_param :animated_effect_id, 'int' api.has_param :application_id, 'string' api.has_param :asked_fun_fact_prompt_id, 'int' @@ -1566,7 +1581,6 @@ class Page < AdObject api.has_param :original_projection_type, { enum: -> { AdVideo::ORIGINAL_PROJECTION_TYPE }} api.has_param :publish_event_id, 'int' api.has_param :published, 'bool' - api.has_param :react_mode_metadata, 'string' api.has_param :reference_only, 'bool' api.has_param :referenced_sticker_id, 'string' api.has_param :replace_video_id, 'string' diff --git a/lib/facebook_ads/ad_objects/page_app_with_leads_access.rb b/lib/facebook_ads/ad_objects/page_app_with_leads_access.rb new file mode 100644 index 00000000..65274586 --- /dev/null +++ b/lib/facebook_ads/ad_objects/page_app_with_leads_access.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PageAppWithLeadsAccess < AdObject + + field :can_access_leads, 'bool' + field :type, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/page_broadcast.rb b/lib/facebook_ads/ad_objects/page_broadcast.rb new file mode 100644 index 00000000..27eb997a --- /dev/null +++ b/lib/facebook_ads/ad_objects/page_broadcast.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PageBroadcast < AdObject + + field :id, 'string' + field :scheduled_time, 'string' + field :status, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/page_call_to_action.rb b/lib/facebook_ads/ad_objects/page_call_to_action.rb index 0a391a38..c7b5fe41 100644 --- a/lib/facebook_ads/ad_objects/page_call_to_action.rb +++ b/lib/facebook_ads/ad_objects/page_call_to_action.rb @@ -54,6 +54,7 @@ class PageCallToAction < AdObject "BUY_TICKETS", "CALL_NOW", "CHARITY_DONATE", + "CHECK_IN", "CONTACT_US", "DONATE_NOW", "EMAIL", diff --git a/lib/facebook_ads/ad_objects/page_crms_with_leads_access.rb b/lib/facebook_ads/ad_objects/page_crms_with_leads_access.rb new file mode 100644 index 00000000..147198da --- /dev/null +++ b/lib/facebook_ads/ad_objects/page_crms_with_leads_access.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PageCrmsWithLeadsAccess < AdObject + + field :can_access_leads, 'bool' + field :id, 'string' + field :integration_type, 'string' + field :name, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/page_cts_topic.rb b/lib/facebook_ads/ad_objects/page_cts_topic.rb new file mode 100644 index 00000000..f69e2c11 --- /dev/null +++ b/lib/facebook_ads/ad_objects/page_cts_topic.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PageCtsTopic < AdObject + + field :app_id, 'string' + field :frequency, 'string' + field :image_hash, 'string' + field :image_url, 'string' + field :subscriber, 'int' + field :title, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/page_ctx_budget_similar_advertiser_budget_recommendation.rb b/lib/facebook_ads/ad_objects/page_ctx_budget_similar_advertiser_budget_recommendation.rb new file mode 100644 index 00000000..01c48ece --- /dev/null +++ b/lib/facebook_ads/ad_objects/page_ctx_budget_similar_advertiser_budget_recommendation.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PageCtxBudgetSimilarAdvertiserBudgetRecommendation < AdObject + + field :budget, 'string' + field :reported_conversion, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/page_ctx_default_greeting_text.rb b/lib/facebook_ads/ad_objects/page_ctx_default_greeting_text.rb new file mode 100644 index 00000000..58f0d381 --- /dev/null +++ b/lib/facebook_ads/ad_objects/page_ctx_default_greeting_text.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PageCtxDefaultGreetingText < AdObject + + field :ctd, 'string' + field :ctm, 'string' + field :ctwa, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/page_direct_integration_crm_with_leads_access.rb b/lib/facebook_ads/ad_objects/page_direct_integration_crm_with_leads_access.rb new file mode 100644 index 00000000..a5f11600 --- /dev/null +++ b/lib/facebook_ads/ad_objects/page_direct_integration_crm_with_leads_access.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PageDirectIntegrationCrmWithLeadsAccess < AdObject + + field :can_access_leads, 'bool' + field :id, 'string' + field :name, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/page_game_bot_quota_information.rb b/lib/facebook_ads/ad_objects/page_game_bot_quota_information.rb new file mode 100644 index 00000000..ba91ab83 --- /dev/null +++ b/lib/facebook_ads/ad_objects/page_game_bot_quota_information.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PageGameBotQuotaInformation < AdObject + + field :count, 'int' + field :time_window, 'int' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/page_get_started_nullstate.rb b/lib/facebook_ads/ad_objects/page_get_started_nullstate.rb new file mode 100644 index 00000000..58dba103 --- /dev/null +++ b/lib/facebook_ads/ad_objects/page_get_started_nullstate.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PageGetStartedNullstate < AdObject + + field :cta_title, 'string' + field :processed_greeting, 'string' + field :responsiveness, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/page_insights_async_export_run.rb b/lib/facebook_ads/ad_objects/page_insights_async_export_run.rb new file mode 100644 index 00000000..2339c30c --- /dev/null +++ b/lib/facebook_ads/ad_objects/page_insights_async_export_run.rb @@ -0,0 +1,31 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PageInsightsAsyncExportRun < AdObject + + field :data_level, 'string' + field :filters, { list: 'object' } + field :format, 'string' + field :gen_report_date, 'int' + field :id, 'string' + field :report_end_date, 'int' + field :report_start_date, 'int' + field :sorters, { list: 'object' } + field :status, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/page_leads_access_config.rb b/lib/facebook_ads/ad_objects/page_leads_access_config.rb new file mode 100644 index 00000000..02963e88 --- /dev/null +++ b/lib/facebook_ads/ad_objects/page_leads_access_config.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PageLeadsAccessConfig < AdObject + + field :id, 'string' + field :page, 'Page' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/page_locations_breakdown.rb b/lib/facebook_ads/ad_objects/page_locations_breakdown.rb new file mode 100644 index 00000000..226fa4e1 --- /dev/null +++ b/lib/facebook_ads/ad_objects/page_locations_breakdown.rb @@ -0,0 +1,33 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PageLocationsBreakdown < AdObject + + field :location_id, 'string' + field :location_name, 'string' + field :location_type, 'string' + field :num_pages, 'int' + field :num_pages_eligible_for_store_visit_reporting, 'int' + field :num_unpublished_or_closed_pages, 'int' + field :parent_country_code, 'string' + field :parent_region_id, 'int' + field :parent_region_name, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/page_message_responsiveness_metrics.rb b/lib/facebook_ads/ad_objects/page_message_responsiveness_metrics.rb new file mode 100644 index 00000000..2822de41 --- /dev/null +++ b/lib/facebook_ads/ad_objects/page_message_responsiveness_metrics.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PageMessageResponsivenessMetrics < AdObject + + field :is_very_responsive, 'bool' + field :response_rate, 'double' + field :response_time, 'double' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/page_partner_with_leads_access.rb b/lib/facebook_ads/ad_objects/page_partner_with_leads_access.rb new file mode 100644 index 00000000..95e55760 --- /dev/null +++ b/lib/facebook_ads/ad_objects/page_partner_with_leads_access.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PagePartnerWithLeadsAccess < AdObject + + field :can_access_leads, 'bool' + field :partner_business, 'Business' + field :permitted_tasks, { list: 'string' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/page_publisher.rb b/lib/facebook_ads/ad_objects/page_publisher.rb new file mode 100644 index 00000000..1fadb6d0 --- /dev/null +++ b/lib/facebook_ads/ad_objects/page_publisher.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PagePublisher < AdObject + + field :global_parent_id, 'string' + field :icon, 'string' + field :id, 'string' + field :name, 'string' + field :url, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/page_user_permissions.rb b/lib/facebook_ads/ad_objects/page_user_permissions.rb new file mode 100644 index 00000000..4a28024f --- /dev/null +++ b/lib/facebook_ads/ad_objects/page_user_permissions.rb @@ -0,0 +1,34 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PageUserPermissions < AdObject + + field :business, 'Business' + field :business_persona, 'string' + field :created_by, 'Profile' + field :created_time, 'datetime' + field :email, 'string' + field :status, 'string' + field :tasks, { list: 'string' } + field :updated_by, 'Profile' + field :updated_time, 'datetime' + field :user, 'Profile' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/page_user_with_leads_access.rb b/lib/facebook_ads/ad_objects/page_user_with_leads_access.rb new file mode 100644 index 00000000..8dde71e8 --- /dev/null +++ b/lib/facebook_ads/ad_objects/page_user_with_leads_access.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PageUserWithLeadsAccess < AdObject + + field :active_on_business, 'bool' + field :business_role, 'string' + field :can_access_leads, 'bool' + field :page_role, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/page_videos_you_can_use.rb b/lib/facebook_ads/ad_objects/page_videos_you_can_use.rb new file mode 100644 index 00000000..a757845b --- /dev/null +++ b/lib/facebook_ads/ad_objects/page_videos_you_can_use.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PageVideosYouCanUse < AdObject + + field :description, 'string' + field :id, 'string' + field :title, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/panel_api_report.rb b/lib/facebook_ads/ad_objects/panel_api_report.rb new file mode 100644 index 00000000..efc4f25f --- /dev/null +++ b/lib/facebook_ads/ad_objects/panel_api_report.rb @@ -0,0 +1,32 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PanelApiReport < AdObject + + field :checksum, 'string' + field :download_url, 'string' + field :end_date, 'datetime' + field :export_file_type, 'string' + field :id, 'string' + field :index, 'int' + field :name, 'string' + field :number_of_chunks, 'int' + field :start_date, 'datetime' + field :upload_date, 'datetime' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/parent_catalog_report.rb b/lib/facebook_ads/ad_objects/parent_catalog_report.rb new file mode 100644 index 00000000..a9036fa6 --- /dev/null +++ b/lib/facebook_ads/ad_objects/parent_catalog_report.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ParentCatalogReport < AdObject + + field :purchase_conversion_value, 'double' + field :purchases, 'int' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/partner_account_linking.rb b/lib/facebook_ads/ad_objects/partner_account_linking.rb new file mode 100644 index 00000000..a2a1754b --- /dev/null +++ b/lib/facebook_ads/ad_objects/partner_account_linking.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PartnerAccountLinking < AdObject + + field :adaccount, 'AdAccount' + field :app, 'Application' + field :business, 'Business' + field :externalidentifier, 'string' + field :externalidentifieruri, 'string' + field :id, 'string' + field :partnername, 'string' + field :pixel, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/partner_category.rb b/lib/facebook_ads/ad_objects/partner_category.rb new file mode 100644 index 00000000..1f63a908 --- /dev/null +++ b/lib/facebook_ads/ad_objects/partner_category.rb @@ -0,0 +1,34 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PartnerCategory < AdObject + + field :approximate_count, 'int' + field :country, 'string' + field :description, 'string' + field :details, 'string' + field :id, 'string' + field :is_private, 'bool' + field :name, 'string' + field :parent_category, 'string' + field :source, 'string' + field :status, 'string' + field :targeting_type, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/partner_integration_linked.rb b/lib/facebook_ads/ad_objects/partner_integration_linked.rb new file mode 100644 index 00000000..5683ab33 --- /dev/null +++ b/lib/facebook_ads/ad_objects/partner_integration_linked.rb @@ -0,0 +1,38 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PartnerIntegrationLinked < AdObject + + field :ads_pixel, 'AdsPixel' + field :application, 'Application' + field :completed_integration_types, { list: 'string' } + field :external_business_connection_id, 'string' + field :external_id, 'string' + field :has_oauth_token, 'bool' + field :id, 'string' + field :mbe_app_id, 'string' + field :mbe_asset_id, 'string' + field :mbe_external_business_id, 'string' + field :name, 'string' + field :offline_conversion_data_set, 'OfflineConversionDataSet' + field :page, 'Page' + field :partner, 'string' + field :product_catalog, 'ProductCatalog' + field :setup_status, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/partnership_ad_content_search_media.rb b/lib/facebook_ads/ad_objects/partnership_ad_content_search_media.rb new file mode 100644 index 00000000..a6d856b3 --- /dev/null +++ b/lib/facebook_ads/ad_objects/partnership_ad_content_search_media.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PartnershipAdContentSearchMedia < AdObject + + field :ig_media, 'IgMedia' + field :ig_media_has_product_tags, 'bool' + field :is_ad_code_entry, 'bool' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/partnership_ads_identity.rb b/lib/facebook_ads/ad_objects/partnership_ads_identity.rb new file mode 100644 index 00000000..cff0a9f9 --- /dev/null +++ b/lib/facebook_ads/ad_objects/partnership_ads_identity.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PartnershipAdsIdentity < AdObject + + field :post_types, { list: 'string' } + field :secondary_identities, { list: 'object' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/payment_request_details.rb b/lib/facebook_ads/ad_objects/payment_request_details.rb new file mode 100644 index 00000000..3318549e --- /dev/null +++ b/lib/facebook_ads/ad_objects/payment_request_details.rb @@ -0,0 +1,33 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PaymentRequestDetails < AdObject + + field :amount, 'object' + field :creation_time, 'int' + field :note, 'string' + field :payment_request_id, 'string' + field :receiver_id, 'string' + field :reference_number, 'string' + field :sender_id, 'string' + field :status, 'string' + field :transaction_time, 'int' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/personal_ads_persona.rb b/lib/facebook_ads/ad_objects/personal_ads_persona.rb new file mode 100644 index 00000000..a018879a --- /dev/null +++ b/lib/facebook_ads/ad_objects/personal_ads_persona.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PersonalAdsPersona < AdObject + + field :email, 'string' + field :first_name, 'string' + field :id, 'string' + field :last_name, 'string' + field :pending_email, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/photo_metadata.rb b/lib/facebook_ads/ad_objects/photo_metadata.rb new file mode 100644 index 00000000..e372f1fa --- /dev/null +++ b/lib/facebook_ads/ad_objects/photo_metadata.rb @@ -0,0 +1,36 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PhotoMetadata < AdObject + + field :camera_make, 'string' + field :camera_model, 'string' + field :datetime_modified, 'datetime' + field :datetime_taken, 'datetime' + field :exposure, 'string' + field :focal_length, 'string' + field :fstop, 'string' + field :iso_speed, 'int' + field :offline_id, 'string' + field :orientation, 'string' + field :original_height, 'string' + field :original_width, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/place_tag.rb b/lib/facebook_ads/ad_objects/place_tag.rb new file mode 100644 index 00000000..f4f39657 --- /dev/null +++ b/lib/facebook_ads/ad_objects/place_tag.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PlaceTag < AdObject + + field :created_time, 'datetime' + field :id, 'string' + field :place, 'Page' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/platform_session_key.rb b/lib/facebook_ads/ad_objects/platform_session_key.rb new file mode 100644 index 00000000..01802af2 --- /dev/null +++ b/lib/facebook_ads/ad_objects/platform_session_key.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PlatformSessionKey < AdObject + + field :id, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/preapproval_review.rb b/lib/facebook_ads/ad_objects/preapproval_review.rb new file mode 100644 index 00000000..328fb885 --- /dev/null +++ b/lib/facebook_ads/ad_objects/preapproval_review.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PreapprovalReview < AdObject + + field :comp_type, 'string' + field :crow_component_id, 'int' + field :is_human_reviewed, 'bool' + field :is_reviewed, 'bool' + field :policy_info, { list: 'hash' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/premium_music_video.rb b/lib/facebook_ads/ad_objects/premium_music_video.rb new file mode 100644 index 00000000..c9eef502 --- /dev/null +++ b/lib/facebook_ads/ad_objects/premium_music_video.rb @@ -0,0 +1,31 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PremiumMusicVideo < AdObject + + field :creation_time, 'string' + field :cross_post_videos, { list: 'object' } + field :eligible_cross_post_pages, { list: 'object' } + field :id, 'string' + field :preferred_video_thumbnail_image_uri, 'string' + field :premium_music_video_metadata, 'object' + field :scheduled_publish_time, 'int' + field :title, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/privacy_option.rb b/lib/facebook_ads/ad_objects/privacy_option.rb new file mode 100644 index 00000000..ccb21943 --- /dev/null +++ b/lib/facebook_ads/ad_objects/privacy_option.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PrivacyOption < AdObject + + field :description, 'string' + field :icon_src, 'string' + field :id, 'string' + field :is_currently_selected, 'bool' + field :type, 'string' + field :user_id, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/private_computation_environment.rb b/lib/facebook_ads/ad_objects/private_computation_environment.rb new file mode 100644 index 00000000..ad7b7ba8 --- /dev/null +++ b/lib/facebook_ads/ad_objects/private_computation_environment.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PrivateComputationEnvironment < AdObject + + field :publisher_account_id, 'string' + field :publisher_pce_deployment_status, 'int' + field :publisher_pce_id, 'string' + field :publisher_region, 'string' + field :publisher_vpc_id, 'string' + field :id, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/product_catalog.rb b/lib/facebook_ads/ad_objects/product_catalog.rb index a4eed740..f4eec869 100644 --- a/lib/facebook_ads/ad_objects/product_catalog.rb +++ b/lib/facebook_ads/ad_objects/product_catalog.rb @@ -28,7 +28,6 @@ class ProductCatalog < AdObject "home_listings", "hotels", "jobs", - "local_delivery_shipping_profiles", "local_service_businesses", "offer_items", "offline_commerce", @@ -125,6 +124,7 @@ class ProductCatalog < AdObject api.has_param :business, 'string' api.has_param :permitted_roles, { list: { enum: -> { ProductCatalog::PERMITTED_ROLES }} } api.has_param :permitted_tasks, { list: { enum: -> { ProductCatalog::PERMITTED_TASKS }} } + api.has_param :skip_default_utms, 'bool' api.has_param :utm_settings, 'hash' end end @@ -160,7 +160,7 @@ class ProductCatalog < AdObject has_edge :catalog_store do |edge| edge.post 'StoreCatalogSettings' do |api| - api.has_param :page, 'int' + api.has_param :page, 'string' end end @@ -182,12 +182,8 @@ class ProductCatalog < AdObject end end - has_edge :collaborative_ads_event_stats do |edge| - edge.get 'CatalogSegmentAllMatchCountLaser' - end - has_edge :collaborative_ads_lsb_image_bank do |edge| - edge.get + edge.get 'CpasLsbImageBank' end has_edge :collaborative_ads_share_settings do |edge| @@ -195,13 +191,19 @@ class ProductCatalog < AdObject end has_edge :cpas_lsb_image_bank do |edge| - edge.post do |api| + edge.post 'CpasLsbImageBank' do |api| api.has_param :ad_group_id, 'int' api.has_param :agency_business_id, 'int' api.has_param :backup_image_urls, { list: 'string' } end end + has_edge :creator_asset_creatives do |edge| + edge.get 'CreatorAssetCreative' do |api| + api.has_param :moderation_status, { enum: -> { CreatorAssetCreative::MODERATION_STATUS }} + end + end + has_edge :data_sources do |edge| edge.get 'ProductCatalogDataSource' do |api| api.has_param :ingestion_source_type, { enum: -> { ProductCatalogDataSource::INGESTION_SOURCE_TYPE }} diff --git a/lib/facebook_ads/ad_objects/product_catalog_diagnostic_group.rb b/lib/facebook_ads/ad_objects/product_catalog_diagnostic_group.rb index e820cd66..b5c10e24 100644 --- a/lib/facebook_ads/ad_objects/product_catalog_diagnostic_group.rb +++ b/lib/facebook_ads/ad_objects/product_catalog_diagnostic_group.rb @@ -33,6 +33,7 @@ class ProductCatalogDiagnosticGroup < AdObject AFFECTED_ENTITY = [ "product_catalog", + "product_event", "product_item", "product_set", ] @@ -54,6 +55,7 @@ class ProductCatalogDiagnosticGroup < AdObject "CATEGORY", "CHECKOUT", "DA_VISIBILITY_ISSUES", + "EVENT_SOURCE_ISSUES", "IMAGE_QUALITY", "LOW_QUALITY_TITLE_AND_DESCRIPTION", "POLICY_VIOLATION", @@ -62,6 +64,7 @@ class ProductCatalogDiagnosticGroup < AdObject AFFECTED_ENTITIES = [ "product_catalog", + "product_event", "product_item", "product_set", ] @@ -78,6 +81,7 @@ class ProductCatalogDiagnosticGroup < AdObject "CATEGORY", "CHECKOUT", "DA_VISIBILITY_ISSUES", + "EVENT_SOURCE_ISSUES", "IMAGE_QUALITY", "LOW_QUALITY_TITLE_AND_DESCRIPTION", "POLICY_VIOLATION", diff --git a/lib/facebook_ads/ad_objects/product_catalog_example_feed.rb b/lib/facebook_ads/ad_objects/product_catalog_example_feed.rb new file mode 100644 index 00000000..5b06a8bb --- /dev/null +++ b/lib/facebook_ads/ad_objects/product_catalog_example_feed.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ProductCatalogExampleFeed < AdObject + + field :example_feed, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/product_catalog_facets.rb b/lib/facebook_ads/ad_objects/product_catalog_facets.rb new file mode 100644 index 00000000..516d06fb --- /dev/null +++ b/lib/facebook_ads/ad_objects/product_catalog_facets.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ProductCatalogFacets < AdObject + + field :facets, { list: 'map>' } + field :item_count, 'int' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/product_catalog_image_settings_internal.rb b/lib/facebook_ads/ad_objects/product_catalog_image_settings_internal.rb new file mode 100644 index 00000000..df639c14 --- /dev/null +++ b/lib/facebook_ads/ad_objects/product_catalog_image_settings_internal.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ProductCatalogImageSettingsInternal < AdObject + + field :carousel_ad, 'ProductCatalogImageSettingsOperation' + field :shops_pdp, 'ProductCatalogImageSettingsOperation' + field :single_ad, 'ProductCatalogImageSettingsOperation' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/product_catalog_localization_settings.rb b/lib/facebook_ads/ad_objects/product_catalog_localization_settings.rb new file mode 100644 index 00000000..ffb0fc7f --- /dev/null +++ b/lib/facebook_ads/ad_objects/product_catalog_localization_settings.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ProductCatalogLocalizationSettings < AdObject + + field :default_country, 'string' + field :default_language, 'string' + field :id, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/product_catalog_microdata_stats_pixel_info.rb b/lib/facebook_ads/ad_objects/product_catalog_microdata_stats_pixel_info.rb new file mode 100644 index 00000000..c854f3b3 --- /dev/null +++ b/lib/facebook_ads/ad_objects/product_catalog_microdata_stats_pixel_info.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ProductCatalogMicrodataStatsPixelInfo < AdObject + + field :is_already_connected, 'bool' + field :pixel_id, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/product_catalog_user_actions.rb b/lib/facebook_ads/ad_objects/product_catalog_user_actions.rb new file mode 100644 index 00000000..a3de705a --- /dev/null +++ b/lib/facebook_ads/ad_objects/product_catalog_user_actions.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ProductCatalogUserActions < AdObject + + field :actions, { list: 'string' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/product_catalog_user_permissions.rb b/lib/facebook_ads/ad_objects/product_catalog_user_permissions.rb new file mode 100644 index 00000000..cb466a2b --- /dev/null +++ b/lib/facebook_ads/ad_objects/product_catalog_user_permissions.rb @@ -0,0 +1,34 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ProductCatalogUserPermissions < AdObject + + field :business, 'Business' + field :business_persona, 'object' + field :created_by, 'User' + field :created_time, 'datetime' + field :email, 'string' + field :role, 'string' + field :status, 'string' + field :updated_by, 'User' + field :updated_time, 'datetime' + field :user, 'User' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/product_catalog_user_tasks.rb b/lib/facebook_ads/ad_objects/product_catalog_user_tasks.rb new file mode 100644 index 00000000..184d5739 --- /dev/null +++ b/lib/facebook_ads/ad_objects/product_catalog_user_tasks.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ProductCatalogUserTasks < AdObject + + field :business, 'Business' + field :tasks, { list: 'string' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/product_da_event_samples_batch.rb b/lib/facebook_ads/ad_objects/product_da_event_samples_batch.rb new file mode 100644 index 00000000..63aef798 --- /dev/null +++ b/lib/facebook_ads/ad_objects/product_da_event_samples_batch.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ProductDaEventSamplesBatch < AdObject + + field :samples, { list: 'object' } + field :time_start, 'int' + field :time_stop, 'int' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/product_feed_rule_preview_sample.rb b/lib/facebook_ads/ad_objects/product_feed_rule_preview_sample.rb new file mode 100644 index 00000000..0c0eac80 --- /dev/null +++ b/lib/facebook_ads/ad_objects/product_feed_rule_preview_sample.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ProductFeedRulePreviewSample < AdObject + + field :properties_after, { list: 'hash' } + field :properties_before, { list: 'hash' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/product_feed_upload_progress.rb b/lib/facebook_ads/ad_objects/product_feed_upload_progress.rb new file mode 100644 index 00000000..d6894aa2 --- /dev/null +++ b/lib/facebook_ads/ad_objects/product_feed_upload_progress.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ProductFeedUploadProgress < AdObject + + field :pos, 'int' + field :size, 'int' + field :step, 'string' + field :unit, 'string' + field :updated_time, 'datetime' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/product_item.rb b/lib/facebook_ads/ad_objects/product_item.rb index 1f439502..34230f09 100644 --- a/lib/facebook_ads/ad_objects/product_item.rb +++ b/lib/facebook_ads/ad_objects/product_item.rb @@ -305,17 +305,23 @@ class ProductItem < AdObject ERROR_TYPE = [ "ADDRESS_BLOCKLISTED_IN_MARKET", + "AGGREGATED_LOCALIZATION_ISSUES", + "APP_HAS_NO_AEM_SETUP", "AR_DELETED_DUE_TO_UPDATE", "AR_POLICY_VIOLATED", "AVAILABLE", "BAD_QUALITY_IMAGE", + "BIG_CATALOG_WITH_ALL_ITEMS_IN_STOCK", "BIZ_MSG_AI_AGENT_DISABLED_BY_USER", "CANNOT_EDIT_SUBSCRIPTION_PRODUCTS", + "CATALOG_NOT_CONNECTED_TO_EVENT_SOURCE", "CHECKOUT_DISABLED_BY_USER", + "COMMERCE_ACCOUNT_LEGAL_ADDRESS_INVALID", "COMMERCE_ACCOUNT_NOT_LEGALLY_COMPLIANT", "CRAWLED_AVAILABILITY_MISMATCH", "DA_DISABLED_BY_USER", "DA_POLICY_VIOLATION", + "DELETED_ITEM", "DIGITAL_GOODS_NOT_AVAILABLE_FOR_CHECKOUT", "DUPLICATE_IMAGES", "DUPLICATE_TITLE_AND_DESCRIPTION", @@ -323,6 +329,7 @@ class ProductItem < AdObject "EMPTY_CONDITION", "EMPTY_DESCRIPTION", "EMPTY_IMAGE_URL", + "EMPTY_PRICE", "EMPTY_PRODUCT_URL", "EMPTY_SELLER_DESCRIPTION", "EMPTY_TITLE", @@ -330,6 +337,7 @@ class ProductItem < AdObject "GENERIC_INVALID_FIELD", "GROUPS_DISABLED_BY_USER", "HIDDEN_UNTIL_PRODUCT_LAUNCH", + "ILLEGAL_PRODUCT_CATEGORY", "IMAGE_FETCH_FAILED", "IMAGE_FETCH_FAILED_BAD_GATEWAY", "IMAGE_FETCH_FAILED_FILE_SIZE_EXCEEDED", @@ -340,6 +348,7 @@ class ProductItem < AdObject "INACTIVE_SHOPIFY_PRODUCT", "INVALID_COMMERCE_TAX_CATEGORY", "INVALID_CONSOLIDATED_LOCALITY_INFORMATION", + "INVALID_CONTENT_ID", "INVALID_DEALER_COMMUNICATION_PARAMETERS", "INVALID_DMA_CODES", "INVALID_FB_PAGE_ID", @@ -368,6 +377,7 @@ class ProductItem < AdObject "ITEM_OVERRIDE_EMPTY_AVAILABILITY", "ITEM_OVERRIDE_EMPTY_PRICE", "ITEM_OVERRIDE_NOT_VISIBLE", + "ITEM_PRICE_NOT_POSITIVE", "ITEM_STALE_OUT_OF_STOCK", "MARKETPLACE_DISABLED_BY_USER", "MINI_SHOPS_DISABLED_BY_USER", @@ -375,6 +385,7 @@ class ProductItem < AdObject "MISSING_CHECKOUT_CURRENCY", "MISSING_COLOR", "MISSING_COUNTRY_OVERRIDE_IN_SHIPPING_PROFILE", + "MISSING_EVENT", "MISSING_INDIA_COMPLIANCE_FIELDS", "MISSING_SHIPPING_PROFILE", "MISSING_SIZE", @@ -383,8 +394,11 @@ class ProductItem < AdObject "NEGATIVE_PRICE", "NOT_ENOUGH_IMAGES", "NOT_ENOUGH_UNIQUE_PRODUCTS", + "NO_CONTENT_ID", "OVERLAY_DISCLAIMER_EXCEEDED_MAX_LENGTH", "PART_OF_PRODUCT_LAUNCH", + "PASSING_MULTIPLE_CONTENT_IDS", + "PRODUCT_DOMINANT_CURRENCY_MISMATCH", "PRODUCT_EXPIRED", "PRODUCT_ITEM_HIDDEN_FROM_ALL_SHOPS", "PRODUCT_ITEM_INVALID_PARTNER_TOKENS", @@ -408,6 +422,8 @@ class ProductItem < AdObject "PROPERTY_VALUE_STRING_TOO_SHORT", "PROPERTY_VALUE_UPPERCASE", "PROPERTY_VALUE_UPPERCASE_WARNING", + "PURCHASE_RATE_BELOW_ADDTOCART", + "PURCHASE_RATE_BELOW_VIEWCONTENT", "QUALITY_DUPLICATED_DESCRIPTION", "QUALITY_ITEM_LINK_BROKEN", "QUALITY_ITEM_LINK_REDIRECTING", @@ -417,6 +433,8 @@ class ProductItem < AdObject "SHOPS_POLICY_VIOLATION", "SUBSCRIPTION_INFO_NOT_ENABLED_FOR_FEED", "TAX_CATEGORY_NOT_SUPPORTED_IN_UK", + "UNIQUE_PRODUCT_IDENTIFIER_MISSING", + "UNMATCHED_EVENTS", "UNSUPPORTED_PRODUCT_CATEGORY", "VARIANT_ATTRIBUTE_ISSUE", "VIDEO_FETCH_FAILED", @@ -734,7 +752,7 @@ class ProductItem < AdObject field :images, { list: 'string' } field :importer_address, 'ProductItemImporterAddress' field :importer_name, 'string' - field :invalidation_errors, { list: 'object' } + field :invalidation_errors, { list: 'ProductItemInvalidationError' } field :inventory, 'int' field :manufacturer_info, 'string' field :manufacturer_part_number, 'string' diff --git a/lib/facebook_ads/ad_objects/product_item_insights.rb b/lib/facebook_ads/ad_objects/product_item_insights.rb new file mode 100644 index 00000000..2352e303 --- /dev/null +++ b/lib/facebook_ads/ad_objects/product_item_insights.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ProductItemInsights < AdObject + + field :ad_click_count, 'int' + field :ad_impression_count, 'int' + field :add_to_cart_count, 'int' + field :purchase_count, 'int' + field :view_content_count, 'int' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/product_item_invalidation_error.rb b/lib/facebook_ads/ad_objects/product_item_invalidation_error.rb new file mode 100644 index 00000000..e62f5256 --- /dev/null +++ b/lib/facebook_ads/ad_objects/product_item_invalidation_error.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ProductItemInvalidationError < AdObject + + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/product_item_landing_page_data.rb b/lib/facebook_ads/ad_objects/product_item_landing_page_data.rb new file mode 100644 index 00000000..6f2f6006 --- /dev/null +++ b/lib/facebook_ads/ad_objects/product_item_landing_page_data.rb @@ -0,0 +1,35 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ProductItemLandingPageData < AdObject + AVAILABILITY = [ + "available for order", + "discontinued", + "in stock", + "mark_as_sold", + "out of stock", + "pending", + "preorder", + ] + + + field :availability, { enum: -> { AVAILABILITY }} + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/product_item_offer.rb b/lib/facebook_ads/ad_objects/product_item_offer.rb new file mode 100644 index 00000000..a434a7f6 --- /dev/null +++ b/lib/facebook_ads/ad_objects/product_item_offer.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ProductItemOffer < AdObject + + field :availability_area, { list: 'object' } + field :availability_radius, 'double' + field :id, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/product_item_shipping.rb b/lib/facebook_ads/ad_objects/product_item_shipping.rb new file mode 100644 index 00000000..8a28a705 --- /dev/null +++ b/lib/facebook_ads/ad_objects/product_item_shipping.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ProductItemShipping < AdObject + + field :shipping_country, 'string' + field :shipping_price_currency, 'string' + field :shipping_price_value, 'double' + field :shipping_region, 'string' + field :shipping_service, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/product_item_subscription_info.rb b/lib/facebook_ads/ad_objects/product_item_subscription_info.rb new file mode 100644 index 00000000..866ee950 --- /dev/null +++ b/lib/facebook_ads/ad_objects/product_item_subscription_info.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ProductItemSubscriptionInfo < AdObject + + field :is_subscribable, 'bool' + field :subscription_billing_period, 'int' + field :subscription_billing_type, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/product_item_unit_price.rb b/lib/facebook_ads/ad_objects/product_item_unit_price.rb new file mode 100644 index 00000000..a2bbfd44 --- /dev/null +++ b/lib/facebook_ads/ad_objects/product_item_unit_price.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ProductItemUnitPrice < AdObject + + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/product_set_taxon_category.rb b/lib/facebook_ads/ad_objects/product_set_taxon_category.rb new file mode 100644 index 00000000..2c46dc69 --- /dev/null +++ b/lib/facebook_ads/ad_objects/product_set_taxon_category.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ProductSetTaxonCategory < AdObject + + field :category_id, 'int' + field :category_name, 'string' + field :image_url, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/product_set_usage.rb b/lib/facebook_ads/ad_objects/product_set_usage.rb new file mode 100644 index 00000000..7c0c058b --- /dev/null +++ b/lib/facebook_ads/ad_objects/product_set_usage.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ProductSetUsage < AdObject + + field :id, 'string' + field :product_set, 'ProductSet' + field :usage_type, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/product_visual_variant.rb b/lib/facebook_ads/ad_objects/product_visual_variant.rb new file mode 100644 index 00000000..dcda1644 --- /dev/null +++ b/lib/facebook_ads/ad_objects/product_visual_variant.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ProductVisualVariant < AdObject + + field :items, { list: 'ProductItem' } + field :unique_key, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/publisher_block_list.rb b/lib/facebook_ads/ad_objects/publisher_block_list.rb index 9306af6c..4e5f0dd7 100644 --- a/lib/facebook_ads/ad_objects/publisher_block_list.rb +++ b/lib/facebook_ads/ad_objects/publisher_block_list.rb @@ -15,7 +15,7 @@ module FacebookAds class PublisherBlockList < AdObject - field :app_publishers, { list: 'object' } + field :app_publishers, { list: 'AppPublisher' } field :business_owner_id, 'string' field :id, 'string' field :is_auto_blocking_on, 'bool' @@ -24,7 +24,7 @@ class PublisherBlockList < AdObject field :last_update_user, 'string' field :name, 'string' field :owner_ad_account_id, 'string' - field :web_publishers, { list: 'object' } + field :web_publishers, { list: 'WebPublisher' } has_edge :append_publisher_urls do |edge| edge.post do |api| @@ -33,7 +33,7 @@ class PublisherBlockList < AdObject end has_edge :paged_web_publishers do |edge| - edge.get do |api| + edge.get 'WebPublisher' do |api| api.has_param :draft_id, 'string' end end diff --git a/lib/facebook_ads/ad_objects/publisher_delivery_report.rb b/lib/facebook_ads/ad_objects/publisher_delivery_report.rb new file mode 100644 index 00000000..045306ec --- /dev/null +++ b/lib/facebook_ads/ad_objects/publisher_delivery_report.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PublisherDeliveryReport < AdObject + + field :content_types, { list: 'string' } + field :estimated_impressions, 'int' + field :name, 'string' + field :status, 'string' + field :url, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/publisher_white_list.rb b/lib/facebook_ads/ad_objects/publisher_white_list.rb new file mode 100644 index 00000000..810deb55 --- /dev/null +++ b/lib/facebook_ads/ad_objects/publisher_white_list.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class PublisherWhiteList < AdObject + + field :business_owner_id, 'string' + field :id, 'string' + field :last_updated_time, 'datetime' + field :last_updated_user, 'string' + field :name, 'string' + field :placement_type, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/recommended_ig_media.rb b/lib/facebook_ads/ad_objects/recommended_ig_media.rb new file mode 100644 index 00000000..fc40353b --- /dev/null +++ b/lib/facebook_ads/ad_objects/recommended_ig_media.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class RecommendedIgMedia < AdObject + + field :intent_score, 'double' + field :media, 'InstagramMedia' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/recommended_page_post.rb b/lib/facebook_ads/ad_objects/recommended_page_post.rb new file mode 100644 index 00000000..ae1fe163 --- /dev/null +++ b/lib/facebook_ads/ad_objects/recommended_page_post.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class RecommendedPagePost < AdObject + + field :intent_score, 'double' + field :is_ig_media, 'bool' + field :post_id, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/regional_regulation_identities.rb b/lib/facebook_ads/ad_objects/regional_regulation_identities.rb new file mode 100644 index 00000000..08713cd4 --- /dev/null +++ b/lib/facebook_ads/ad_objects/regional_regulation_identities.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class RegionalRegulationIdentities < AdObject + + field :taiwan_finserv_beneficiary, 'string' + field :taiwan_finserv_payer, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/reporting_audience.rb b/lib/facebook_ads/ad_objects/reporting_audience.rb new file mode 100644 index 00000000..8b2fb221 --- /dev/null +++ b/lib/facebook_ads/ad_objects/reporting_audience.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ReportingAudience < AdObject + + field :custom_audiences, { list: 'RawCustomAudience' } + field :custom_audiences_url_param_name, 'string' + field :custom_audiences_url_param_type, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/research_poll_study.rb b/lib/facebook_ads/ad_objects/research_poll_study.rb new file mode 100644 index 00000000..b809a2bb --- /dev/null +++ b/lib/facebook_ads/ad_objects/research_poll_study.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ResearchPollStudy < AdObject + + field :account, 'AdAccount' + field :id, 'string' + field :name, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/reseller_guidance.rb b/lib/facebook_ads/ad_objects/reseller_guidance.rb new file mode 100644 index 00000000..8d672e9d --- /dev/null +++ b/lib/facebook_ads/ad_objects/reseller_guidance.rb @@ -0,0 +1,41 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ResellerGuidance < AdObject + + field :ad_account_first_spend_date, 'string' + field :ad_account_id, 'string' + field :adopted_guidance_l7d, { list: 'string' } + field :advertiser_name, 'string' + field :attributed_to_reseller_l7d, 'bool' + field :available_guidance, { list: 'string' } + field :benchmark_report_link, 'string' + field :guidance_adoption_rate_l7d, 'double' + field :no_adsets_gte_benchmark, 'int' + field :no_adsets_lt_benchmark, 'int' + field :nurtured_by_reseller_l7d, 'bool' + field :planning_agency_name, 'string' + field :recommendation_time, 'datetime' + field :reporting_ds, 'string' + field :reseller, 'Business' + field :revenue_l30d, 'double' + field :ultimate_advertiser_name, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/rights_manager_data_export.rb b/lib/facebook_ads/ad_objects/rights_manager_data_export.rb new file mode 100644 index 00000000..e3ab716f --- /dev/null +++ b/lib/facebook_ads/ad_objects/rights_manager_data_export.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class RightsManagerDataExport < AdObject + + field :download_uri, 'string' + field :export_scope, 'string' + field :id, 'string' + field :name, 'string' + field :record_type, 'string' + field :time_range_end, 'datetime' + field :time_range_start, 'datetime' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/rights_manager_insights.rb b/lib/facebook_ads/ad_objects/rights_manager_insights.rb new file mode 100644 index 00000000..68d68315 --- /dev/null +++ b/lib/facebook_ads/ad_objects/rights_manager_insights.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class RightsManagerInsights < AdObject + + field :error, 'string' + field :error_message, 'string' + field :metadata, { list: 'hash' } + field :totals, { list: 'hash' } + field :x_axis_breakdown, { list: { list: 'hash' } } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/robot.rb b/lib/facebook_ads/ad_objects/robot.rb new file mode 100644 index 00000000..e1a6ba69 --- /dev/null +++ b/lib/facebook_ads/ad_objects/robot.rb @@ -0,0 +1,34 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class Robot < AdObject + + field :bringup_vars, { list: 'hash' } + field :configurations, { list: 'hash' } + field :data_center, 'string' + field :id, 'string' + field :init_pos, { list: 'hash' } + field :last_pos, { list: 'hash' } + field :meetup_link_hash, 'string' + field :suite, 'string' + field :target_map_image_uri, 'string' + field :target_os_image_uri, 'string' + field :target_sw_image_uri, 'string' + field :user, 'User' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/sales_rights_inventory_management.rb b/lib/facebook_ads/ad_objects/sales_rights_inventory_management.rb new file mode 100644 index 00000000..62bf3f2b --- /dev/null +++ b/lib/facebook_ads/ad_objects/sales_rights_inventory_management.rb @@ -0,0 +1,31 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class SalesRightsInventoryManagement < AdObject + + field :available_impressions, 'int' + field :booked_impressions, 'int' + field :overbooked_impressions, 'int' + field :supported_countries, { list: 'string' } + field :total_impressions, 'int' + field :unavailable_impressions, 'int' + field :warning_messages, { list: 'string' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/scheduled_post.rb b/lib/facebook_ads/ad_objects/scheduled_post.rb new file mode 100644 index 00000000..5ce02c25 --- /dev/null +++ b/lib/facebook_ads/ad_objects/scheduled_post.rb @@ -0,0 +1,40 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ScheduledPost < AdObject + + field :admin_creator, 'User' + field :creation_time, 'datetime' + field :feed_audience_description, 'string' + field :feed_targeting, 'Targeting' + field :id, 'string' + field :is_post_in_good_state, 'bool' + field :message, 'string' + field :modified_time, 'datetime' + field :og_action_summary, 'string' + field :permalink_url, 'string' + field :place, 'Place' + field :privacy_description, 'string' + field :scheduled_failure_notice, 'string' + field :scheduled_publish_time, 'datetime' + field :story_token, 'string' + field :thumbnail, 'string' + field :video_id, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/scim_company_user_phone_number.rb b/lib/facebook_ads/ad_objects/scim_company_user_phone_number.rb new file mode 100644 index 00000000..36af10c2 --- /dev/null +++ b/lib/facebook_ads/ad_objects/scim_company_user_phone_number.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ScimCompanyUserPhoneNumber < AdObject + + field :number, 'string' + field :primary, 'bool' + field :type, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/shadow_ig_media_boosted_insights_result.rb b/lib/facebook_ads/ad_objects/shadow_ig_media_boosted_insights_result.rb new file mode 100644 index 00000000..52f61eb9 --- /dev/null +++ b/lib/facebook_ads/ad_objects/shadow_ig_media_boosted_insights_result.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ShadowIgMediaBoostedInsightsResult < AdObject + + field :description, 'string' + field :name, 'string' + field :organic_media_id, 'string' + field :source_type, 'string' + field :title, 'string' + field :values, { list: 'object' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/shadow_ig_media_builder.rb b/lib/facebook_ads/ad_objects/shadow_ig_media_builder.rb index 8d268921..f1254e3a 100644 --- a/lib/facebook_ads/ad_objects/shadow_ig_media_builder.rb +++ b/lib/facebook_ads/ad_objects/shadow_ig_media_builder.rb @@ -19,6 +19,7 @@ class ShadowIgMediaBuilder < AdObject field :id, 'string' field :status, 'string' field :status_code, 'string' + field :video_status, 'IgResumableVideoUploadStatus' has_no_post has_no_delete diff --git a/lib/facebook_ads/ad_objects/signals_iwl_extractor.rb b/lib/facebook_ads/ad_objects/signals_iwl_extractor.rb new file mode 100644 index 00000000..0d86c6fa --- /dev/null +++ b/lib/facebook_ads/ad_objects/signals_iwl_extractor.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class SignalsIwlExtractor < AdObject + + field :domain_uri, 'string' + field :event_type, 'string' + field :extractor_type, 'string' + field :id, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/single_owner_additional_profile.rb b/lib/facebook_ads/ad_objects/single_owner_additional_profile.rb new file mode 100644 index 00000000..46ccfdd2 --- /dev/null +++ b/lib/facebook_ads/ad_objects/single_owner_additional_profile.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class SingleOwnerAdditionalProfile < AdObject + + field :id, 'string' + field :name, 'string' + field :user_name, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/site_link.rb b/lib/facebook_ads/ad_objects/site_link.rb new file mode 100644 index 00000000..d30964d3 --- /dev/null +++ b/lib/facebook_ads/ad_objects/site_link.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class SiteLink < AdObject + + field :id, 'string' + field :link_image_hash, 'string' + field :link_title, 'string' + field :link_type, 'string' + field :link_url, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/sliced_event_source_group.rb b/lib/facebook_ads/ad_objects/sliced_event_source_group.rb new file mode 100644 index 00000000..face13c7 --- /dev/null +++ b/lib/facebook_ads/ad_objects/sliced_event_source_group.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class SlicedEventSourceGroup < AdObject + + field :event_source_group, 'EventSourceGroup' + field :filter, 'string' + field :id, 'string' + field :name, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/smart_pixel_insights.rb b/lib/facebook_ads/ad_objects/smart_pixel_insights.rb new file mode 100644 index 00000000..10880fe3 --- /dev/null +++ b/lib/facebook_ads/ad_objects/smart_pixel_insights.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class SmartPixelInsights < AdObject + + field :source, 'string' + field :stats, { list: 'object' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/social_wifi_site.rb b/lib/facebook_ads/ad_objects/social_wifi_site.rb new file mode 100644 index 00000000..da194ee8 --- /dev/null +++ b/lib/facebook_ads/ad_objects/social_wifi_site.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class SocialWifiSite < AdObject + + field :id, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/split_test_config.rb b/lib/facebook_ads/ad_objects/split_test_config.rb new file mode 100644 index 00000000..a25d1df7 --- /dev/null +++ b/lib/facebook_ads/ad_objects/split_test_config.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class SplitTestConfig < AdObject + + field :budget, 'int' + field :early_winner_declaration_enabled, 'bool' + field :end_time, 'datetime' + field :splits, { list: 'int' } + field :start_time, 'datetime' + field :test_variable, 'string' + field :id, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/status.rb b/lib/facebook_ads/ad_objects/status.rb new file mode 100644 index 00000000..99c25ddf --- /dev/null +++ b/lib/facebook_ads/ad_objects/status.rb @@ -0,0 +1,37 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class Status < AdObject + + field :event, 'Event' + field :from, 'object' + field :id, 'string' + field :message, 'string' + field :place, 'Place' + field :updated_time, 'datetime' + has_no_post + has_no_delete + + has_edge :likes do |edge| + edge.post 'Status' do |api| + api.has_param :feedback_source, 'string' + api.has_param :nectar_module, 'string' + api.has_param :notify, 'bool' + api.has_param :tracking, 'string' + end + end + + end +end diff --git a/lib/facebook_ads/ad_objects/stream_filter.rb b/lib/facebook_ads/ad_objects/stream_filter.rb new file mode 100644 index 00000000..b349caad --- /dev/null +++ b/lib/facebook_ads/ad_objects/stream_filter.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class StreamFilter < AdObject + + field :filter_key, 'string' + field :name, 'string' + field :type, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/taggable_subject.rb b/lib/facebook_ads/ad_objects/taggable_subject.rb new file mode 100644 index 00000000..6accf825 --- /dev/null +++ b/lib/facebook_ads/ad_objects/taggable_subject.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class TaggableSubject < AdObject + + field :id, 'string' + field :name, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/targeting_automation.rb b/lib/facebook_ads/ad_objects/targeting_automation.rb index a7693773..1264b87c 100644 --- a/lib/facebook_ads/ad_objects/targeting_automation.rb +++ b/lib/facebook_ads/ad_objects/targeting_automation.rb @@ -16,6 +16,7 @@ module FacebookAds class TargetingAutomation < AdObject field :advantage_audience, 'int' + field :individual_setting, 'object' field :shared_audiences, 'int' field :value_expression, 'int' has_no_id diff --git a/lib/facebook_ads/ad_objects/targeting_geo_location_location_expansion.rb b/lib/facebook_ads/ad_objects/targeting_geo_location_location_expansion.rb new file mode 100644 index 00000000..66794996 --- /dev/null +++ b/lib/facebook_ads/ad_objects/targeting_geo_location_location_expansion.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class TargetingGeoLocationLocationExpansion < AdObject + + field :allowed, 'bool' + field :intent, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/targeting_marketing_message_channels.rb b/lib/facebook_ads/ad_objects/targeting_marketing_message_channels.rb new file mode 100644 index 00000000..bb9b104e --- /dev/null +++ b/lib/facebook_ads/ad_objects/targeting_marketing_message_channels.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class TargetingMarketingMessageChannels < AdObject + + field :whatsapp, 'IdName' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/third_party_measurement_report_dataset.rb b/lib/facebook_ads/ad_objects/third_party_measurement_report_dataset.rb new file mode 100644 index 00000000..c2a6c58b --- /dev/null +++ b/lib/facebook_ads/ad_objects/third_party_measurement_report_dataset.rb @@ -0,0 +1,27 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ThirdPartyMeasurementReportDataset < AdObject + + field :category, 'string' + field :id, 'string' + field :partner, 'Business' + field :product, 'string' + field :schema, { list: 'object' } + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/third_party_partner_lift_request.rb b/lib/facebook_ads/ad_objects/third_party_partner_lift_request.rb new file mode 100644 index 00000000..7d787dfa --- /dev/null +++ b/lib/facebook_ads/ad_objects/third_party_partner_lift_request.rb @@ -0,0 +1,43 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ThirdPartyPartnerLiftRequest < AdObject + STATUS = [ + "CREATED", + "FAILURE", + "IN_PROGRESS", + "SCHEDULED", + "SUCCESS", + ] + + + field :ad_entities, { list: 'string' } + field :country, 'string' + field :created_time, 'datetime' + field :description, 'string' + field :holdout_size, 'double' + field :id, 'string' + field :modified_time, 'datetime' + field :owner_instance_id, 'string' + field :region, 'string' + field :status, { enum: -> { STATUS }} + field :study_cells, { list: 'string' } + field :study_end_time, 'datetime' + field :study_start_time, 'datetime' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/third_party_partner_panel_request.rb b/lib/facebook_ads/ad_objects/third_party_partner_panel_request.rb new file mode 100644 index 00000000..8c961963 --- /dev/null +++ b/lib/facebook_ads/ad_objects/third_party_partner_panel_request.rb @@ -0,0 +1,49 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ThirdPartyPartnerPanelRequest < AdObject + STATUS = [ + "CREATED", + "FAILURE", + "IN_PROGRESS", + "SCHEDULED", + "SUCCESS", + ] + + STUDY_TYPE = [ + "BRAND_LIFT", + "PANEL_SALES_ATTRIBUTION", + "REACH", + ] + + + field :adentities_ids, { list: 'string' } + field :country, 'string' + field :created_time, 'datetime' + field :description, 'string' + field :id, 'string' + field :modified_time, 'datetime' + field :owner_instance_id, 'string' + field :owner_panel_id, 'string' + field :owner_panel_name, 'string' + field :status, { enum: -> { STATUS }} + field :study_end_time, 'datetime' + field :study_start_time, 'datetime' + field :study_type, { enum: -> { STUDY_TYPE }} + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/third_party_partner_panel_scheduled.rb b/lib/facebook_ads/ad_objects/third_party_partner_panel_scheduled.rb new file mode 100644 index 00000000..e482f8af --- /dev/null +++ b/lib/facebook_ads/ad_objects/third_party_partner_panel_scheduled.rb @@ -0,0 +1,49 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ThirdPartyPartnerPanelScheduled < AdObject + STATUS = [ + "CANCELLED", + "CREATED", + "FINISHED", + "ONGOING", + ] + + STUDY_TYPE = [ + "BRAND_LIFT", + "PANEL_SALES_ATTRIBUTION", + "REACH", + ] + + + field :adentities_ids, { list: 'string' } + field :cadence, 'string' + field :country, 'string' + field :created_time, 'datetime' + field :description, 'string' + field :end_time, 'datetime' + field :id, 'string' + field :modified_time, 'datetime' + field :owner_instance_id, 'string' + field :owner_panel_id, 'string' + field :owner_panel_name, 'string' + field :start_time, 'datetime' + field :status, { enum: -> { STATUS }} + field :study_type, { enum: -> { STUDY_TYPE }} + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/third_party_partner_viewability_request.rb b/lib/facebook_ads/ad_objects/third_party_partner_viewability_request.rb new file mode 100644 index 00000000..f2ae215c --- /dev/null +++ b/lib/facebook_ads/ad_objects/third_party_partner_viewability_request.rb @@ -0,0 +1,40 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class ThirdPartyPartnerViewabilityRequest < AdObject + STATUS = [ + "CREATED", + "FAILURE", + "IN_PROGRESS", + "SCHEDULED", + "SUCCESS", + ] + + + field :created_time, 'datetime' + field :description, 'string' + field :hour, 'datetime' + field :id, 'string' + field :metric, 'string' + field :modified_time, 'datetime' + field :owner_instance_id, 'string' + field :platform, 'string' + field :status, { enum: -> { STATUS }} + field :total_file_count, 'int' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/time_suggestion.rb b/lib/facebook_ads/ad_objects/time_suggestion.rb new file mode 100644 index 00000000..6c870ae1 --- /dev/null +++ b/lib/facebook_ads/ad_objects/time_suggestion.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class TimeSuggestion < AdObject + + field :high_demand_periods, { list: 'object' } + field :is_enabled, 'bool' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/timezone_offset.rb b/lib/facebook_ads/ad_objects/timezone_offset.rb new file mode 100644 index 00000000..2d5c0493 --- /dev/null +++ b/lib/facebook_ads/ad_objects/timezone_offset.rb @@ -0,0 +1,29 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class TimezoneOffset < AdObject + + field :abbr, 'string' + field :isdst, 'bool' + field :offset, 'int' + field :time, 'string' + field :ts, 'int' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/transactable_item.rb b/lib/facebook_ads/ad_objects/transactable_item.rb new file mode 100644 index 00000000..e36e4807 --- /dev/null +++ b/lib/facebook_ads/ad_objects/transactable_item.rb @@ -0,0 +1,60 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class TransactableItem < AdObject + IMAGE_FETCH_STATUS = [ + "DIRECT_UPLOAD", + "FETCHED", + "FETCH_FAILED", + "NO_STATUS", + "OUTDATED", + "PARTIAL_FETCH", + ] + + VISIBILITY = [ + "PUBLISHED", + "STAGING", + ] + + + field :action_title, 'string' + field :applinks, 'CatalogItemAppLinks' + field :category_specific_fields, 'CatalogSubVerticalList' + field :currency, 'string' + field :description, 'string' + field :duration_time, 'int' + field :duration_type, 'string' + field :id, 'string' + field :image_fetch_status, { enum: -> { IMAGE_FETCH_STATUS }} + field :images, { list: 'string' } + field :order_index, 'int' + field :price, 'string' + field :price_type, 'string' + field :sanitized_images, { list: 'string' } + field :session_type, 'string' + field :time_padding_after_end, 'int' + field :title, 'string' + field :transactable_item_id, 'string' + field :url, 'string' + field :visibility, { enum: -> { VISIBILITY }} + has_no_post + has_no_delete + + has_edge :channels_to_integrity_status do |edge| + edge.get 'CatalogItemChannelsToIntegrityStatus' + end + + end +end diff --git a/lib/facebook_ads/ad_objects/transaction.rb b/lib/facebook_ads/ad_objects/transaction.rb new file mode 100644 index 00000000..b5e7f846 --- /dev/null +++ b/lib/facebook_ads/ad_objects/transaction.rb @@ -0,0 +1,53 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class Transaction < AdObject + PRODUCT_TYPE = [ + "cp_return_label", + "facebook_ad", + "ig_ad", + "whatsapp", + "workplace", + ] + + + field :account_id, 'string' + field :app_amount, 'object' + field :billing_end_time, 'int' + field :billing_reason, 'string' + field :billing_start_time, 'int' + field :card_charge_mode, 'int' + field :charge_type, 'string' + field :checkout_campaign_group_id, 'string' + field :credential_id, 'string' + field :fatura_id, 'int' + field :id, 'string' + field :is_business_ec_charge, 'bool' + field :is_funding_event, 'bool' + field :payment_option, 'string' + field :product_type, { enum: -> { PRODUCT_TYPE }} + field :provider_amount, 'object' + field :status, 'string' + field :time, 'int' + field :tracking_id, 'string' + field :transaction_type, 'string' + field :tx_type, 'int' + field :vat_invoice_id, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/unique_ad_creative.rb b/lib/facebook_ads/ad_objects/unique_ad_creative.rb new file mode 100644 index 00000000..4b444e4b --- /dev/null +++ b/lib/facebook_ads/ad_objects/unique_ad_creative.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class UniqueAdCreative < AdObject + + field :sample_creative, 'AdCreative' + field :visual_hash, 'int' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/user.rb b/lib/facebook_ads/ad_objects/user.rb index 7de8f894..513df05a 100644 --- a/lib/facebook_ads/ad_objects/user.rb +++ b/lib/facebook_ads/ad_objects/user.rb @@ -43,7 +43,7 @@ class User < AdObject field :community, 'Group' field :cover, 'UserCoverPhoto' field :currency, 'Currency' - field :education, { list: 'object' } + field :education, { list: 'EducationExperience' } field :email, 'string' field :favorite_athletes, { list: 'Experience' } field :favorite_teams, { list: 'Experience' } @@ -165,6 +165,10 @@ class User < AdObject edge.get 'AdAccount' end + has_edge :assigned_applications do |edge| + edge.get 'Application' + end + has_edge :assigned_business_asset_groups do |edge| edge.get 'BusinessAssetGroup' do |api| api.has_param :contained_asset_id, 'string' @@ -203,7 +207,7 @@ class User < AdObject api.has_param :survey_business_type, { enum: -> { Business::SURVEY_BUSINESS_TYPE }} api.has_param :survey_num_assets, 'int' api.has_param :survey_num_people, 'int' - api.has_param :timezone_id, 'int' + api.has_param :timezone_id, { enum: -> { Business::TIMEZONE_ID }} api.has_param :vertical, { enum: -> { Business::VERTICAL }} end end @@ -239,7 +243,6 @@ class User < AdObject end edge.post 'Post' do |api| api.has_param :actions, 'object' - api.has_param :adaptive_type, 'string' api.has_param :album_id, 'string' api.has_param :android_key_hash, 'string' api.has_param :animated_effect_id, 'int' @@ -324,7 +327,6 @@ class User < AdObject api.has_param :publish_event_id, 'int' api.has_param :published, 'bool' api.has_param :quote, 'string' - api.has_param :react_mode_metadata, 'string' api.has_param :ref, { list: 'string' } api.has_param :referenceable_image_ids, { list: 'string' } api.has_param :referral_id, 'string' @@ -378,12 +380,6 @@ class User < AdObject end end - has_edge :game_times do |edge| - edge.post do |api| - api.has_param :action, { enum: %w{END HEARTBEAT START }} - end - end - has_edge :groups do |edge| edge.get 'Group' do |api| api.has_param :admin_only, 'bool' @@ -585,7 +581,6 @@ class User < AdObject api.has_param :type, { enum: -> { AdVideo::TYPE }} end edge.post 'AdVideo' do |api| - api.has_param :adaptive_type, 'string' api.has_param :animated_effect_id, 'int' api.has_param :application_id, 'string' api.has_param :asked_fun_fact_prompt_id, 'int' @@ -636,7 +631,6 @@ class User < AdObject api.has_param :original_projection_type, { enum: -> { AdVideo::ORIGINAL_PROJECTION_TYPE }} api.has_param :privacy, 'string' api.has_param :publish_event_id, 'int' - api.has_param :react_mode_metadata, 'string' api.has_param :referenced_sticker_id, 'string' api.has_param :replace_video_id, 'string' api.has_param :slideshow_spec, 'hash' diff --git a/lib/facebook_ads/ad_objects/user_context.rb b/lib/facebook_ads/ad_objects/user_context.rb new file mode 100644 index 00000000..bf955d45 --- /dev/null +++ b/lib/facebook_ads/ad_objects/user_context.rb @@ -0,0 +1,23 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class UserContext < AdObject + + field :id, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/user_mobile_config.rb b/lib/facebook_ads/ad_objects/user_mobile_config.rb new file mode 100644 index 00000000..724fdce5 --- /dev/null +++ b/lib/facebook_ads/ad_objects/user_mobile_config.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class UserMobileConfig < AdObject + + field :section_name, 'string' + field :value, 'object' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/user_notification_seen_state_data.rb b/lib/facebook_ads/ad_objects/user_notification_seen_state_data.rb new file mode 100644 index 00000000..f83e823b --- /dev/null +++ b/lib/facebook_ads/ad_objects/user_notification_seen_state_data.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class UserNotificationSeenStateData < AdObject + + field :id, 'string' + field :seen_state, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/user_payment_methods_info.rb b/lib/facebook_ads/ad_objects/user_payment_methods_info.rb new file mode 100644 index 00000000..54b8d7d4 --- /dev/null +++ b/lib/facebook_ads/ad_objects/user_payment_methods_info.rb @@ -0,0 +1,31 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class UserPaymentMethodsInfo < AdObject + + field :account_id, 'string' + field :available_card_types, { list: 'string' } + field :available_payment_methods, { list: 'string' } + field :available_payment_methods_details, { list: 'object' } + field :country, 'string' + field :currency, 'string' + field :existing_payment_methods, { list: 'object' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/user_payment_modules_options.rb b/lib/facebook_ads/ad_objects/user_payment_modules_options.rb new file mode 100644 index 00000000..03053f75 --- /dev/null +++ b/lib/facebook_ads/ad_objects/user_payment_modules_options.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class UserPaymentModulesOptions < AdObject + + field :account_id, 'string' + field :available_payment_options, { list: 'object' } + field :country, 'string' + field :currency, 'string' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/user_set_reporting_root.rb b/lib/facebook_ads/ad_objects/user_set_reporting_root.rb new file mode 100644 index 00000000..00c71c00 --- /dev/null +++ b/lib/facebook_ads/ad_objects/user_set_reporting_root.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class UserSetReportingRoot < AdObject + + field :creation_time, 'datetime' + field :id, 'string' + field :last_modified_time, 'datetime' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/vehicle.rb b/lib/facebook_ads/ad_objects/vehicle.rb index afcd055e..e80d049e 100644 --- a/lib/facebook_ads/ad_objects/vehicle.rb +++ b/lib/facebook_ads/ad_objects/vehicle.rb @@ -168,7 +168,7 @@ class Vehicle < AdObject has_no_delete has_edge :augmented_realities_metadata do |edge| - edge.get + edge.get 'DynamicArMetadata' end has_edge :channels_to_integrity_status do |edge| diff --git a/lib/facebook_ads/ad_objects/vehicle_offer.rb b/lib/facebook_ads/ad_objects/vehicle_offer.rb index c212dde7..86676d99 100644 --- a/lib/facebook_ads/ad_objects/vehicle_offer.rb +++ b/lib/facebook_ads/ad_objects/vehicle_offer.rb @@ -78,7 +78,7 @@ class VehicleOffer < AdObject has_no_delete has_edge :augmented_realities_metadata do |edge| - edge.get + edge.get 'DynamicArMetadata' end has_edge :channels_to_integrity_status do |edge| diff --git a/lib/facebook_ads/ad_objects/video_asset.rb b/lib/facebook_ads/ad_objects/video_asset.rb new file mode 100644 index 00000000..5e970d25 --- /dev/null +++ b/lib/facebook_ads/ad_objects/video_asset.rb @@ -0,0 +1,75 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class VideoAsset < AdObject + + field :broadcast_id, 'string' + field :broadcast_planned_start_time, 'datetime' + field :can_viewer_edit, 'bool' + field :copyright_monitoring_status, 'string' + field :created_time, 'datetime' + field :creator, 'User' + field :description, 'string' + field :download_hd_url, 'string' + field :download_sd_url, 'string' + field :embeddable, 'bool' + field :expiration, 'object' + field :feed_type, 'string' + field :id, 'string' + field :is_crossposting_eligible, 'bool' + field :is_crossposting_within_bm_eligible, 'bool' + field :is_crossposting_within_bm_enabled, 'bool' + field :is_episode, 'bool' + field :is_featured, 'bool' + field :is_live_premiere, 'bool' + field :is_video_asset, 'bool' + field :last_added_time, 'datetime' + field :latest_creator, 'User' + field :latest_owned_description, 'string' + field :latest_owned_title, 'string' + field :length, 'double' + field :live_status, 'string' + field :no_story, 'bool' + field :owner_name, 'string' + field :owner_picture, 'string' + field :owner_post_state, 'string' + field :permalink_url, 'string' + field :picture, 'string' + field :posts_count, 'int' + field :posts_ids, { list: 'string' } + field :posts_status, 'object' + field :premiere_living_room_status, 'string' + field :published, 'bool' + field :scheduled_publish_time, 'datetime' + field :secret, 'bool' + field :secure_stream_url, 'string' + field :social_actions, 'bool' + field :status, 'VideoStatus' + field :stream_url, 'string' + field :thumbnail_while_encoding, 'string' + field :title, 'string' + field :views, 'int' + has_no_post + has_no_delete + + has_edge :insights do |edge| + edge.get 'InsightsResult' do |api| + api.has_param :metric, { list: { enum: -> { InsightsResult::METRIC }} } + api.has_param :period, { enum: -> { InsightsResult::PERIOD }} + end + end + + end +end diff --git a/lib/facebook_ads/ad_objects/video_copyright.rb b/lib/facebook_ads/ad_objects/video_copyright.rb index af960bf7..87d078da 100644 --- a/lib/facebook_ads/ad_objects/video_copyright.rb +++ b/lib/facebook_ads/ad_objects/video_copyright.rb @@ -46,7 +46,7 @@ class VideoCopyright < AdObject has_no_delete has_edge :update_records do |edge| - edge.get + edge.get 'MediaCopyrightUpdateRecord' end end diff --git a/lib/facebook_ads/ad_objects/video_copyright_match.rb b/lib/facebook_ads/ad_objects/video_copyright_match.rb new file mode 100644 index 00000000..64706942 --- /dev/null +++ b/lib/facebook_ads/ad_objects/video_copyright_match.rb @@ -0,0 +1,54 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class VideoCopyrightMatch < AdObject + ACTION = [ + "BLOCK", + "CLAIM_AD_EARNINGS", + "MANUAL_REVIEW", + "MONITOR", + "REQUEST_TAKEDOWN", + ] + + ACTION_REASON = [ + "ARTICLE_17_PREFLAGGING", + "ARTIST_OBJECTION", + "OBJECTIONABLE_CONTENT", + "PREMIUM_MUSIC_VIDEO", + "PRERELEASE_CONTENT", + "PRODUCT_PARAMETERS", + "RESTRICTED_CONTENT", + "UNAUTHORIZED_COMMERCIAL_USE", + ] + + MATCH_CONTENT_TYPE = [ + "AUDIO_ONLY", + "VIDEO_AND_AUDIO", + "VIDEO_ONLY", + ] + + + field :created_date, 'datetime' + field :id, 'string' + field :last_modified_user, 'User' + field :match_data, { list: 'object' } + field :match_status, 'string' + field :notes, 'string' + field :permalink, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/video_group.rb b/lib/facebook_ads/ad_objects/video_group.rb new file mode 100644 index 00000000..100b3ca0 --- /dev/null +++ b/lib/facebook_ads/ad_objects/video_group.rb @@ -0,0 +1,40 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class VideoGroup < AdObject + + field :created_time, 'string' + field :description, 'string' + field :disable_reason, 'string' + field :id, 'string' + field :ig_profile_ids, { list: 'string' } + field :is_disabled, 'bool' + field :is_fb_video_group, 'bool' + field :last_used_time, 'string' + field :length, 'double' + field :name, 'string' + field :page_id, 'string' + field :page_ids, { list: 'string' } + field :picture, 'string' + field :placements, { list: 'string' } + field :video_group_types, { list: 'string' } + field :videos, { list: 'string' } + field :views, 'int' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/video_metrics_report.rb b/lib/facebook_ads/ad_objects/video_metrics_report.rb new file mode 100644 index 00000000..55694621 --- /dev/null +++ b/lib/facebook_ads/ad_objects/video_metrics_report.rb @@ -0,0 +1,33 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class VideoMetricsReport < AdObject + + field :checksum, 'string' + field :chunks, 'int' + field :end_date, 'datetime' + field :id, 'string' + field :index, 'int' + field :name, 'string' + field :platform, 'string' + field :start_date, 'datetime' + field :type, 'string' + field :upload_date, 'datetime' + field :url, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/video_stats.rb b/lib/facebook_ads/ad_objects/video_stats.rb new file mode 100644 index 00000000..2652ce26 --- /dev/null +++ b/lib/facebook_ads/ad_objects/video_stats.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class VideoStats < AdObject + + field :aggregate, { list: 'hash' } + field :error, 'string' + field :metadata, { list: 'hash' } + field :time_series, { list: 'map>' } + field :totals, { list: 'hash' } + field :x_axis_breakdown, { list: { list: 'hash' } } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/video_text_question.rb b/lib/facebook_ads/ad_objects/video_text_question.rb new file mode 100644 index 00000000..9ca7fa1e --- /dev/null +++ b/lib/facebook_ads/ad_objects/video_text_question.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class VideoTextQuestion < AdObject + + field :id, 'string' + field :question_target_id, 'string' + field :question_text, 'string' + field :status, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/vidwalla_broadcast.rb b/lib/facebook_ads/ad_objects/vidwalla_broadcast.rb new file mode 100644 index 00000000..88a69122 --- /dev/null +++ b/lib/facebook_ads/ad_objects/vidwalla_broadcast.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class VidwallaBroadcast < AdObject + + field :id, 'string' + field :overlay_url, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/wearable_device_public_key.rb b/lib/facebook_ads/ad_objects/wearable_device_public_key.rb new file mode 100644 index 00000000..eefa1531 --- /dev/null +++ b/lib/facebook_ads/ad_objects/wearable_device_public_key.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class WearableDevicePublicKey < AdObject + + field :base64_encoded_public_key, 'string' + field :creation_time_on_device, 'datetime' + field :device_uuid, 'string' + field :id, 'string' + field :key_type, 'string' + field :owner_id, 'string' + field :product_use_case, 'string' + field :version, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/web_publisher.rb b/lib/facebook_ads/ad_objects/web_publisher.rb new file mode 100644 index 00000000..0718084b --- /dev/null +++ b/lib/facebook_ads/ad_objects/web_publisher.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class WebPublisher < AdObject + + field :domain_url, 'string' + field :id, 'string' + field :publisher_name, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/website_creative_asset_source.rb b/lib/facebook_ads/ad_objects/website_creative_asset_source.rb new file mode 100644 index 00000000..707e7aa8 --- /dev/null +++ b/lib/facebook_ads/ad_objects/website_creative_asset_source.rb @@ -0,0 +1,24 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class WebsiteCreativeAssetSource < AdObject + + field :id, 'string' + field :source_url, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/website_creative_asset_suggestions.rb b/lib/facebook_ads/ad_objects/website_creative_asset_suggestions.rb new file mode 100644 index 00000000..22291b7d --- /dev/null +++ b/lib/facebook_ads/ad_objects/website_creative_asset_suggestions.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class WebsiteCreativeAssetSuggestions < AdObject + + field :ad_account_id, 'string' + field :extraction_status, 'string' + field :id, 'string' + field :link_url, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/whats_app_business_account.rb b/lib/facebook_ads/ad_objects/whats_app_business_account.rb index 0bc1eeb5..6a9eda50 100644 --- a/lib/facebook_ads/ad_objects/whats_app_business_account.rb +++ b/lib/facebook_ads/ad_objects/whats_app_business_account.rb @@ -21,6 +21,7 @@ class WhatsAppBusinessAccount < AdObject "MANAGE_PHONE", "MANAGE_PHONE_ASSETS", "MANAGE_TEMPLATES", + "MESSAGING", "VIEW_COST", "VIEW_PHONE_ASSETS", "VIEW_TEMPLATES", @@ -32,6 +33,10 @@ class WhatsAppBusinessAccount < AdObject "UTILITY", ] + DISPLAY_FORMAT = [ + "ORDER_DETAILS", + ] + SUB_CATEGORY = [ "ORDER_DETAILS", "ORDER_STATUS", @@ -40,6 +45,7 @@ class WhatsAppBusinessAccount < AdObject field :account_review_status, 'string' field :analytics, 'object' + field :auth_international_rate_eligibility, 'object' field :business_verification_status, 'string' field :country, 'string' field :creation_time, 'int' @@ -54,6 +60,7 @@ class WhatsAppBusinessAccount < AdObject field :owner_business, 'Business' field :owner_business_info, 'object' field :ownership_type, 'string' + field :primary_business_location, 'string' field :primary_funding_id, 'string' field :purchase_order_number, 'string' field :status, 'string' @@ -79,7 +86,7 @@ class WhatsAppBusinessAccount < AdObject has_edge :conversation_analytics do |edge| edge.get do |api| - api.has_param :conversation_categories, { list: { enum: %w{AUTHENTICATION AUTHENTICATION_INTERNATIONAL FIXED_TEMPLATE_NOTIFY MARKETING MARKETING_OPTIMIZED_DELIVERY SERVICE UNKNOWN UTILITY }} } + api.has_param :conversation_categories, { list: { enum: %w{AUTHENTICATION AUTHENTICATION_INTERNATIONAL MARKETING MARKETING_OPTIMIZED_DELIVERY SERVICE UNKNOWN UTILITY UTILITY_FIXED_TEMPLATE }} } api.has_param :conversation_directions, { list: { enum: %w{BUSINESS_INITIATED UNKNOWN USER_INITIATED }} } api.has_param :conversation_types, { list: { enum: %w{FREE_ENTRY_POINT FREE_TIER REGULAR UNKNOWN }} } api.has_param :country_codes, { list: 'string' } @@ -132,13 +139,14 @@ class WhatsAppBusinessAccount < AdObject api.has_param :name, 'string' api.has_param :name_or_content, 'string' api.has_param :quality_score, { list: { enum: %w{GREEN RED UNKNOWN YELLOW }} } - api.has_param :status, { list: { enum: %w{APPROVED DELETED DISABLED IN_APPEAL LIMIT_EXCEEDED PAUSED PENDING PENDING_DELETION REJECTED }} } + api.has_param :status, { list: { enum: %w{APPROVED ARCHIVED DELETED DISABLED IN_APPEAL LIMIT_EXCEEDED PAUSED PENDING PENDING_DELETION REJECTED }} } end edge.post 'WhatsAppBusinessAccount' do |api| api.has_param :allow_category_change, 'bool' api.has_param :category, { enum: -> { WhatsAppBusinessAccount::CATEGORY }} api.has_param :components, { list: 'hash' } api.has_param :cta_url_link_tracking_opted_out, 'bool' + api.has_param :display_format, { enum: -> { WhatsAppBusinessAccount::DISPLAY_FORMAT }} api.has_param :language, 'string' api.has_param :library_template_button_inputs, { list: 'hash' } api.has_param :library_template_name, 'string' @@ -181,7 +189,13 @@ class WhatsAppBusinessAccount < AdObject end has_edge :set_obo_mobility_intent do |edge| - edge.post + edge.post do |api| + api.has_param :solution_id, 'string' + end + end + + has_edge :solutions do |edge| + edge.get end has_edge :subscribed_apps do |edge| @@ -197,7 +211,7 @@ class WhatsAppBusinessAccount < AdObject edge.get do |api| api.has_param :end, 'datetime' api.has_param :granularity, { enum: %w{DAILY }} - api.has_param :metric_types, { list: { enum: %w{CLICKED DELIVERED READ SENT }} } + api.has_param :metric_types, { list: { enum: %w{CLICKED COST DELIVERED READ SENT }} } api.has_param :start, 'datetime' api.has_param :template_ids, { list: 'string' } end diff --git a/lib/facebook_ads/ad_objects/whats_app_business_partner_client_verification_submission.rb b/lib/facebook_ads/ad_objects/whats_app_business_partner_client_verification_submission.rb index 6d59a460..b0fb6a16 100644 --- a/lib/facebook_ads/ad_objects/whats_app_business_partner_client_verification_submission.rb +++ b/lib/facebook_ads/ad_objects/whats_app_business_partner_client_verification_submission.rb @@ -25,6 +25,7 @@ class WhatsAppBusinessPartnerClientVerificationSubmission < AdObject "APPROVED", "FAILED", "PENDING", + "REVOKED", ] diff --git a/lib/facebook_ads/ad_objects/whats_app_payment_capabilities.rb b/lib/facebook_ads/ad_objects/whats_app_payment_capabilities.rb new file mode 100644 index 00000000..b2975890 --- /dev/null +++ b/lib/facebook_ads/ad_objects/whats_app_payment_capabilities.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class WhatsAppPaymentCapabilities < AdObject + + field :is_enabled, 'bool' + field :payment_capability_details, { list: 'object' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/whatsapp_subscribed_apps_info.rb b/lib/facebook_ads/ad_objects/whatsapp_subscribed_apps_info.rb new file mode 100644 index 00000000..746aab51 --- /dev/null +++ b/lib/facebook_ads/ad_objects/whatsapp_subscribed_apps_info.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class WhatsappSubscribedAppsInfo < AdObject + + field :page_whatsapp_number, 'string' + field :subscribed_apps, { list: 'object' } + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/whitehat_fbdl_run.rb b/lib/facebook_ads/ad_objects/whitehat_fbdl_run.rb new file mode 100644 index 00000000..c8a26496 --- /dev/null +++ b/lib/facebook_ads/ad_objects/whitehat_fbdl_run.rb @@ -0,0 +1,30 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class WhitehatFbdlRun < AdObject + + field :creation_time, 'datetime' + field :id, 'string' + field :is_pinned, 'bool' + field :note, 'string' + field :result, { list: 'hash' } + field :run_code, 'string' + field :status, 'string' + field :user_type, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/wifi_information.rb b/lib/facebook_ads/ad_objects/wifi_information.rb new file mode 100644 index 00000000..e5c507ca --- /dev/null +++ b/lib/facebook_ads/ad_objects/wifi_information.rb @@ -0,0 +1,25 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class WifiInformation < AdObject + + field :id, 'string' + field :name, 'string' + field :network_access_type, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/wit_user.rb b/lib/facebook_ads/ad_objects/wit_user.rb new file mode 100644 index 00000000..c01659d1 --- /dev/null +++ b/lib/facebook_ads/ad_objects/wit_user.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class WitUser < AdObject + + field :access_token, 'string' + field :id, 'string' + field :name, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/with_asset3_d.rb b/lib/facebook_ads/ad_objects/with_asset3_d.rb new file mode 100644 index 00000000..3acc6b88 --- /dev/null +++ b/lib/facebook_ads/ad_objects/with_asset3_d.rb @@ -0,0 +1,23 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class WithAsset3D < AdObject + + field :id, 'string' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/woodhenge_supporter.rb b/lib/facebook_ads/ad_objects/woodhenge_supporter.rb new file mode 100644 index 00000000..18c5ca43 --- /dev/null +++ b/lib/facebook_ads/ad_objects/woodhenge_supporter.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class WoodhengeSupporter < AdObject + + field :creation_time, 'datetime' + field :id, 'string' + field :is_gifted_subscription, 'bool' + field :most_recent_subscription_time, 'datetime' + field :number_of_months_subscribed, 'int' + field :user, 'User' + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/work_access_code.rb b/lib/facebook_ads/ad_objects/work_access_code.rb new file mode 100644 index 00000000..dcaee429 --- /dev/null +++ b/lib/facebook_ads/ad_objects/work_access_code.rb @@ -0,0 +1,26 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class WorkAccessCode < AdObject + + field :code, 'string' + field :expiration_time, 'datetime' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/work_experience.rb b/lib/facebook_ads/ad_objects/work_experience.rb new file mode 100644 index 00000000..0efc4e76 --- /dev/null +++ b/lib/facebook_ads/ad_objects/work_experience.rb @@ -0,0 +1,32 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class WorkExperience < AdObject + + field :description, 'string' + field :employer, 'Page' + field :end_date, 'string' + field :from, 'User' + field :id, 'string' + field :location, 'Page' + field :position, 'Page' + field :projects, { list: 'object' } + field :start_date, 'string' + field :with, { list: 'User' } + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/work_skill.rb b/lib/facebook_ads/ad_objects/work_skill.rb new file mode 100644 index 00000000..37847945 --- /dev/null +++ b/lib/facebook_ads/ad_objects/work_skill.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class WorkSkill < AdObject + + field :id, 'string' + field :name, 'string' + has_no_post + has_no_delete + + has_edge :users do |edge| + edge.get 'User' + end + + end +end diff --git a/lib/facebook_ads/ad_objects/work_user_badges.rb b/lib/facebook_ads/ad_objects/work_user_badges.rb new file mode 100644 index 00000000..f49ad1fc --- /dev/null +++ b/lib/facebook_ads/ad_objects/work_user_badges.rb @@ -0,0 +1,28 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. + +# This source code is licensed under the license found in the +# LICENSE file in the root directory of this source tree. + +# FB:AUTOGEN + +module FacebookAds + # This class is auto-generated. + + # 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. + + class WorkUserBadges < AdObject + + field :category, 'string' + field :description, 'string' + field :icon, 'string' + field :id, 'string' + field :name, 'string' + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/version.rb b/lib/facebook_ads/version.rb index f0c88388..67134d35 100644 --- a/lib/facebook_ads/version.rb +++ b/lib/facebook_ads/version.rb @@ -7,6 +7,6 @@ # FB:AUTOGEN module FacebookAds - VERSION = '19.0.3' - API_VERSION = '19.0' + VERSION = '20.0.0' + API_VERSION = '20.0' end