module TwitterAds::Enum::Placement
Constants
- ALL_ON_TWITTER
- PUBLISHER_NETWORK
- TAP_BANNER
- TAP_FULL
- TAP_FULL_LANDSCAPE
- TAP_MRECT
- TAP_NATIVE
- TWITTER_SEARCH
- TWITTER_TIMELINE
Private Class Methods
valid_combinations(client, product_type)
click to toggle source
Helper method to return a list a valid placement combinations by Product
.
@example
Placement.valid_combinations(Product::PROMOTED_TWEETS)
@param product_type [Product] The enum value for the Product
type being targeted.
@return [Array] An array of valid placement combinations.
@deprecated use LineItems#placements(). Will be deprecated in v1.0.0.
@since 0.1.0 @see dev.twitter.com/ads/reference/get/line_items/placements
# File lib/twitter-ads/enum.rb, line 53 def valid_combinations(client, product_type) TwitterAds::Utils.deprecated( 'Placement#valid_combinations', replacement: 'LineItem#placements') TwitterAds::LineItem.placements(client, product_type) end