Sha256: edbc65b2036d3e0ad1b7d5b1f7a76df8aa8fd5ef11a4075fbbcc2870b698bc2b
Contents?: true
Size: 886 Bytes
Versions: 1
Compression:
Stored size: 886 Bytes
Contents
require_relative "../examples" RSpec.describe "AdGroup methods" do include_context "use api" describe "#add_ad_groups" do it "returns created AdGroup ids" do ad_groups = api.campaign_management.call(:add_ad_groups, campaign_id: Examples.campaign_id, ad_groups: { ad_group: { name: "AcceptanceTestAdGroup - #{random}", language: "French", start_date: { day: "1", month: "1", year: "2049" }, end_date: { day: "1", month: "2", year: "2049" } } }) expect(ad_groups).to include( ad_group_ids: [a_kind_of(Integer)], partial_errors: "" ) puts "Please fill in examples.rb with ad_group_id: #{ad_groups[:ad_group_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/5_with_campaign/ad_group_spec.rb |