Skip to content

Commit

Permalink
Auto-generated ruby SDK code update
Browse files Browse the repository at this point in the history
Summary: ignore-conflict-markers

Reviewed By: jingping2015

Differential Revision: D14453103

fbshipit-source-id: 00465927
  • Loading branch information
jingping2015 authored and facebook-github-bot committed Mar 14, 2019
1 parent 2982e97 commit bd80d59
Show file tree
Hide file tree
Showing 245 changed files with 246 additions and 265 deletions.
2 changes: 2 additions & 0 deletions lib/facebook_ads/ad_objects/ad_account.rb
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,7 @@ class AdAccount < AdObject
api.has_param :event_source_group, 'string'
api.has_param :product_set_id, 'string'
api.has_param :event_sources, { list: 'hash' }
api.has_param :enable_fetch_or_create, 'bool'
api.has_param :video_group_ids, { list: 'string' }
api.has_param :study_spec, 'hash'
api.has_param :list_of_accounts, { list: 'int' }
Expand Down Expand Up @@ -1117,6 +1118,7 @@ class AdAccount < AdObject
api.has_param :product_set_id, 'string'
api.has_param :rev_share_policy_id, 'int'
api.has_param :event_sources, { list: 'hash' }
api.has_param :enable_fetch_or_create, 'bool'
api.has_param :inclusions, { list: 'object' }
api.has_param :exclusions, { list: 'object' }
end
Expand Down
2 changes: 1 addition & 1 deletion lib/facebook_ads/ad_objects/ad_account_ad_rules_history.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class AdAccountAdRulesHistory < AdObject
field :rule_id, 'int'
field :schedule_spec, 'AdRuleScheduleSpec'
field :timestamp, 'datetime'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class AdAccountDefaultDestination < AdObject

field :destination_id, 'string'
field :destination_url, 'string'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class AdAccountDefaultObjective < AdObject

field :default_objective_for_user, { enum: -> { DEFAULT_OBJECTIVE_FOR_USER }}
field :objective_for_level, { enum: -> { OBJECTIVE_FOR_LEVEL }}
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class AdAccountDeliveryEstimate < AdObject
field :estimate_dau, 'int'
field :estimate_mau, 'int'
field :estimate_ready, 'bool'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class AdAccountMatchedSearchApplicationsEdgeData < AdObject
field :store, 'string'
field :unique_id, 'string'
field :url, 'string'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
2 changes: 1 addition & 1 deletion lib/facebook_ads/ad_objects/ad_account_max_bid.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module FacebookAds
class AdAccountMaxBid < AdObject

field :max_bid, 'int'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class AdAccountPromotableObjects < AdObject
field :promotable_app_ids, { list: 'string' }
field :promotable_page_ids, { list: 'string' }
field :promotable_urls, { list: 'string' }
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class AdAccountRecommendedCamapaignBudget < AdObject
field :daily, 'string'
field :lifetime, 'string'
field :objective, 'string'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
2 changes: 1 addition & 1 deletion lib/facebook_ads/ad_objects/ad_account_roas.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class AdAccountRoas < AdObject
field :yield_3d, 'double'
field :yield_7d, 'double'
field :yield_90d, 'double'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
2 changes: 1 addition & 1 deletion lib/facebook_ads/ad_objects/ad_account_tracking_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module FacebookAds
class AdAccountTrackingData < AdObject

field :tracking_specs, 'ConversionActionQuery'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
2 changes: 1 addition & 1 deletion lib/facebook_ads/ad_objects/ad_activity.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class AdActivity < AdObject
field :object_name, 'string'
field :object_type, 'string'
field :translated_event_type, 'string'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
2 changes: 1 addition & 1 deletion lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class AdAssetFeedSpec < AdObject
field :optimization_type, 'string'
field :titles, { list: 'AdAssetFeedSpecTitle' }
field :videos, { list: 'AdAssetFeedSpecVideo' }
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
2 changes: 1 addition & 1 deletion lib/facebook_ads/ad_objects/ad_asset_feed_spec_body.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class AdAssetFeedSpecBody < AdObject
field :adlabels, { list: 'AdAssetFeedSpecAssetLabel' }
field :text, 'string'
field :url_tags, 'string'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
2 changes: 1 addition & 1 deletion lib/facebook_ads/ad_objects/ad_asset_feed_spec_caption.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class AdAssetFeedSpecCaption < AdObject
field :adlabels, { list: 'AdAssetFeedSpecAssetLabel' }
field :text, 'string'
field :url_tags, 'string'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class AdAssetFeedSpecDescription < AdObject
field :adlabels, { list: 'AdAssetFeedSpecAssetLabel' }
field :text, 'string'
field :url_tags, 'string'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class AdAssetFeedSpecGroupRule < AdObject
field :link_url_label, 'AdAssetFeedSpecAssetLabel'
field :title_label, 'AdAssetFeedSpecAssetLabel'
field :video_label, 'AdAssetFeedSpecAssetLabel'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
2 changes: 1 addition & 1 deletion lib/facebook_ads/ad_objects/ad_asset_feed_spec_image.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class AdAssetFeedSpecImage < AdObject
field :image_crops, 'AdsImageCrops'
field :url, 'string'
field :url_tags, 'string'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
2 changes: 1 addition & 1 deletion lib/facebook_ads/ad_objects/ad_asset_feed_spec_link_url.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class AdAssetFeedSpecLinkUrl < AdObject
field :display_url, 'string'
field :url_tags, 'string'
field :website_url, 'string'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
2 changes: 1 addition & 1 deletion lib/facebook_ads/ad_objects/ad_asset_feed_spec_title.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class AdAssetFeedSpecTitle < AdObject
field :adlabels, { list: 'AdAssetFeedSpecAssetLabel' }
field :text, 'string'
field :url_tags, 'string'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
2 changes: 1 addition & 1 deletion lib/facebook_ads/ad_objects/ad_asset_feed_spec_video.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class AdAssetFeedSpecVideo < AdObject
field :thumbnail_url, 'string'
field :url_tags, 'string'
field :video_id, 'string'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class AdAsyncRequestSetNotificationResult < AdObject

field :response, 'string'
field :status, 'string'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
2 changes: 1 addition & 1 deletion lib/facebook_ads/ad_objects/ad_bid_adjustments.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class AdBidAdjustments < AdObject
field :age_range, 'hash'
field :page_types, 'object'
field :user_groups, 'string'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
2 changes: 1 addition & 1 deletion lib/facebook_ads/ad_objects/ad_campaign_bid_constraint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module FacebookAds
class AdCampaignBidConstraint < AdObject

field :roas_average_floor, 'int'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class AdCampaignDeliveryEstimate < AdObject
field :estimate_dau, 'int'
field :estimate_mau, 'int'
field :estimate_ready, 'bool'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class AdCampaignDeliveryStatsUnsupportedReasons < AdObject

field :reason_data, 'hash'
field :reason_type, 'string'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class AdCampaignFrequencyControlSpecs < AdObject
field :event, 'string'
field :interval_days, 'int'
field :max_frequency, 'int'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
2 changes: 1 addition & 1 deletion lib/facebook_ads/ad_objects/ad_campaign_issues_info.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class AdCampaignIssuesInfo < AdObject
field :error_message, 'string'
field :error_summary, 'string'
field :level, 'string'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class AdCampaignLearningStageInfo < AdObject
field :last_sig_edit_ts, 'int'
field :status, 'string'
field :types, { list: 'string' }
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class AdCampaignOptimizationEvent < AdObject
field :custom_conversion_id, 'string'
field :event_sequence, 'int'
field :event_type, 'string'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
2 changes: 1 addition & 1 deletion lib/facebook_ads/ad_objects/ad_campaign_paced_bid_info.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module FacebookAds
class AdCampaignPacedBidInfo < AdObject

field :bidding_status, 'string'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
2 changes: 1 addition & 1 deletion lib/facebook_ads/ad_objects/ad_contract.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class AdContract < AdObject
field :vat_country, 'string'
field :version, 'int'
field :vertical, 'string'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class AdCreativeCollectionThumbnailInfo < AdObject
field :element_child_index, 'int'
field :element_crops, 'AdsImageCrops'
field :element_id, 'string'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module FacebookAds
class AdCreativeDegreesOfFreedomSpec < AdObject

field :degrees_of_freedom_type, 'string'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module FacebookAds
class AdCreativeInteractiveComponentsSpec < AdObject

field :components, { list: 'object' }
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
2 changes: 1 addition & 1 deletion lib/facebook_ads/ad_objects/ad_creative_link_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class AdCreativeLinkData < AdObject
field :sponsorship_info, 'AdCreativeLinkDataSponsorshipInfoSpec'
field :static_fallback_spec, 'AdCreativeStaticFallbackSpec'
field :use_flexible_image_aspect_ratio, 'bool'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class AdCreativeLinkDataAppLinkSpec < AdObject
field :ios, { list: 'IosAppLink' }
field :ipad, { list: 'IosAppLink' }
field :iphone, { list: 'IosAppLink' }
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class AdCreativeLinkDataCallToAction < AdObject

field :type, { enum: -> { TYPE }}
field :value, 'AdCreativeLinkDataCallToActionValue'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class AdCreativeLinkDataCallToActionValue < AdObject
field :page, 'string'
field :product_link, 'string'
field :whatsapp_number, 'string'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class AdCreativeLinkDataChildAttachment < AdObject
field :referral_id, 'string'
field :static_card, 'bool'
field :video_id, 'string'
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class AdCreativeLinkDataCustomOverlaySpec < AdObject
field :render_with_icon, 'bool'
field :template, { enum: -> { TEMPLATE }}
field :text_color, { enum: -> { TEXT_COLOR }}
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class AdCreativeLinkDataImageLayerSpec < AdObject
field :shape_color, 'string'
field :text_color, 'string'
field :text_font, { enum: -> { TEXT_FONT }}
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class AdCreativeLinkDataImageOverlaySpec < AdObject
field :text_template_tags, { list: 'string' }
field :text_type, { enum: -> { TEXT_TYPE }}
field :theme_color, { enum: -> { THEME_COLOR }}
field :id, 'string'
has_no_id
has_no_get
has_no_post
has_no_delete
Expand Down
Loading

0 comments on commit bd80d59

Please sign in to comment.