Sha256: f96a1ad5526254b8699b8762e6e211de4d4906d3f129afca98140438e6799c19

Contents?: true

Size: 648 Bytes

Versions: 2

Compression:

Stored size: 648 Bytes

Contents

module PPC
  module Operation
    class Keyword
      include ::PPC::Operation

      def info()
        ::PPC::API::Baidu::Keyword::get( @auth, @id )
      end

      def update( type )
        ::PPC::API::Baidu::Keyword::update( @auth, type.merge( id:@id) )
      end

      def activate()
        ::PPC::API::Baidu::Keyword::activate( @auth, @id )
      end
      
      def status()
        ::PPC::API::Baidu::Keyword::status( @auth, @id )
      end

      def quality()
        ::PPC::API::Baidu::Keyword::quality( @auth, @id )
      end

      def delete()
        ::PPC::API::Baidu::Keyword::delete( @auth, @id )
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ppc-1.3.0 lib/ppc/operation/keyword.rb
ppc-0.3.0 lib/ppc/operation/keyword.rb