adroller 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cc1dd08ddfa36709c70445d7926e24dff55e8ffb
4
- data.tar.gz: c382cf0784f1064529634370bb1a1b67c430b48e
3
+ metadata.gz: 3d6efe0f8b76a9f7fd37a6021c3b8a7982e81a9a
4
+ data.tar.gz: 4e06eea46a44a92e4f4aae61c13082822864750b
5
5
  SHA512:
6
- metadata.gz: f8d3c65f5c5d6f4218deb756df474dfa795a5eaa079b901fc2cc0b20068a9017cf64dfce85d61ed31b564325e7631d6aaf300c40df8c9133c875318f14fbe8d6
7
- data.tar.gz: ef729d9f793a20d429b72829de37d521bc2d207db7a8e5e947e71d4780f066927ddd184273c8697b551734d408719209ce6fde9f5e509d14fd2fe0f7af6cc1bc
6
+ metadata.gz: 4c75804e788e4f78199dce05030861f65e27dfb21a468cfd70d1c64d4a279f350fab66ed50e399acce7da6e43ead747a4a522e7f8c13db1f1ba928a3d03f9ecd
7
+ data.tar.gz: 200313ae63b5da3f673bf824858ce9330b2df30a2b7a19257e63098e0a5665861a11b8c4bb290aa6ec5329b5c6e85b74550c55e7c591c1b134e77596a27163f4
@@ -15,7 +15,7 @@ module AdRoll
15
15
  call_api(:post, __method__, params)
16
16
  end
17
17
 
18
- def create(advertisable:, file:, dynamic_template_id:, destination_url: nil, name: nil,
18
+ def create(advertisable:, file:, dynamic_template_id: nil, destination_url: nil, name: nil,
19
19
  headline: nil, body: nil, message: nil, product: nil, logo: nil, background: nil)
20
20
  params = {
21
21
  advertisable: advertisable,
@@ -3,7 +3,7 @@ module AdRoll
3
3
  class Report < AdRoll::Api::Service
4
4
  class << self
5
5
  def ad(campaigns: nil, adgroups: nil, ads: nil, advertisables: nil,
6
- data_format:, past_days: nil, start_date: nil, end_date: nil)
6
+ data_format:, past_days: nil, start_date: nil, end_date: nil, attributions: nil)
7
7
 
8
8
  params = {
9
9
  campaigns: campaigns,
@@ -13,7 +13,8 @@ module AdRoll
13
13
  data_format: data_format,
14
14
  past_days: past_days,
15
15
  start_date: start_date,
16
- end_date: end_date
16
+ end_date: end_date,
17
+ attributions: attributions
17
18
  }.reject { |_, value| value.nil? }
18
19
 
19
20
  call_api(:get, __method__, params)
@@ -1,3 +1,3 @@
1
1
  module Adroller
2
- VERSION = '1.0.3'
2
+ VERSION = '1.0.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adroller
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikolas Davis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-12 00:00:00.000000000 Z
11
+ date: 2015-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler