sifiapi 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- data/examples/complete_workflow.rb +10 -2
- data/lib/sifi_api/version.rb +1 -1
- data/lib/sifi_api.rb +0 -1
- metadata +10 -11
- data/lib/sifi_api/dayparting.rb +0 -2
@@ -33,7 +33,15 @@ search_campaign_settings = {
|
|
33
33
|
:bid_type_id => 1,
|
34
34
|
:bid => 5.00,
|
35
35
|
:daily_budget => 500.00,
|
36
|
-
:
|
36
|
+
:week_dayparting => [
|
37
|
+
[0,1,2,3],
|
38
|
+
[0,1,2,3],
|
39
|
+
[0,1,2,3],
|
40
|
+
[0,1,2,3],
|
41
|
+
[0,1,2,3],
|
42
|
+
[0,1,23],
|
43
|
+
[0,1,23]
|
44
|
+
],
|
37
45
|
:browser_ids => [601,604],
|
38
46
|
:device_ids => [701],
|
39
47
|
:operating_system_ids => [801],
|
@@ -49,7 +57,7 @@ search_campaign_settings = {
|
|
49
57
|
search_campaign.update(search_campaign_settings)
|
50
58
|
|
51
59
|
# reload the campaign and include the nested resources
|
52
|
-
puts search_campaign.reload(:include => "
|
60
|
+
puts search_campaign.reload(:include => "browsers,devices,operating_systems,context_ids,branded_data").inspect
|
53
61
|
|
54
62
|
|
55
63
|
# setup an ad
|
data/lib/sifi_api/version.rb
CHANGED
data/lib/sifi_api.rb
CHANGED
@@ -21,7 +21,6 @@ module SifiApi
|
|
21
21
|
autoload :Company, "sifi_api/company"
|
22
22
|
autoload :Connection, "sifi_api/connection"
|
23
23
|
autoload :Context, "sifi_api/context"
|
24
|
-
autoload :Dayparting, "sifi_api/dayparting"
|
25
24
|
autoload :Device, "sifi_api/device"
|
26
25
|
autoload :Dma, "sifi_api/dma"
|
27
26
|
autoload :Domain, "sifi_api/domain"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sifiapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-30 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|
16
|
-
requirement: &
|
16
|
+
requirement: &2152988800 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.7.6
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2152988800
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: multi_json
|
27
|
-
requirement: &
|
27
|
+
requirement: &2152986920 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 1.0.3
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2152986920
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: activesupport
|
38
|
-
requirement: &
|
38
|
+
requirement: &2152985560 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 3.0.10
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2152985560
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: i18n
|
49
|
-
requirement: &
|
49
|
+
requirement: &2152983920 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
version: 0.5.0
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2152983920
|
58
58
|
description: ''
|
59
59
|
email:
|
60
60
|
- brandon@simpli.fi
|
@@ -87,7 +87,6 @@ files:
|
|
87
87
|
- lib/sifi_api/company.rb
|
88
88
|
- lib/sifi_api/connection.rb
|
89
89
|
- lib/sifi_api/context.rb
|
90
|
-
- lib/sifi_api/dayparting.rb
|
91
90
|
- lib/sifi_api/device.rb
|
92
91
|
- lib/sifi_api/dma.rb
|
93
92
|
- lib/sifi_api/domain.rb
|
data/lib/sifi_api/dayparting.rb
DELETED