Class: PPC::Operation::Creative
- Inherits:
-
Object
- Object
- PPC::Operation::Creative
show all
- Includes:
- PPC::Operation
- Defined in:
- lib/ppc/operation/creative.rb
Instance Attribute Summary
#id
Instance Method Summary
collapse
#call, #download, #get_obj, #initialize, #qihu_refresh_token
Instance Method Details
#activate ⇒ Object
14
15
16
|
# File 'lib/ppc/operation/creative.rb', line 14
def activate()
call( 'creative' ).activate( @auth, @id )
end
|
#delete ⇒ Object
22
23
24
|
# File 'lib/ppc/operation/creative.rb', line 22
def delete()
call( 'creative' ).delete( @auth, @id )
end
|
#info ⇒ Object
6
7
8
|
# File 'lib/ppc/operation/creative.rb', line 6
def info()
call( 'creative' ).get( @auth, @id )
end
|
#status ⇒ Object
18
19
20
|
# File 'lib/ppc/operation/creative.rb', line 18
def status()
call( 'creative' ).status( @auth, @id )
end
|
#update(type) ⇒ Object
10
11
12
|
# File 'lib/ppc/operation/creative.rb', line 10
def update( type )
call( 'creative' ).update( @auth, type.merge( id:@id) )
end
|