From 3963d746db88e413fb6b642fe8f16010a6b2e636 Mon Sep 17 00:00:00 2001 From: generatedunixname89002005295453 Date: Sat, 14 Oct 2023 13:49:35 -0700 Subject: [PATCH] Auto-generated ruby SDK code update Summary: ignore-conflict-markers Reviewed By: stcheng Differential Revision: D50280635 fbshipit-source-id: 1d53891588a4952bd4b6150837a79ef16492de33 --- lib/facebook_ads/ad_objects/ad_account.rb | 12 --------- .../ad_objects/ad_account_ad_volume.rb | 8 +++++- lib/facebook_ads/ad_objects/ad_activity.rb | 1 + .../ad_objects/ad_asset_feed_spec.rb | 1 + lib/facebook_ads/ad_objects/ad_creative.rb | 1 + .../ad_creative_link_data_call_to_action.rb | 1 + .../ad_objects/ad_promoted_object.rb | 1 - lib/facebook_ads/ad_objects/ads_insights.rb | 1 + lib/facebook_ads/ad_objects/ads_pixel.rb | 6 +++++ lib/facebook_ads/ad_objects/business.rb | 3 +++ lib/facebook_ads/ad_objects/group.rb | 7 ----- lib/facebook_ads/ad_objects/ig_media.rb | 5 ++++ ...deo_copyright_check_matches_information.rb | 26 +++++++++++++++++++ .../ig_video_copyright_check_status.rb | 26 +++++++++++++++++++ .../ad_objects/instagram_comment.rb | 1 + .../ad_objects/open_bridge_configuration.rb | 2 ++ lib/facebook_ads/ad_objects/page.rb | 7 ++--- lib/facebook_ads/ad_objects/product_feed.rb | 1 + .../ad_objects/shadow_ig_media_builder.rb | 1 + ...ge.rb => shadow_ig_media_collaborators.rb} | 9 +++---- .../ad_objects/whats_app_business_account.rb | 6 +++++ lib/facebook_ads/version.rb | 2 +- 22 files changed, 97 insertions(+), 31 deletions(-) create mode 100644 lib/facebook_ads/ad_objects/ig_video_copyright_check_matches_information.rb create mode 100644 lib/facebook_ads/ad_objects/ig_video_copyright_check_status.rb rename lib/facebook_ads/ad_objects/{messenger_destination_page_welcome_message.rb => shadow_ig_media_collaborators.rb} (67%) diff --git a/lib/facebook_ads/ad_objects/ad_account.rb b/lib/facebook_ads/ad_objects/ad_account.rb index 9b1b402b..7017e3ae 100644 --- a/lib/facebook_ads/ad_objects/ad_account.rb +++ b/lib/facebook_ads/ad_objects/ad_account.rb @@ -420,18 +420,6 @@ class AdAccount < AdObject end end - has_edge :ads_conversion_goal do |edge| - edge.post do |api| - api.has_param :conversion_event_value_source, { enum: %w{DATA_SOURCE VALUE_RULE }} - api.has_param :description, 'string' - api.has_param :goal_creation_method, { enum: %w{ADVERTISER_CREATED_UI AUTO_MIGRATION L2_ENHANCE_API_MIGRATION }} - api.has_param :goal_name, 'string' - api.has_param :performance_goal, { enum: %w{AD_OPTIMIZATION_GOAL_AD_RECALL_LIFT AD_OPTIMIZATION_GOAL_APP_DOWNLOADS AD_OPTIMIZATION_GOAL_APP_INSTALLS AD_OPTIMIZATION_GOAL_APP_INSTALLS_AND_OFFSITE_CONVERSIONS AD_OPTIMIZATION_GOAL_BRAND_AWARENESS AD_OPTIMIZATION_GOAL_CLICKS AD_OPTIMIZATION_GOAL_COMPLETED_VIDEO_VIEWS AD_OPTIMIZATION_GOAL_CONVERSATIONS AD_OPTIMIZATION_GOAL_DERIVED_EVENTS AD_OPTIMIZATION_GOAL_DWELLS AD_OPTIMIZATION_GOAL_ENGAGED_REACH AD_OPTIMIZATION_GOAL_ENGAGED_USERS AD_OPTIMIZATION_GOAL_EVENT_RESPONSES AD_OPTIMIZATION_GOAL_EXTERNAL AD_OPTIMIZATION_GOAL_IMPRESSIONS AD_OPTIMIZATION_GOAL_INCREMENTAL_OFFSITE_CONVERSIONS AD_OPTIMIZATION_GOAL_IN_APP_VALUE AD_OPTIMIZATION_GOAL_JOB_APPLICATIONS AD_OPTIMIZATION_GOAL_LANDING_PAGE_VIEWS AD_OPTIMIZATION_GOAL_LEAD_GENERATION AD_OPTIMIZATION_GOAL_MEDIA_DOWNLOADS AD_OPTIMIZATION_GOAL_MESSAGING_APPOINTMENT_CONVERSION AD_OPTIMIZATION_GOAL_MESSAGING_DEEP_CONVERSATION_AND_FOLLOW AD_OPTIMIZATION_GOAL_MESSAGING_DEEP_CONVERSATION_AND_REPLY AD_OPTIMIZATION_GOAL_MESSAGING_PURCHASE_CONVERSION AD_OPTIMIZATION_GOAL_MID_FUNNEL_EVENT AD_OPTIMIZATION_GOAL_MRC_VIDEO_VIEWS AD_OPTIMIZATION_GOAL_MULTI_CONVERSIONS AD_OPTIMIZATION_GOAL_NONE AD_OPTIMIZATION_GOAL_OFFER_CLAIMS AD_OPTIMIZATION_GOAL_OFFLINE_CONVERSIONS AD_OPTIMIZATION_GOAL_OFFSITE_CLICKS AD_OPTIMIZATION_GOAL_OFFSITE_CONVERSIONS AD_OPTIMIZATION_GOAL_ONSITE_CONVERSIONS AD_OPTIMIZATION_GOAL_PAGE_ENGAGEMENT AD_OPTIMIZATION_GOAL_PAGE_FOLLOWS AD_OPTIMIZATION_GOAL_PAGE_LIKES AD_OPTIMIZATION_GOAL_POST_ENGAGEMENT AD_OPTIMIZATION_GOAL_QUALITY_CALL AD_OPTIMIZATION_GOAL_QUALITY_LEAD AD_OPTIMIZATION_GOAL_REACH AD_OPTIMIZATION_GOAL_REMINDERS_SET AD_OPTIMIZATION_GOAL_REPLIES AD_OPTIMIZATION_GOAL_RESEARCH_POLL_RESPONSES AD_OPTIMIZATION_GOAL_RETENTION AD_OPTIMIZATION_GOAL_RETURN_ON_AD_SPEND AD_OPTIMIZATION_GOAL_SOCIAL_IMPRESSIONS AD_OPTIMIZATION_GOAL_STORE_VISITS AD_OPTIMIZATION_GOAL_SUBSCRIBERS AD_OPTIMIZATION_GOAL_TICKET_PURCHASE AD_OPTIMIZATION_GOAL_VALUE AD_OPTIMIZATION_GOAL_VIDEO_LONG_VIEWS AD_OPTIMIZATION_GOAL_VIDEO_VIEWS AD_OPTIMIZATION_GOAL_VIDEO_VIEWS_15S AD_OPTIMIZATION_GOAL_VISIT_INSTAGRAM_PROFILE AD_OPTIMIZATION_GOAL_VISIT_INSTAGRAM_PROFILE_AND_PROFILE_ACTIONS }} - api.has_param :single_channel_conversion_events, { list: 'hash' } - api.has_param :value_adjustment_rule, 'hash' - end - end - has_edge :ads_reporting_mmm_reports do |edge| edge.get do |api| api.has_param :filtering, { list: 'hash' } 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 cace43db..dbd84263 100644 --- a/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb +++ b/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb @@ -19,6 +19,9 @@ class AdAccountAdVolume < AdObject "ACO_TOGGLE", "ADS_REPORTING", "ADVANCED_CAMPAIGN_BUDGET", + "ADVANTAGE_CUSTOM_AUDIENCE_UPSELL", + "ADVANTAGE_PLUS_AUDIENCE_FRICTION", + "ADVANTAGE_PLUS_AUDIENCE_TOGGLE", "ADVANTAGE_PLUS_CREATIVE", "ADVANTAGE_PLUS_CREATIVE_CATALOG", "ADVANTAGE_SHOPPING_CAMPAIGN", @@ -54,6 +57,7 @@ class AdAccountAdVolume < AdObject "CREATIVE_LIMITED_HOURLY", "CREATOR_ADS_PA_CONVERSION", "CTA", + "DA_ADVANTAGE_PLUS_CREATIVE_INFO_LABELS", "DEAD_LINK", "DYNAMIC_ADVANTAGE_CAMPAIGN_BUDGET", "ECOSYSTEM_BID_REDUCE_L1_CARDINALITY", @@ -61,14 +65,16 @@ class AdAccountAdVolume < AdObject "GES_TEST", "GUIDANCE_CENTER_CODE_GEN", "LEARNING_LIMITED", + "LEARNING_PAUSE_FRICTION", "LOW_OUTCOME", "MERLIN_GUIDANCE", + "MIXED_PA_COMBINE_ADSETS", "MMT_CAROUSEL_TO_VIDEO", "MOBILE_FIRST_VIDEO", "MR_AEMV2SUB_KCONSOLIDATION", "MULTI_TEXT", "MUSIC", - "OPTIMAL_SPEND", + "OPTIMAL_BAU", "PAYMENT_METHOD", "PERFORMANT_CREATIVE_REELS_OPT_IN", "PFR_L1_INLINE_MMT", diff --git a/lib/facebook_ads/ad_objects/ad_activity.rb b/lib/facebook_ads/ad_objects/ad_activity.rb index 4d6d67aa..72afb34d 100644 --- a/lib/facebook_ads/ad_objects/ad_activity.rb +++ b/lib/facebook_ads/ad_objects/ad_activity.rb @@ -85,6 +85,7 @@ class AdActivity < AdObject "update_campaign_budget", "update_campaign_budget_optimization_toggling_status", "update_campaign_budget_scheduling_state", + "update_campaign_conversion_goal", "update_campaign_delivery_type", "update_campaign_group_ad_scheduling", "update_campaign_group_budget_scheduling_state", 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 63833cf1..0c71dd36 100644 --- a/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +++ b/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb @@ -26,6 +26,7 @@ class AdAssetFeedSpec < AdObject "CALL", "CALL_ME", "CALL_NOW", + "CONFIRM", "CONTACT", "CONTACT_US", "DONATE", diff --git a/lib/facebook_ads/ad_objects/ad_creative.rb b/lib/facebook_ads/ad_objects/ad_creative.rb index 315656a0..511e1d28 100644 --- a/lib/facebook_ads/ad_objects/ad_creative.rb +++ b/lib/facebook_ads/ad_objects/ad_creative.rb @@ -26,6 +26,7 @@ class AdCreative < AdObject "CALL", "CALL_ME", "CALL_NOW", + "CONFIRM", "CONTACT", "CONTACT_US", "DONATE", 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 0cd6e9bd..75a55765 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 @@ -26,6 +26,7 @@ class AdCreativeLinkDataCallToAction < AdObject "CALL", "CALL_ME", "CALL_NOW", + "CONFIRM", "CONTACT", "CONTACT_US", "DONATE", diff --git a/lib/facebook_ads/ad_objects/ad_promoted_object.rb b/lib/facebook_ads/ad_objects/ad_promoted_object.rb index 13723b1e..93a1bf8a 100644 --- a/lib/facebook_ads/ad_objects/ad_promoted_object.rb +++ b/lib/facebook_ads/ad_objects/ad_promoted_object.rb @@ -69,7 +69,6 @@ class AdPromotedObject < AdObject field :product_item_id, 'string' field :product_set_id, 'string' field :retention_days, 'string' - field :whats_app_business_phone_number_id, 'object' has_no_id has_no_get has_no_post diff --git a/lib/facebook_ads/ad_objects/ads_insights.rb b/lib/facebook_ads/ad_objects/ads_insights.rb index b8ec6ab8..d3bf269e 100644 --- a/lib/facebook_ads/ad_objects/ads_insights.rb +++ b/lib/facebook_ads/ad_objects/ads_insights.rb @@ -70,6 +70,7 @@ class AdsInsights < AdObject "is_conversion_id_modeled", "link_url_asset", "marketing_messages_btn_name", + "mdsa_landing_destination", "media_asset_url", "media_creator", "media_destination_url", diff --git a/lib/facebook_ads/ad_objects/ads_pixel.rb b/lib/facebook_ads/ad_objects/ads_pixel.rb index 4e66f4bf..c96efd64 100644 --- a/lib/facebook_ads/ad_objects/ads_pixel.rb +++ b/lib/facebook_ads/ad_objects/ads_pixel.rb @@ -99,6 +99,12 @@ class AdsPixel < AdObject edge.get 'Business' end + has_edge :ahp_configs do |edge| + edge.post do |api| + api.has_param :applink_autosetup, 'bool' + end + end + has_edge :assigned_users do |edge| edge.get 'AssignedUser' do |api| api.has_param :business, 'string' diff --git a/lib/facebook_ads/ad_objects/business.rb b/lib/facebook_ads/ad_objects/business.rb index b18f369c..4326a56f 100644 --- a/lib/facebook_ads/ad_objects/business.rb +++ b/lib/facebook_ads/ad_objects/business.rb @@ -744,6 +744,8 @@ class Business < AdObject 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 :pixel_id, 'int' @@ -800,6 +802,7 @@ class Business < AdObject edge.get 'Page' edge.post 'Business' do |api| api.has_param :code, 'string' + api.has_param :entry_point, 'string' api.has_param :page_id, 'int' end end diff --git a/lib/facebook_ads/ad_objects/group.rb b/lib/facebook_ads/ad_objects/group.rb index 6a1ef2ba..e6fcbffe 100644 --- a/lib/facebook_ads/ad_objects/group.rb +++ b/lib/facebook_ads/ad_objects/group.rb @@ -137,13 +137,6 @@ class Group < AdObject end end - has_edge :attachment_surfaces do |edge| - edge.get - edge.post do |api| - api.has_param :title, 'hash' - end - end - has_edge :docs do |edge| edge.get end diff --git a/lib/facebook_ads/ad_objects/ig_media.rb b/lib/facebook_ads/ad_objects/ig_media.rb index 67a1f460..090b0b24 100644 --- a/lib/facebook_ads/ad_objects/ig_media.rb +++ b/lib/facebook_ads/ad_objects/ig_media.rb @@ -17,6 +17,7 @@ class IgMedia < AdObject field :caption, 'string' field :comments_count, 'int' + field :copyright_check_information, 'IgVideoCopyrightCheckMatchesInformation' field :id, 'string' field :ig_id, 'string' field :is_comment_enabled, 'bool' @@ -37,6 +38,10 @@ class IgMedia < AdObject edge.get 'IgMedia' end + has_edge :collaborators do |edge| + edge.get 'ShadowIgMediaCollaborators' + end + has_edge :comments do |edge| edge.get 'IgComment' edge.post 'IgComment' do |api| diff --git a/lib/facebook_ads/ad_objects/ig_video_copyright_check_matches_information.rb b/lib/facebook_ads/ad_objects/ig_video_copyright_check_matches_information.rb new file mode 100644 index 00000000..0350fc5b --- /dev/null +++ b/lib/facebook_ads/ad_objects/ig_video_copyright_check_matches_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 IgVideoCopyrightCheckMatchesInformation < AdObject + + field :copyright_matches, { list: 'object' } + field :status, 'IgVideoCopyrightCheckStatus' + has_no_id + has_no_get + has_no_post + has_no_delete + + end +end diff --git a/lib/facebook_ads/ad_objects/ig_video_copyright_check_status.rb b/lib/facebook_ads/ad_objects/ig_video_copyright_check_status.rb new file mode 100644 index 00000000..0f98ae31 --- /dev/null +++ b/lib/facebook_ads/ad_objects/ig_video_copyright_check_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 IgVideoCopyrightCheckStatus < AdObject + + field :matches_found, 'bool' + 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/instagram_comment.rb b/lib/facebook_ads/ad_objects/instagram_comment.rb index 7e7615a3..1db5092a 100644 --- a/lib/facebook_ads/ad_objects/instagram_comment.rb +++ b/lib/facebook_ads/ad_objects/instagram_comment.rb @@ -22,6 +22,7 @@ class InstagramComment < AdObject field :instagram_user, 'InstagramUser' field :mentioned_instagram_users, { list: 'InstagramUser' } field :message, 'string' + field :username, 'string' has_edge :replies do |edge| edge.get 'InstagramComment' diff --git a/lib/facebook_ads/ad_objects/open_bridge_configuration.rb b/lib/facebook_ads/ad_objects/open_bridge_configuration.rb index 57746e6d..7f7499ee 100644 --- a/lib/facebook_ads/ad_objects/open_bridge_configuration.rb +++ b/lib/facebook_ads/ad_objects/open_bridge_configuration.rb @@ -18,6 +18,8 @@ class OpenBridgeConfiguration < AdObject field :access_key, 'string' field :active, 'bool' field :endpoint, 'string' + field :fallback_domain, 'string' + field :fallback_domain_enabled, 'bool' field :host_business_id, 'string' field :host_external_id, 'string' field :id, 'string' diff --git a/lib/facebook_ads/ad_objects/page.rb b/lib/facebook_ads/ad_objects/page.rb index d88bb0a8..449d2f7d 100644 --- a/lib/facebook_ads/ad_objects/page.rb +++ b/lib/facebook_ads/ad_objects/page.rb @@ -418,6 +418,7 @@ class Page < AdObject field :directed_by, 'string' field :display_subtext, 'string' field :displayed_message_response_time, 'string' + field :does_viewer_have_page_permission_link_ig, 'bool' field :emails, { list: 'string' } field :engagement, 'Engagement' field :fan_count, 'int' @@ -446,6 +447,7 @@ class Page < AdObject 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_messenger_bot_get_started_enabled, 'bool' field :is_messenger_platform_bot, 'bool' field :is_owned, 'bool' @@ -465,7 +467,6 @@ class Page < AdObject field :merchant_review_status, 'string' field :messaging_feature_status, 'MessagingFeatureStatus' field :messenger_ads_default_icebreakers, { list: 'string' } - field :messenger_ads_default_page_welcome_message, 'MessengerDestinationPageWelcomeMessage' field :messenger_ads_default_quick_replies, { list: 'string' } field :messenger_ads_quick_replies_type, 'string' field :mini_shop_storefront, 'Shop' @@ -1015,8 +1016,8 @@ class Page < AdObject has_edge :locations do |edge| edge.delete do |api| - api.has_param :location_page_id, 'string' - api.has_param :store_number, 'int' + api.has_param :location_page_ids, { list: 'string' } + api.has_param :store_numbers, { list: 'int' } end edge.get 'Page' edge.post 'Page' do |api| diff --git a/lib/facebook_ads/ad_objects/product_feed.rb b/lib/facebook_ads/ad_objects/product_feed.rb index d8202372..45e44d31 100644 --- a/lib/facebook_ads/ad_objects/product_feed.rb +++ b/lib/facebook_ads/ad_objects/product_feed.rb @@ -96,6 +96,7 @@ class ProductFeed < AdObject "LANGUAGE", "LANGUAGE_AND_COUNTRY", "LOCAL", + "SMART_PIXEL_LANGUAGE_OR_COUNTRY", ] 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 80672f02..8d268921 100644 --- a/lib/facebook_ads/ad_objects/shadow_ig_media_builder.rb +++ b/lib/facebook_ads/ad_objects/shadow_ig_media_builder.rb @@ -15,6 +15,7 @@ module FacebookAds class ShadowIgMediaBuilder < AdObject + field :copyright_check_status, 'IgVideoCopyrightCheckStatus' field :id, 'string' field :status, 'string' field :status_code, 'string' diff --git a/lib/facebook_ads/ad_objects/messenger_destination_page_welcome_message.rb b/lib/facebook_ads/ad_objects/shadow_ig_media_collaborators.rb similarity index 67% rename from lib/facebook_ads/ad_objects/messenger_destination_page_welcome_message.rb rename to lib/facebook_ads/ad_objects/shadow_ig_media_collaborators.rb index 15a0099b..b559b4d6 100644 --- a/lib/facebook_ads/ad_objects/messenger_destination_page_welcome_message.rb +++ b/lib/facebook_ads/ad_objects/shadow_ig_media_collaborators.rb @@ -13,14 +13,11 @@ 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 MessengerDestinationPageWelcomeMessage < AdObject + class ShadowIgMediaCollaborators < 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' + field :invite_status, 'string' + field :username, 'string' has_no_get has_no_post has_no_delete 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 029777e9..d760562e 100644 --- a/lib/facebook_ads/ad_objects/whats_app_business_account.rb +++ b/lib/facebook_ads/ad_objects/whats_app_business_account.rb @@ -19,7 +19,11 @@ class WhatsAppBusinessAccount < AdObject "MANAGE", "MANAGE_EXTENSIONS", "MANAGE_PHONE", + "MANAGE_PHONE_ASSETS", + "MANAGE_TEMPLATES", "VIEW_COST", + "VIEW_PHONE_ASSETS", + "VIEW_TEMPLATES", ] CATEGORY = [ @@ -90,6 +94,7 @@ class WhatsAppBusinessAccount < AdObject has_edge :extensions do |edge| edge.get edge.post do |api| + api.has_param :categories, { list: { enum: %w{APPOINTMENT_BOOKING CONTACT_US CUSTOMER_SUPPORT LEAD_GENERATION OTHER SIGN_IN SIGN_UP SURVEY }} } api.has_param :clone_extension_id, 'string' api.has_param :clone_template, 'string' api.has_param :data_channel_uri, 'string' @@ -100,6 +105,7 @@ class WhatsAppBusinessAccount < AdObject has_edge :flows do |edge| edge.get edge.post do |api| + api.has_param :categories, { list: { enum: %w{APPOINTMENT_BOOKING CONTACT_US CUSTOMER_SUPPORT LEAD_GENERATION OTHER SIGN_IN SIGN_UP SURVEY }} } api.has_param :clone_flow_id, 'string' api.has_param :clone_template, 'string' api.has_param :data_channel_uri, 'string' diff --git a/lib/facebook_ads/version.rb b/lib/facebook_ads/version.rb index ac4ce530..962b650c 100644 --- a/lib/facebook_ads/version.rb +++ b/lib/facebook_ads/version.rb @@ -7,6 +7,6 @@ # FB:AUTOGEN module FacebookAds - VERSION = '18.0.1' + VERSION = '18.0.2' API_VERSION = '18.0' end