module YandexDirect::V5::Keywords
Public Instance Methods
add_keywords(params)
click to toggle source
Creates keywords
@see tech.yandex.com/direct/doc/ref-v5/keywords/add-docpage/
# File lib/yandex_direct/v5/keywords.rb, line 9 def add_keywords(params) response = YandexDirect::V5::Request.new(self, @token, 'keywords', 'add', params).perform @available_units = response[:available_units] response[:result] end
keywords(params)
click to toggle source
Returns parameters of keywords that match the set criteria: the values of substitution variables, status and state, productivity, statistics for impressions and clicks, and bids and priorities
@see tech.yandex.com/direct/doc/ref-v5/keywords/get-docpage/
# File lib/yandex_direct/v5/keywords.rb, line 19 def keywords(params) response = YandexDirect::V5::Request.new(self, @token, 'keywords', 'get', params).perform @available_units = response[:available_units] response[:result] end