@@ -23,7 +23,6 @@ class Account
2323 'accounts/%{id}' # @api private
2424 FEATURES = "/#{ TwitterAds ::API_VERSION } /" \
2525 'accounts/%{id}/features' # @api private
26- SCOPED_TIMELINE = '/5/accounts/%{id}/scoped_timeline' # @api private
2726 AUTHENTICATED_USER_ACCESS = "/#{ TwitterAds ::API_VERSION } /" \
2827 'accounts/%{id}/authenticated_user_access' # @api private
2928
@@ -247,24 +246,6 @@ def tailored_audiences(id = nil, opts = {})
247246 load_resource ( TailoredAudience , id , opts )
248247 end
249248
250- # Returns the most recent promotable Tweets created by one or more specified Twitter users.
251- #
252- # @param ids [Array] An Array of Twitter user IDs.
253- # @param opts [Hash] A Hash of extended options.
254- #
255- # @return [Array] An Array of Tweet objects.
256- #
257- # @since 0.2.3
258- def scoped_timeline ( id , opts = { } )
259- TwitterAds ::Utils . deprecated (
260- 'Scoped Timeline' )
261- params = { user_id : id } . merge! ( opts )
262- resource = SCOPED_TIMELINE % { id : @id }
263- request = Request . new ( client , :get , resource , params : params )
264- response = request . perform
265- response . body [ :data ]
266- end
267-
268249 def authenticated_user_access
269250 params = { }
270251 resource = AUTHENTICATED_USER_ACCESS % { id : @id }
0 commit comments