Skip to content

Commit

Permalink
add new words
Browse files Browse the repository at this point in the history
Summary: unblock business sdk release

Reviewed By: liliarizona

Differential Revision: D66021719

fbshipit-source-id: 48702414deabf76c4f78ffe6c5be348ea5c4d189
  • Loading branch information
satwikareddy3 authored and facebook-github-bot committed Nov 15, 2024
1 parent 97dd75f commit 6833da5
Show file tree
Hide file tree
Showing 53 changed files with 284 additions and 93 deletions.
9 changes: 8 additions & 1 deletion lib/facebook_ads/ad_objects/ad_account.rb
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ class AdAccount < AdObject
field :end_advertiser, 'string'
field :end_advertiser_name, 'string'
field :existing_customers, { list: 'string' }
field :expired_funding_source_details, 'FundingSourceDetails'
field :extended_credit_invoice_group, 'ExtendedCreditInvoiceGroup'
field :failed_delivery_checks, { list: 'DeliveryCheck' }
field :fb_entity, 'int'
Expand Down Expand Up @@ -293,6 +294,7 @@ class AdAccount < AdObject
edge.get 'AdCreative'
edge.post 'AdCreative' do |api|
api.has_param :actor_id, 'int'
api.has_param :ad_disclaimer_spec, 'hash'
api.has_param :adlabels, { list: 'object' }
api.has_param :applink_treatment, { enum: -> { AdCreative::APPLINK_TREATMENT }}
api.has_param :asset_feed_spec, 'object'
Expand All @@ -305,6 +307,7 @@ class AdAccount < AdObject
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 :creative_sourcing_spec, '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 }}
Expand Down Expand Up @@ -629,7 +632,6 @@ class AdAccount < AdObject
api.has_param :start_offset, 'int'
api.has_param :swap_mode, { enum: -> { AdVideo::SWAP_MODE }}
api.has_param :text_format_metadata, 'string'
api.has_param :throwback_camera_roll_media, 'string'
api.has_param :thumb, 'file'
api.has_param :time_since_original_post, 'int'
api.has_param :title, 'string'
Expand Down Expand Up @@ -1116,7 +1118,12 @@ class AdAccount < AdObject
has_edge :recommendations do |edge|
edge.get 'AdAccountRecommendations'
edge.post 'AdAccountRecommendations' do |api|
api.has_param :asc_fragmentation_parameters, 'hash'
api.has_param :autoflow_parameters, 'hash'
api.has_param :fragmentation_parameters, 'hash'
api.has_param :music_parameters, 'hash'
api.has_param :recommendation_signature, 'string'
api.has_param :scale_good_campaign_parameters, 'hash'
end
end

