module YandexDirect::V5::Sitelinks
Public Instance Methods
add_sitelinks(params)
click to toggle source
Creates sets of sitelinks
@see tech.yandex.com/direct/doc/ref-v5/sitelinks/add-docpage/
# File lib/yandex_direct/v5/sitelinks.rb, line 9 def add_sitelinks(params) response = YandexDirect::V5::Request.new(self, @token, 'sitelinks', 'add', params).perform @available_units = response[:available_units] response[:result] end
sitelinks(params)
click to toggle source
Returns sets of sitelinks that match the specified criteria
@see tech.yandex.com/direct/doc/ref-v5/sitelinks/get-docpage/
# File lib/yandex_direct/v5/sitelinks.rb, line 18 def sitelinks(params) response = YandexDirect::V5::Request.new(self, @token, 'sitelinks', 'get', params).perform @available_units = response[:available_units] response[:result] end