Sha256: 3ea908e04cb0a49afeee394a462824ee7f6fff97e321072872bbe7ec044e6baf

Contents?: true

Size: 501 Bytes

Versions: 8

Compression:

Stored size: 501 Bytes

Contents

describe ::PPC::Operation::Account do
  subject{
    ::PPC::Operation::Account.new( $sogou_auth )
  }
  # opetation report test
  it 'can get report' do
    endDate = ( Time.now-2*3600*24).to_s[0..9].split('-').join
    startDate =( Time.now-27*3600*24).to_s[0..9].split('-').join

    p "startDate:#{startDate},endDate:#{endDate}"
    param = {startDate:startDate, endDate:endDate}

    subject.query_report( param )
    subject.keyword_report( param )
    subject.creative_report( param )
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ppc-2.0.5 spec/operation/operation_sogou_report_spec.rb
ppc-2.0.4 spec/operation/operation_sogou_report_spec.rb
ppc-2.0.3 spec/operation/operation_sogou_report_spec.rb
ppc-2.0.2 spec/operation/operation_sogou_report_spec.rb
ppc-2.0.1 spec/operation/operation_sogou_report_spec.rb
ppc-2.0.0 spec/operation/operation_sogou_report_spec.rb
ppc-1.3.2 spec/operation/operation_sogou_report_spec.rb
ppc-0.3.0 spec/operation/operation_sogou_report_spec.rb