facebookbusiness 20.0.3 → 20.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9531916aa108405f0a4582cf66d7690c62e513724c382da52f14b003784f3ec
4
- data.tar.gz: 1c5800f16fc7660d6553e9f33915d9fb9301e492a91596893b4cfa8b6827c378
3
+ metadata.gz: faaf46c3f7df1be98f304cce58a7bc33422c0a8949b55d7d79c31adad3e2c6af
4
+ data.tar.gz: 9356925bf84506419e1e012ad4dbd6126055e940e97e7ff642cdd0dd831d32e9
5
5
  SHA512:
6
- metadata.gz: 01a8c1a3b32e497c5129abe75ec84a4d574e1f6498027e5465c49c03947d2d2cd569af051850adb6d01b50b53b8794eb7f09f38f7eb1c315789224870f1b0e79
7
- data.tar.gz: 124711832b6545f4d915b1f12355612ed03a4a6dd9a698abb7173b299983b4bc4cc0fde30b59f13f4406e148dd8e7d0cc1732ba3c7ce90301bc6f5cb31bfb973
6
+ metadata.gz: b4fbf0a15e5c592c6647e26d7bba518f7f9194b0d4a5e97920b4937730d1670b4899d886879169177156a62254dfb3f5d3c2b7dc70def5e0eb744555d46aa2d4
7
+ data.tar.gz: ca385414dbce6ad140468a92cf87267d36701b5aa442d40f5b777a34f0972a43b903520e8c774e4d9b24be78b80610006993a5ca52da091a0e77a6becb5e596b
@@ -50,6 +50,9 @@ module FacebookAds
50
50
  # Attribution token used for Windows 10.
51
51
  attr_accessor :windows_attribution_id
52
52
 
53
+ # An encrypted string and non-user metadata appended to the outbound URL (for example, ad_destination_url) or deep link (for App Aggregated Event Manager) when a user clicked on a link from Facebook.
54
+ attr_accessor :campaign_ids
55
+
53
56
  # @param [Boolean] application_tracking_enabled
54
57
  # @param [Boolean] advertiser_tracking_enabled
55
58
  # @param [Boolean] consider_views
@@ -60,6 +63,7 @@ module FacebookAds
60
63
  # @param [String] installer_package
61
64
  # @param [Array<String>] url_schemes
62
65
  # @param [String] windows_attribution_id
66
+ # @param [String] campaign_ids
63
67
  def initialize(application_tracking_enabled: nil,
64
68
  advertiser_tracking_enabled: nil,
65
69
  consider_views: nil,
@@ -69,7 +73,8 @@ module FacebookAds
69
73
  install_referrer: nil,
70
74
  installer_package: nil,
71
75
  url_schemes: nil,
72
- windows_attribution_id: nil)
76
+ windows_attribution_id: nil,
77
+ campaign_ids: nil)
73
78
 
74
79
  unless application_tracking_enabled.nil?
75
80
  self.application_tracking_enabled = application_tracking_enabled
@@ -101,6 +106,9 @@ module FacebookAds
101
106
  unless windows_attribution_id.nil?
102
107
  self.windows_attribution_id = windows_attribution_id
103
108
  end
109
+ unless campaign_ids.nil?
110
+ self.campaign_ids = campaign_ids
111
+ end
104
112
  end
105
113
 
106
114
  # build the object using the input hash
@@ -151,6 +159,10 @@ module FacebookAds
151
159
  if attributes.has_key?(:'windows_attribution_id')
152
160
  self.windows_attribution_id = attributes[:'windows_attribution_id']
153
161
  end
162
+
163
+ if attributes.has_key?(:'campaign_ids')
164
+ self.campaign_ids = attributes[:'campaign_ids']
165
+ end
154
166
  end
155
167
 
156
168
  # Checks equality by comparing each attribute.
@@ -166,7 +178,8 @@ module FacebookAds
166
178
  install_referrer == o.install_referrer &&
167
179
  installer_package == o.installer_package &&
168
180
  url_schemes == o.url_schemes &&
169
- windows_attribution_id == o.windows_attribution_id
181
+ windows_attribution_id == o.windows_attribution_id &&
182
+ campaign_ids == o.campaign_ids
170
183
  end
171
184
 
172
185
  # @see the `==` method
@@ -187,7 +200,8 @@ module FacebookAds
187
200
  install_referrer,
188
201
  installer_package,
189
202
  url_schemes,
190
- windows_attribution_id
203
+ windows_attribution_id,
204
+ campaign_ids
191
205
  ].hash
192
206
  end
193
207
 
@@ -225,6 +239,9 @@ module FacebookAds
225
239
  unless windows_attribution_id.nil?
226
240
  hash['windows_attribution_id'] = windows_attribution_id
227
241
  end
242
+ unless campaign_ids.nil?
243
+ hash['campaign_ids'] = campaign_ids
244
+ end
228
245
  hash.to_s
229
246
  end
230
247
 
@@ -258,6 +275,9 @@ module FacebookAds
258
275
  unless windows_attribution_id.nil?
259
276
  hash['windows_attribution_id'] = windows_attribution_id
260
277
  end
278
+ unless campaign_ids.nil?
279
+ hash['campaign_ids'] = campaign_ids
280
+ end
261
281
 
262
282
  unless extinfo.nil?
263
283
  hash['extinfo'] = extinfo.normalize
@@ -7,6 +7,6 @@
7
7
  # FB:AUTOGEN
8
8
 
9
9
  module FacebookAds
10
- VERSION = '20.0.3'
10
+ VERSION = '20.0.4'
11
11
  API_VERSION = '20.0'
12
12
  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: 20.0.3
4
+ version: 20.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Facebook
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-18 00:00:00.000000000 Z
11
+ date: 2024-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby