facebookbusiness 0.3.0.4 → 0.3.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ecf452985f65655cb397e4cd042916bbc5c7277bc1ddda27fb98bef2addecbe
4
- data.tar.gz: a9d76b2b2e0fc6b5e910cbd4e92f64a750e421aca256d532f94609f3d5756321
3
+ metadata.gz: e91ff37ccb6d70646660be95e1c09bc28ebd2257b0e544d4411a83d771e1a753
4
+ data.tar.gz: 132720dc5722b1306f39e7ca4715f0765e487dffd79666fe49a05c9badbab42a
5
5
  SHA512:
6
- metadata.gz: 62752479afddb788623558eca18677f742931c930373a333d3deaf2afca103a21ad27b4b0f8382dd79ca9947d3dc3df08d70fe107b03154781071fb14bc2b3ea
7
- data.tar.gz: 88e775b84f67f0726c47def9dca3d6753feb2ef626b834c8aeb7b63f24ab3cf83701471959ef2a9a7e01747bc0d5414360c09d41e77761917a192ec2db9c366f
6
+ metadata.gz: a5e72ed8671f7235d39539e56bf19a15ea53efb5689b4aa8432bde6440187fa9a4748742907b683f8a054a8f5054f6a88c263701dcd76978ec3deefc3ea729c6
7
+ data.tar.gz: 381a57e6f6af0115755801fba5e64b682cecdaab8e684915826128a39a432f6b183105af546fb97e044aea0b62cc6707de38e06a3438630bd66794818fe9a22c
@@ -357,6 +357,7 @@ module FacebookAds
357
357
  edge.get 'OfflineConversionDataSet'
358
358
  edge.post 'OfflineConversionDataSet' do |api|
359
359
  api.has_param :auto_assign_to_new_accounts_only, 'bool'
360
+ api.has_param :data_origin, { enum: -> { OfflineConversionDataSet::DATA_ORIGIN }}
360
361
  api.has_param :description, 'string'
361
362
  api.has_param :enable_auto_assign_to_accounts, 'bool'
362
363
  api.has_param :name, 'string'
@@ -104,6 +104,7 @@ module FacebookAds
104
104
  api.has_param :schedule_custom_profile_image, 'file'
105
105
  api.has_param :spatial_audio_format, { enum: %w{ambiX_4 }}
106
106
  api.has_param :status, { enum: %w{UNPUBLISHED LIVE_NOW SCHEDULED_UNPUBLISHED SCHEDULED_LIVE SCHEDULED_CANCELED }}
107
+ api.has_param :stereoscopic_mode, { enum: %w{MONO LEFT_RIGHT TOP_BOTTOM }}
107
108
  api.has_param :stop_on_delete_stream, 'bool'
108
109
  api.has_param :stream_type, { enum: %w{REGULAR AMBIENT }}
109
110
  api.has_param :title, 'string'
@@ -67,6 +67,12 @@ module FacebookAds
67
67
  "ambiX_4",
68
68
  ]
69
69
 
70
+ STEREOSCOPIC_MODE = [
71
+ "MONO",
72
+ "LEFT_RIGHT",
73
+ "TOP_BOTTOM",
74
+ ]
75
+
70
76
  TYPE = [
71
77
  "tagged",
72
78
  "uploaded",
@@ -78,6 +84,7 @@ module FacebookAds
78
84
  field :broadcast_start_time, 'datetime'
79
85
  field :copyright, 'VideoCopyright'
80
86
  field :creation_time, 'datetime'
87
+ field :dash_ingest_url, 'string'
81
88
  field :dash_preview_url, 'string'
82
89
  field :description, 'string'
83
90
  field :embed_html, 'string'
@@ -26,10 +26,18 @@ module FacebookAds
26
26
  # pull request for this class.
27
27
 
28
28
  class OfflineConversionDataSet < AdObject
29
+ DATA_ORIGIN = [
30
+ "DIRECTLY_FROM_PEOPLE",
31
+ "PEOPLE_AND_PARTNERS",
32
+ "DIRECTLY_FROM_PARTNERS",
33
+ "NONE",
34
+ ]
35
+
29
36
 
30
37
  field :business, 'Business'
31
38
  field :config, 'string'
32
39
  field :creation_time, 'datetime'
40
+ field :data_origin, 'string'
33
41
  field :description, 'string'
34
42
  field :duplicate_entries, 'int'
35
43
  field :enable_auto_assign_to_accounts, 'bool'
@@ -726,6 +726,7 @@ module FacebookAds
726
726
  api.has_param :schedule_custom_profile_image, 'file'
727
727
  api.has_param :spatial_audio_format, { enum: -> { LiveVideo::SPATIAL_AUDIO_FORMAT }}
728
728
  api.has_param :status, { enum: -> { LiveVideo::STATUS }}
729
+ api.has_param :stereoscopic_mode, { enum: -> { LiveVideo::STEREOSCOPIC_MODE }}
729
730
  api.has_param :stop_on_delete_stream, 'bool'
730
731
  api.has_param :stream_type, { enum: -> { LiveVideo::STREAM_TYPE }}
731
732
  api.has_param :targeting, 'object'
@@ -35,6 +35,7 @@ module FacebookAds
35
35
  field :name, 'string'
36
36
  field :offline_conversion_data_set, 'OfflineConversionDataSet'
37
37
  field :partner, 'string'
38
+ field :partner_profile, 'object'
38
39
  field :product_catalog, 'ProductCatalog'
39
40
  field :setup_status, 'string'
40
41
  has_no_post
@@ -185,6 +185,7 @@ module FacebookAds
185
185
  api.has_param :schedule_custom_profile_image, 'file'
186
186
  api.has_param :spatial_audio_format, { enum: -> { LiveVideo::SPATIAL_AUDIO_FORMAT }}
187
187
  api.has_param :status, { enum: -> { LiveVideo::STATUS }}
188
+ api.has_param :stereoscopic_mode, { enum: -> { LiveVideo::STEREOSCOPIC_MODE }}
188
189
  api.has_param :stop_on_delete_stream, 'bool'
189
190
  api.has_param :stream_type, { enum: -> { LiveVideo::STREAM_TYPE }}
190
191
  api.has_param :title, 'string'
@@ -19,6 +19,6 @@
19
19
  # FB:AUTOGEN
20
20
 
21
21
  module FacebookAds
22
- VERSION = '0.3.0.4'
22
+ VERSION = '0.3.0.5'
23
23
  API_VERSION = '3.0'
24
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: facebookbusiness
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0.4
4
+ version: 0.3.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Facebook
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-21 00:00:00.000000000 Z
11
+ date: 2018-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday