twitter-ads 7.0.0 → 10.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -2
- data/lib/twitter-ads/account.rb +21 -5
- data/lib/twitter-ads/audiences/{tailored_audience.rb → custom_audience.rb} +85 -30
- data/lib/twitter-ads/campaign/line_item.rb +9 -7
- data/lib/twitter-ads/campaign/targeting_criteria.rb +1 -0
- data/lib/twitter-ads/campaign/tracking_tags.rb +97 -0
- data/lib/twitter-ads/client.rb +1 -1
- data/lib/twitter-ads/creative/cards.rb +56 -0
- data/lib/twitter-ads/creative/cards_fetch.rb +2 -4
- data/lib/twitter-ads/creative/image_app_download_card.rb +2 -4
- data/lib/twitter-ads/creative/promoted_tweet.rb +1 -1
- data/lib/twitter-ads/creative/video_app_download_card.rb +2 -4
- data/lib/twitter-ads/enum.rb +21 -30
- data/lib/twitter-ads/http/request.rb +7 -1
- data/lib/twitter-ads/resources/analytics.rb +1 -0
- data/lib/twitter-ads/targeting/{audience_summary.rb → audience_estimate.rb} +3 -3
- data/lib/twitter-ads/targeting_criteria/event.rb +1 -0
- data/lib/twitter-ads/version.rb +1 -1
- data/lib/twitter-ads.rb +4 -2
- data/spec/fixtures/accounts_all.json +0 -5
- data/spec/fixtures/accounts_load.json +0 -1
- data/spec/fixtures/{audience_summary.json → audience_estimate.json} +0 -0
- data/spec/fixtures/custom_audiences_all.json +67 -0
- data/spec/fixtures/{tailored_audiences_load.json → custom_audiences_load.json} +0 -0
- data/spec/fixtures/line_items_all.json +0 -10
- data/spec/fixtures/line_items_load.json +0 -1
- data/spec/fixtures/tailored_audiences_all.json +3 -0
- data/spec/fixtures/targeted_audiences.json +33 -0
- data/spec/fixtures/tracking_tags_load.json +17 -0
- data/spec/twitter-ads/account_spec.rb +11 -11
- data/spec/twitter-ads/audiences/{tailored_audience_spec.rb → custom_audience_spec.rb} +3 -2
- data/spec/twitter-ads/campaign/line_item_spec.rb +6 -3
- data/spec/twitter-ads/campaign/targeting_criteria_spec.rb +1 -0
- data/spec/twitter-ads/campaign/tracking_tag_spec.rb +58 -0
- data/spec/twitter-ads/creative/promoted_tweet_spec.rb +18 -0
- data/spec/twitter-ads/targeting/{audience_summary_spec.rb → audience_estimate_spec.rb} +2 -2
- metadata +56 -46
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitter-ads
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 10.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Babich
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2021-11-18 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: multi_json
|
@@ -57,7 +57,7 @@ files:
|
|
57
57
|
- bin/twitter-ads
|
58
58
|
- lib/twitter-ads.rb
|
59
59
|
- lib/twitter-ads/account.rb
|
60
|
-
- lib/twitter-ads/audiences/
|
60
|
+
- lib/twitter-ads/audiences/custom_audience.rb
|
61
61
|
- lib/twitter-ads/campaign/advertiser_business_categories.rb
|
62
62
|
- lib/twitter-ads/campaign/app_list.rb
|
63
63
|
- lib/twitter-ads/campaign/campaign.rb
|
@@ -68,9 +68,11 @@ files:
|
|
68
68
|
- lib/twitter-ads/campaign/organic_tweet.rb
|
69
69
|
- lib/twitter-ads/campaign/promotable_user.rb
|
70
70
|
- lib/twitter-ads/campaign/targeting_criteria.rb
|
71
|
+
- lib/twitter-ads/campaign/tracking_tags.rb
|
71
72
|
- lib/twitter-ads/campaign/tweet.rb
|
72
73
|
- lib/twitter-ads/client.rb
|
73
74
|
- lib/twitter-ads/creative/account_media.rb
|
75
|
+
- lib/twitter-ads/creative/cards.rb
|
74
76
|
- lib/twitter-ads/creative/cards_fetch.rb
|
75
77
|
- lib/twitter-ads/creative/draft_tweet.rb
|
76
78
|
- lib/twitter-ads/creative/image_app_download_card.rb
|
@@ -103,7 +105,7 @@ files:
|
|
103
105
|
- lib/twitter-ads/restapi.rb
|
104
106
|
- lib/twitter-ads/settings/tax.rb
|
105
107
|
- lib/twitter-ads/settings/user.rb
|
106
|
-
- lib/twitter-ads/targeting/
|
108
|
+
- lib/twitter-ads/targeting/audience_estimate.rb
|
107
109
|
- lib/twitter-ads/targeting_criteria/app_store_category.rb
|
108
110
|
- lib/twitter-ads/targeting_criteria/conversation.rb
|
109
111
|
- lib/twitter-ads/targeting_criteria/device.rb
|
@@ -123,9 +125,11 @@ files:
|
|
123
125
|
- spec/fixtures/accounts_load.json
|
124
126
|
- spec/fixtures/app_lists_all.json
|
125
127
|
- spec/fixtures/app_lists_load.json
|
126
|
-
- spec/fixtures/
|
128
|
+
- spec/fixtures/audience_estimate.json
|
127
129
|
- spec/fixtures/campaigns_all.json
|
128
130
|
- spec/fixtures/campaigns_load.json
|
131
|
+
- spec/fixtures/custom_audiences_all.json
|
132
|
+
- spec/fixtures/custom_audiences_load.json
|
129
133
|
- spec/fixtures/funding_instruments_all.json
|
130
134
|
- spec/fixtures/funding_instruments_load.json
|
131
135
|
- spec/fixtures/line_items_all.json
|
@@ -138,7 +142,8 @@ files:
|
|
138
142
|
- spec/fixtures/promoted_tweets_load.json
|
139
143
|
- spec/fixtures/reach_estimate.json
|
140
144
|
- spec/fixtures/tailored_audiences_all.json
|
141
|
-
- spec/fixtures/
|
145
|
+
- spec/fixtures/targeted_audiences.json
|
146
|
+
- spec/fixtures/tracking_tags_load.json
|
142
147
|
- spec/fixtures/tweet_previews.json
|
143
148
|
- spec/fixtures/videos_all.json
|
144
149
|
- spec/fixtures/videos_load.json
|
@@ -147,10 +152,11 @@ files:
|
|
147
152
|
- spec/spec_helper.rb
|
148
153
|
- spec/support/helpers.rb
|
149
154
|
- spec/twitter-ads/account_spec.rb
|
150
|
-
- spec/twitter-ads/audiences/
|
155
|
+
- spec/twitter-ads/audiences/custom_audience_spec.rb
|
151
156
|
- spec/twitter-ads/campaign/app_list_spec.rb
|
152
157
|
- spec/twitter-ads/campaign/line_item_spec.rb
|
153
158
|
- spec/twitter-ads/campaign/targeting_criteria_spec.rb
|
159
|
+
- spec/twitter-ads/campaign/tracking_tag_spec.rb
|
154
160
|
- spec/twitter-ads/campaign/tweet_spec.rb
|
155
161
|
- spec/twitter-ads/client_spec.rb
|
156
162
|
- spec/twitter-ads/creative/media_creative_spec.rb
|
@@ -161,7 +167,7 @@ files:
|
|
161
167
|
- spec/twitter-ads/placements_spec.rb
|
162
168
|
- spec/twitter-ads/rate_limit_spec.rb
|
163
169
|
- spec/twitter-ads/retry_count_spec.rb
|
164
|
-
- spec/twitter-ads/targeting/
|
170
|
+
- spec/twitter-ads/targeting/audience_estimate_spec.rb
|
165
171
|
- spec/twitter-ads/utils_spec.rb
|
166
172
|
- twitter-ads.gemspec
|
167
173
|
homepage: https://github.com/twitterdev/twitter-ruby-ads-sdk
|
@@ -183,53 +189,57 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
183
189
|
- !ruby/object:Gem::Version
|
184
190
|
version: 2.6.0
|
185
191
|
requirements: []
|
186
|
-
rubygems_version: 3.
|
192
|
+
rubygems_version: 3.2.22
|
187
193
|
signing_key:
|
188
194
|
specification_version: 4
|
189
195
|
summary: The officially supported Twitter Ads API SDK for Ruby.
|
190
196
|
test_files:
|
191
|
-
- spec/
|
192
|
-
- spec/twitter-ads/retry_count_spec.rb
|
193
|
-
- spec/twitter-ads/audiences/tailored_audience_spec.rb
|
194
|
-
- spec/twitter-ads/cursor_spec.rb
|
195
|
-
- spec/twitter-ads/account_spec.rb
|
196
|
-
- spec/twitter-ads/client_spec.rb
|
197
|
-
- spec/twitter-ads/targeting/audience_summary_spec.rb
|
198
|
-
- spec/twitter-ads/rate_limit_spec.rb
|
199
|
-
- spec/twitter-ads/placements_spec.rb
|
200
|
-
- spec/twitter-ads/campaign/targeting_criteria_spec.rb
|
201
|
-
- spec/twitter-ads/campaign/app_list_spec.rb
|
202
|
-
- spec/twitter-ads/campaign/line_item_spec.rb
|
203
|
-
- spec/twitter-ads/campaign/tweet_spec.rb
|
204
|
-
- spec/twitter-ads/creative/tweet_previews_spec.rb
|
205
|
-
- spec/twitter-ads/creative/media_creative_spec.rb
|
206
|
-
- spec/twitter-ads/creative/promoted_tweet_spec.rb
|
207
|
-
- spec/twitter-ads/creative/promoted_account_spec.rb
|
208
|
-
- spec/twitter-ads/utils_spec.rb
|
209
|
-
- spec/shared/properties.rb
|
210
|
-
- spec/support/helpers.rb
|
211
|
-
- spec/fixtures/audience_summary.json
|
212
|
-
- spec/fixtures/line_items_load.json
|
213
|
-
- spec/fixtures/promotable_users_all.json
|
214
|
-
- spec/fixtures/reach_estimate.json
|
197
|
+
- spec/fixtures/accounts_all.json
|
215
198
|
- spec/fixtures/accounts_features.json
|
216
|
-
- spec/fixtures/
|
199
|
+
- spec/fixtures/accounts_load.json
|
200
|
+
- spec/fixtures/app_lists_all.json
|
201
|
+
- spec/fixtures/app_lists_load.json
|
202
|
+
- spec/fixtures/audience_estimate.json
|
203
|
+
- spec/fixtures/campaigns_all.json
|
204
|
+
- spec/fixtures/campaigns_load.json
|
205
|
+
- spec/fixtures/custom_audiences_all.json
|
206
|
+
- spec/fixtures/custom_audiences_load.json
|
207
|
+
- spec/fixtures/funding_instruments_all.json
|
208
|
+
- spec/fixtures/funding_instruments_load.json
|
217
209
|
- spec/fixtures/line_items_all.json
|
210
|
+
- spec/fixtures/line_items_load.json
|
211
|
+
- spec/fixtures/no_content.json
|
218
212
|
- spec/fixtures/placements.json
|
213
|
+
- spec/fixtures/promotable_users_all.json
|
219
214
|
- spec/fixtures/promotable_users_load.json
|
220
|
-
- spec/fixtures/tweet_previews.json
|
221
|
-
- spec/fixtures/tailored_audiences_all.json
|
222
215
|
- spec/fixtures/promoted_tweets_all.json
|
223
|
-
- spec/fixtures/funding_instruments_load.json
|
224
|
-
- spec/fixtures/tailored_audiences_load.json
|
225
|
-
- spec/fixtures/app_lists_load.json
|
226
216
|
- spec/fixtures/promoted_tweets_load.json
|
227
|
-
- spec/fixtures/
|
228
|
-
- spec/fixtures/
|
229
|
-
- spec/fixtures/
|
230
|
-
- spec/fixtures/
|
231
|
-
- spec/fixtures/
|
232
|
-
- spec/fixtures/
|
233
|
-
- spec/fixtures/accounts_all.json
|
217
|
+
- spec/fixtures/reach_estimate.json
|
218
|
+
- spec/fixtures/tailored_audiences_all.json
|
219
|
+
- spec/fixtures/targeted_audiences.json
|
220
|
+
- spec/fixtures/tracking_tags_load.json
|
221
|
+
- spec/fixtures/tweet_previews.json
|
222
|
+
- spec/fixtures/videos_all.json
|
234
223
|
- spec/fixtures/videos_load.json
|
235
224
|
- spec/quality_spec.rb
|
225
|
+
- spec/shared/properties.rb
|
226
|
+
- spec/spec_helper.rb
|
227
|
+
- spec/support/helpers.rb
|
228
|
+
- spec/twitter-ads/account_spec.rb
|
229
|
+
- spec/twitter-ads/audiences/custom_audience_spec.rb
|
230
|
+
- spec/twitter-ads/campaign/app_list_spec.rb
|
231
|
+
- spec/twitter-ads/campaign/line_item_spec.rb
|
232
|
+
- spec/twitter-ads/campaign/targeting_criteria_spec.rb
|
233
|
+
- spec/twitter-ads/campaign/tracking_tag_spec.rb
|
234
|
+
- spec/twitter-ads/campaign/tweet_spec.rb
|
235
|
+
- spec/twitter-ads/client_spec.rb
|
236
|
+
- spec/twitter-ads/creative/media_creative_spec.rb
|
237
|
+
- spec/twitter-ads/creative/promoted_account_spec.rb
|
238
|
+
- spec/twitter-ads/creative/promoted_tweet_spec.rb
|
239
|
+
- spec/twitter-ads/creative/tweet_previews_spec.rb
|
240
|
+
- spec/twitter-ads/cursor_spec.rb
|
241
|
+
- spec/twitter-ads/placements_spec.rb
|
242
|
+
- spec/twitter-ads/rate_limit_spec.rb
|
243
|
+
- spec/twitter-ads/retry_count_spec.rb
|
244
|
+
- spec/twitter-ads/targeting/audience_estimate_spec.rb
|
245
|
+
- spec/twitter-ads/utils_spec.rb
|