Class: PPC::Operation::Creative

Inherits:
Object
  • Object
show all
Includes:
PPC::Operation
Defined in:
lib/ppc/operation/creative.rb

Instance Attribute Summary

Attributes included from PPC::Operation

#id

Instance Method Summary collapse

Methods included from PPC::Operation

#call, #download, #get_obj, #initialize

Instance Method Details

#activateObject



14
15
16
# File 'lib/ppc/operation/creative.rb', line 14

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

#deleteObject



22
23
24
# File 'lib/ppc/operation/creative.rb', line 22

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

#infoObject



6
7
8
# File 'lib/ppc/operation/creative.rb', line 6

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

#statusObject



18
19
20
# File 'lib/ppc/operation/creative.rb', line 18

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

#update(keywordType) ⇒ Object



10
11
12
# File 'lib/ppc/operation/creative.rb', line 10

def update( keywordType )
  ::PPC::API::Baidu::Keyword::update( @auth, keywordType )
end