Expand Down
4 changes: 4 additions & 0 deletions lib/facebook_ads/ad_objects/ad_account_ad_volume.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ class AdAccountAdVolume < AdObject
RECOMMENDATION_TYPE = [
"AAC_CREATION_PACKAGE",
"AB_TEST",
"ACCOUNT_ERROR",
"ACCOUNT_NEEDS_CREDIT",
"ACCOUNT_SPEND_LIMIT",
"ACCOUNT_SPEND_LIMIT_DUPLICATION",
"ACO_TOGGLE",
"ADS_REPORTING",
"ADS_STATUS",
"ADVANCED_CAMPAIGN_BUDGET",
"ADVANTAGE_APP_CAMPAIGN",
"ADVANTAGE_CAMPAIGN_BUDGET_DUPLICATION",
Expand Down Expand Up @@ -141,6 +143,7 @@ class AdAccountAdVolume < AdObject
"HIGH_COST",
"HISTORICAL_BENCHMARK",
"IG_MULTI_ADS",
"IG_SURFACES_MANUAL_PLACEMENTS",
"LANDING_PAGE_VIEW",
"LANDING_PAGE_VIEW_OPTIMIZATION_GOAL",
"LANDING_PAGE_VIEW_PRECREATE",
Expand Down Expand Up @@ -214,6 +217,7 @@ class AdAccountAdVolume < AdObject
"SIGNALS_GROWTH_CAPI_TABLE",
"SIGNALS_GROWTH_CAPI_V2",
"SIMILAR_ADVERTISER_BUDGET_RECOMMENDATION",
"SITE_EXTENSIONS_DUPLICATION",
"SIX_PLUS_MANUAL_PLACEMENTS",
"SIX_PLUS_PLACEMENTS_DUPLICATION",
"SPEND_LIMIT",
Expand Down
5 changes: 5 additions & 0 deletions lib/facebook_ads/ad_objects/ad_account_recommendations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ module FacebookAds
class AdAccountRecommendations < AdObject

field :recommendations, { list: 'object' }
field :asc_fragmentation_parameters, 'hash'
field :autoflow_parameters, 'hash'
field :fragmentation_parameters, 'hash'
field :music_parameters, 'hash'
field :recommendation_signature, 'string'
field :scale_good_campaign_parameters, 'hash'
has_no_id
has_no_get
has_no_post
Expand Down
1 change: 1 addition & 0 deletions lib/facebook_ads/ad_objects/ad_account_user_settings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ class AdAccountUserSettings < AdObject
field :should_default_instagram_profile_card_optimization, 'bool'
field :should_default_text_swapping_optimization, 'bool'
field :should_logout_of_3p_sourcing, 'bool'
field :should_show_shops_ads_metrics_onboarding_tour, 'bool'
field :show_archived_data, 'bool'
field :show_text_variation_nux_tooltip, 'bool'
field :syd_campaign_trends_activemetric, 'string'
Expand Down
1 change: 1 addition & 0 deletions lib/facebook_ads/ad_objects/ad_asset_feed_spec_link_url.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class AdAssetFeedSpecLinkUrl < AdObject
field :carousel_see_more_url, 'string'
field :deeplink_url, 'string'
field :display_url, 'string'
field :object_store_urls, { list: 'string' }
field :url_tags, 'string'
field :website_url, 'string'
has_no_id
Expand Down
2 changes: 2 additions & 0 deletions lib/facebook_ads/ad_objects/ad_creative.rb
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ class AdCreative < AdObject

field :account_id, 'string'
field :actor_id, 'string'
field :ad_disclaimer_spec, 'AdCreativeAdDisclaimer'
field :adlabels, { list: 'AdLabel' }
field :applink_treatment, 'string'
field :asset_feed_spec, 'AdAssetFeedSpec'
Expand Down Expand Up @@ -218,6 +219,7 @@ class AdCreative < AdObject
field :platform_customizations, 'AdCreativePlatformCustomization'
field :playable_asset_id, 'string'
field :portrait_customizations, 'AdCreativePortraitCustomizations'
field :product_data, { list: 'AdCreativeProductData' }
field :product_set_id, 'string'
field :recommender_settings, 'AdCreativeRecommenderSettings'
field :source_instagram_media_id, 'string'
Expand Down
1 change: 1 addition & 0 deletions lib/facebook_ads/ad_objects/ad_creative_features_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ class AdCreativeFeaturesSpec < AdObject
field :media_liquidity_animated_image, 'AdCreativeFeatureDetails'
field :media_order, 'AdCreativeFeatureDetails'
field :media_type_automation, 'AdCreativeFeatureDetails'
field :multi_photo_to_video, 'AdCreativeFeatureDetails'
field :pac_relaxation, 'AdCreativeFeatureDetails'
field :product_extensions, 'AdCreativeFeatureDetails'
field :product_metadata_automation, 'AdCreativeFeatureDetails'
Expand Down
1 change: 1 addition & 0 deletions lib/facebook_ads/ad_objects/ad_creative_link_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class AdCreativeLinkData < AdObject
field :app_link_spec, 'AdCreativeLinkDataAppLinkSpec'
field :attachment_style, 'string'
field :automated_product_tags, 'bool'
field :boosted_product_set_id, 'string'
field :branded_content_shared_to_sponsor_status, 'string'
field :branded_content_sponsor_page_id, 'string'
field :call_to_action, 'AdCreativeLinkDataCallToAction'
Expand Down
1 change: 1 addition & 0 deletions lib/facebook_ads/ad_objects/ad_monetization_property.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class AdMonetizationProperty < AdObject
api.has_param :metrics, { list: { enum: -> { AdNetworkAnalyticsSyncQueryResult::METRICS }} }
api.has_param :ordering_column, { enum: -> { AdNetworkAnalyticsSyncQueryResult::ORDERING_COLUMN }}
api.has_param :ordering_type, { enum: -> { AdNetworkAnalyticsSyncQueryResult::ORDERING_TYPE }}
api.has_param :should_include_until, 'bool'
api.has_param :since, 'datetime'
api.has_param :until, 'datetime'
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ module FacebookAds

class AdNetworkAnalyticsAsyncQueryExport < AdObject

field :error, 'object'
field :export_link, 'string'
field :query_id, 'string'
field :status, 'string'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ module FacebookAds
class AdNetworkAnalyticsAsyncQueryResult < AdObject

field :data, 'object'
field :error, 'object'
field :omitted_results, { list: 'object' }
field :query_id, 'string'
field :results, { list: 'object' }
Expand Down
2 changes: 2 additions & 0 deletions lib/facebook_ads/ad_objects/ad_report_run.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ class AdReportRun < AdObject

field :account_id, 'string'
field :async_percent_completion, 'int'
field :async_report_url, 'string'
field :async_status, 'string'
field :date_start, 'string'
field :date_stop, 'string'
field :emails, { list: 'string' }
field :friendly_name, 'string'
field :id, 'string'
field :is_async_export, 'int'
field :is_bookmarked, 'bool'
field :is_running, 'bool'
field :schedule_id, 'string'
Expand Down
1 change: 1 addition & 0 deletions lib/facebook_ads/ad_objects/ad_rule.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class AdRule < AdObject
"AM_SYD_RESOLUTION_FLOW",
"AM_SYD_RESOLUTION_FLOW_MODAL",
"AM_TABLE_DELIVERY_COLUMN_POPOVER",
"AM_TABLE_MORE_RULES_DROPDOWN",
"AM_TABLE_TOGGLE_POPOVER",
"AM_TOOLBAR_CREATE_RULE_DROPDOWN",
"PE_CAMPAIGN_STRUCTURE_MENU",
Expand Down
1 change: 1 addition & 0 deletions lib/facebook_ads/ad_objects/ad_set.rb
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ class AdSet < AdObject
"0",
"1",
"2",
"3",
]

