adroller 1.0.3 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/adroll/ad.rb +1 -1
- data/lib/adroll/report.rb +3 -2
- data/lib/adroller/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d6efe0f8b76a9f7fd37a6021c3b8a7982e81a9a
|
4
|
+
data.tar.gz: 4e06eea46a44a92e4f4aae61c13082822864750b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c75804e788e4f78199dce05030861f65e27dfb21a468cfd70d1c64d4a279f350fab66ed50e399acce7da6e43ead747a4a522e7f8c13db1f1ba928a3d03f9ecd
|
7
|
+
data.tar.gz: 200313ae63b5da3f673bf824858ce9330b2df30a2b7a19257e63098e0a5665861a11b8c4bb290aa6ec5329b5c6e85b74550c55e7c591c1b134e77596a27163f4
|
data/lib/adroll/ad.rb
CHANGED
@@ -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
|
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,
|
data/lib/adroll/report.rb
CHANGED
@@ -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)
|
data/lib/adroller/version.rb
CHANGED
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.
|
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
|
+
date: 2015-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|