Sha256: 71c50dcc34b093d6ec95949a8ce005192c312f9b90468dccfa7be5c05a38a51b
Contents?: true
Size: 1.11 KB
Versions: 1
Compression:
Stored size: 1.11 KB
Contents
module PPC module Operation class Account include ::PPC::Operation # self operations def info info = call('account').info(@auth) @id = info[:result][:id] if @id == nil return info end def update(account) call('account').update(@auth,account) end # subobject(plan) operations def plans call('plan').all(@auth) end def plan_ids call('plan').ids(@auth) end # some useful keyword operations def keywords(group_id) call( 'keyword' ).search_by_group_id( @auth, group_id ) end def keyword_ids(group_id) call( 'keyword' ).search_id_by_group_id( @auth, group_id ) end # plan operations include ::PPC::Operation::Plan_operation # group opeartions include ::PPC::Operation::Group_operation # keyword opeartions include ::PPC::Operation::Keyword_operation # creative opeartions include ::PPC::Operation::Creative_operation # report operations include ::PPC::Operation::Report end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ppc-1.3.2 | lib/ppc/operation/account.rb |