Sha256: 1645c8e045c2c23a3d07355e3caa196f4d391bb1b5b65bb706648c38ec3afaff
Contents?: true
Size: 785 Bytes
Versions: 1
Compression:
Stored size: 785 Bytes
Contents
require_relative "../examples" RSpec.describe "CampaignManagement service" do include_context "use api" describe "Campaign methods" do it "returns campaign ids" do campaigns = api.campaign_management.call(:add_campaigns, account_id: Examples.account_id, campaigns: { campaign: { name: "Acceptance Test Campaign #{random}", daily_budget: 10, budget_type: "DailyBudgetStandard", time_zone: "BrusselsCopenhagenMadridParis" } }) expect(campaigns).to include( partial_errors: "", campaign_ids: [a_kind_of(Integer)] ) puts "You can now fill in examples.rb with campaign_id: #{campaigns[:campaign_ids].first}" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bing_ads_ruby_sdk-1.5.0 | spec/examples/2_with_customer/campaigns_spec.rb |