TUNE_FOR_CATEGORY = [
Expand Down
1 change: 0 additions & 1 deletion lib/facebook_ads/ad_objects/ad_video.rb
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,6 @@ class AdVideo < AdObject
field :start_offset, 'int'
field :swap_mode, { enum: -> { SWAP_MODE }}
field :text_format_metadata, 'string'
field :throwback_camera_roll_media, 'string'
field :thumb, 'file'
field :time_since_original_post, 'int'
field :transcode_setting_properties, 'string'
Expand Down
11 changes: 11 additions & 0 deletions lib/facebook_ads/ad_objects/ads_insights.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ class AdsInsights < AdObject
"skan_campaign_id",
"skan_conversion_id",
"skan_version",
"sot_attribution_model_type",
"sot_attribution_window",
"sot_channel",
"sot_event_type",
"sot_source",
"standard_event_content_type",
"title_asset",
"user_persona_id",
Expand Down Expand Up @@ -244,6 +249,12 @@ class AdsInsights < AdObject
field :location, 'string'
field :marketing_messages_cost_per_delivered, 'string'
field :marketing_messages_cost_per_link_btn_click, 'string'
field :marketing_messages_delivery_rate, 'string'
field :marketing_messages_link_btn_click_rate, 'string'
field :marketing_messages_media_view_rate, 'string'
field :marketing_messages_phone_call_btn_click_rate, 'string'
field :marketing_messages_quick_reply_btn_click_rate, 'string'
field :marketing_messages_read_rate, 'string'
field :marketing_messages_spend, 'string'
field :marketing_messages_website_purchase_values, 'string'
field :mobile_app_purchase_roas, { list: 'AdsActionStats' }
Expand Down
3 changes: 3 additions & 0 deletions lib/facebook_ads/ad_objects/ads_user_settings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class AdsUserSettings < AdObject
field :carousel_to_video_opt_in_status, 'string'
field :connected_sources_catalog_opt_in_status, 'string'
field :default_creation_mode, 'string'
field :enhance_cta_text_extraction_opt_in_status, 'string'
field :export_format_default, 'string'
field :focus_mode_default, 'string'
field :gen_ai_alpha_test_status, 'int'
Expand Down Expand Up @@ -68,6 +69,8 @@ class AdsUserSettings < AdObject
field :static_ad_product_extensions_opt_in, 'string'
field :sticky_setting_after_default_on, 'string'
field :syd_campaign_trends_metric, 'string'
field :text_optimizations_text_extraction_opt_in_status, 'string'
field :text_variations_sticky_opt_in_status, 'string'
field :total_coupon_syd_dismissals, 'int'
field :total_coupon_upsell_dismissals, 'int'
field :url_prefill_removal_timestamp, 'int'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ module FacebookAds
class AdsValueAdjustmentRuleCollection < AdObject

field :id, 'string'
field :is_default_setting, 'bool'
field :name, 'string'
has_no_post
has_no_delete
Expand Down
2 changes: 0 additions & 2 deletions lib/facebook_ads/ad_objects/analytics_funnel_query_result.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ module FacebookAds

class AnalyticsFunnelQueryResult < AdObject

field :data, 'object'
field :error, 'object'
field :query_id, 'string'
field :status, 'string'
has_no_id
Expand Down
3 changes: 0 additions & 3 deletions lib/facebook_ads/ad_objects/analytics_query_result.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ module FacebookAds

class AnalyticsQueryResult < AdObject

field :columns, 'object'
field :datapoints, { list: 'object' }
field :error, 'object'
field :query_id, 'string'
field :status, 'string'
has_no_id
Expand Down
2 changes: 2 additions & 0 deletions lib/facebook_ads/ad_objects/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ class Application < AdObject
field :deauth_callback_url, 'string'
field :default_share_mode, 'string'
field :description, 'string'
field :enigma_config, 'object'
field :financial_id, 'string'
field :gdpv4_chrome_custom_tabs_enabled, 'bool'
field :gdpv4_enabled, 'bool'
Expand Down Expand Up @@ -281,6 +282,7 @@ class Application < AdObject
api.has_param :metrics, { list: { enum: -> { AdNetworkAnalyticsSyncQueryResult::METRICS }} }
api.has_param :ordering_column, { enum: -> { AdNetworkAnalyticsSyncQueryResult::ORDERING_COLUMN }}
api.has_param :ordering_type, { enum: -> { AdNetworkAnalyticsSyncQueryResult::ORDERING_TYPE }}
api.has_param :should_include_until, 'bool'
api.has_param :since, 'datetime'
api.has_param :until, 'datetime'
end
Expand Down
Loading

0 comments on commit 6833da5

Please sign in to comment.