zuck 1.0.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/CHANGELOG.markdown +35 -5
- data/Gemfile +3 -2
- data/Gemfile.lock +13 -10
- data/README.markdown +26 -38
- data/VERSION +1 -1
- data/console +8 -2
- data/lib/zuck/facebook/ad_account.rb +22 -5
- data/lib/zuck/facebook/ad_campaign.rb +12 -15
- data/lib/zuck/facebook/ad_creative.rb +14 -14
- data/lib/zuck/facebook/ad_group.rb +12 -12
- data/lib/zuck/facebook/ad_interest.rb +12 -15
- data/lib/zuck/facebook/ad_set.rb +30 -0
- data/lib/zuck/facebook/targeting_spec.rb +4 -4
- data/lib/zuck/fb_object/dsl.rb +15 -7
- data/lib/zuck/fb_object/hash_delegator.rb +20 -3
- data/lib/zuck/fb_object/write.rb +18 -6
- data/lib/zuck/fb_object.rb +1 -1
- data/lib/zuck/helpers.rb +20 -1
- data/spec/fixtures/a_single_account.yml +146 -29
- data/spec/fixtures/a_single_campaign.yml +61 -12
- data/spec/fixtures/a_single_group.yml +65 -12
- data/spec/fixtures/ad_interest_search_disney.yml +16 -14
- data/spec/fixtures/ad_interest_search_moviepilot.yml +15 -98
- data/spec/fixtures/ad_interest_search_nonexistant.yml +7 -5
- data/spec/fixtures/create_ad_campaign.yml +334 -9
- data/spec/fixtures/create_ad_group.yml +154 -9
- data/spec/fixtures/create_ad_set.yml +95 -0
- data/spec/fixtures/delete_ad_group.yml +55 -8
- data/spec/fixtures/find_a_single_group_and_update_it.yml +122 -95
- data/spec/fixtures/list_of_ad_accounts.yml +77 -58
- data/spec/fixtures/list_of_ad_campaigns.yml +77 -55
- data/spec/fixtures/list_of_ad_creatives.yml +61 -13
- data/spec/fixtures/list_of_ad_groups.yml +77 -60
- data/spec/fixtures/list_of_all_ad_creatives_of_account.yml +77 -73
- data/spec/fixtures/reach_for_invalid_interest.yml +29 -111
- data/spec/fixtures/reach_for_valid_keywords.yml +11 -54
- data/spec/fixtures/reach_for_valid_keywords_male_young.yml +11 -60
- data/spec/lib/zuck/facebook/ad_account_spec.rb +1 -1
- data/spec/lib/zuck/facebook/ad_interest_spec.rb +2 -2
- data/spec/lib/zuck/facebook/targeting_spec_spec.rb +13 -21
- data/spec/lib/zuck_spec.rb +34 -23
- data/spec/spec_helper.rb +2 -5
- data/test_access_token +1 -0
- data/zuck.gemspec +15 -9
- metadata +63 -46
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://graph.facebook.com/act_10150585630710217/
|
5
|
+
uri: https://graph.facebook.com/act_10150585630710217/adcampaign_groups?access_token=CAAEvJ5vzhl8BANgaZCvjMZCRsIbNZCSPswoDM0MTx8g30ojs53HUp43aVBVdqHnu9kIFytWIR5oRfp1Sy8DZBtJ9p5Rw2kY93ZAu6EwzHqZCrjmeBxXBWWlMCty1Bg4zKc3abdbjgoX4fWP4NWCEyWZCFJBKXWR0WV3ZC63bSqw7ojzYJm4teOarRc1GaesGIlIKlZB6s7EwZA1qUZCCKsdZCSsq%0A&fields=
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Faraday v0.8.
|
11
|
+
- Faraday v0.8.9
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
14
|
Accept:
|
@@ -16,60 +16,82 @@ http_interactions:
|
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
19
|
-
message:
|
20
|
-
T0s=
|
19
|
+
message: OK
|
21
20
|
headers:
|
22
|
-
|
23
|
-
-
|
24
|
-
|
25
|
-
!
|
26
|
-
-
|
27
|
-
|
28
|
-
|
29
|
-
-
|
30
|
-
|
31
|
-
!
|
32
|
-
-
|
33
|
-
|
34
|
-
|
35
|
-
-
|
36
|
-
|
37
|
-
|
38
|
-
-
|
39
|
-
|
40
|
-
|
41
|
-
-
|
42
|
-
|
43
|
-
|
44
|
-
-
|
45
|
-
|
46
|
-
!binary "WC1GYi1EZWJ1Zw==":
|
47
|
-
- !binary |-
|
48
|
-
Q0NSSlVETStDdTBhNlBCUklPRW4zUUxkVlBrRVRDRzdORVlTSnpZQTVqUT0=
|
49
|
-
!binary "RGF0ZQ==":
|
50
|
-
- !binary |-
|
51
|
-
VGh1LCAxMiBTZXAgMjAxMyAxMzoyMTozOCBHTVQ=
|
52
|
-
!binary "Q29ubmVjdGlvbg==":
|
53
|
-
- !binary |-
|
54
|
-
a2VlcC1hbGl2ZQ==
|
55
|
-
!binary "Q29udGVudC1MZW5ndGg=":
|
56
|
-
- !binary |-
|
57
|
-
NTM5
|
21
|
+
Facebook-Api-Version:
|
22
|
+
- v1.0
|
23
|
+
Etag:
|
24
|
+
- ! '"9f3290adf7bf50479029ce60a076a6a7ca57c829"'
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=UTF-8
|
27
|
+
Pragma:
|
28
|
+
- no-cache
|
29
|
+
Access-Control-Allow-Origin:
|
30
|
+
- ! '*'
|
31
|
+
X-Fb-Rev:
|
32
|
+
- '1534884'
|
33
|
+
Cache-Control:
|
34
|
+
- private, no-cache, no-store, must-revalidate
|
35
|
+
Expires:
|
36
|
+
- Sat, 01 Jan 2000 00:00:00 GMT
|
37
|
+
X-Fb-Debug:
|
38
|
+
- GWTtQ/QxNJXLL8ovBM8ay1adbqHWUAnId0LERMqj9P7Rw/Al/6argGfyxuFLo9lBoxKsIx9weBMAMsUqOESgGQ==
|
39
|
+
Date:
|
40
|
+
- Wed, 17 Dec 2014 12:36:35 GMT
|
41
|
+
Connection:
|
42
|
+
- keep-alive
|
43
|
+
Content-Length:
|
44
|
+
- '602'
|
58
45
|
body:
|
59
|
-
encoding: ASCII
|
60
|
-
string: !
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
46
|
+
encoding: US-ASCII
|
47
|
+
string: ! '{"data":[{"id":"6021499361751"},{"id":"6021499807351"},{"id":"6021500417351"},{"id":"6021523561951"},{"id":"6021523578151"},{"id":"6021524946751"},{"id":"6021525337751"},{"id":"6021525874951"},{"id":"6021525981551"},{"id":"6021499434951"},{"id":"6021499435351"},{"id":"6021499789751"},{"id":"6021499790551"},{"id":"6021499806751"},{"id":"6021500416751"},{"id":"6021523561551"},{"id":"6021523569351"},{"id":"6021523577751"},{"id":"6021524942351"},{"id":"6021525337351"},{"id":"6021525874351"},{"id":"6021525980951"}],"paging":{"cursors":{"before":"NjAyMTQ5OTM2MTc1MQ==","after":"NjAyMTUyNTk4MDk1MQ=="}}}'
|
48
|
+
http_version:
|
49
|
+
recorded_at: Wed, 17 Dec 2014 12:36:35 GMT
|
50
|
+
- request:
|
51
|
+
method: get
|
52
|
+
uri: https://graph.facebook.com/act_10150585630710217/adcampaign_groups?access_token=CAAEvJ5vzhl8BAICOwypV5nYnYWXhBq1eskHA7rKyrz9fXcAvKRXDWVZAaG7FpQ21qTXeCtGZCR7iu1dtZCqZCZBZCQbefKrMOnZAibDZAiQKiX0s22PgtKuCoQK4LDVimREnqkGdoLMyB4zgT3A6ZAU7pn6wc2mTzZBWVbkr71bZBJKjhyeb4V58TkMsUbN9SQer3ZCRRtWTxqNFTUwHuv51RoVsI7LNw0mCr5gZD%0A&fields=
|
53
|
+
body:
|
54
|
+
encoding: US-ASCII
|
55
|
+
string: ''
|
56
|
+
headers:
|
57
|
+
User-Agent:
|
58
|
+
- Faraday v0.8.9
|
59
|
+
Accept-Encoding:
|
60
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
61
|
+
Accept:
|
62
|
+
- ! '*/*'
|
63
|
+
response:
|
64
|
+
status:
|
65
|
+
code: 200
|
66
|
+
message: OK
|
67
|
+
headers:
|
68
|
+
Facebook-Api-Version:
|
69
|
+
- v1.0
|
70
|
+
Etag:
|
71
|
+
- ! '"a46b796bf7eaf0370d3ef015ff4e070dee8b34a6"'
|
72
|
+
Content-Type:
|
73
|
+
- application/json; charset=UTF-8
|
74
|
+
Pragma:
|
75
|
+
- no-cache
|
76
|
+
Access-Control-Allow-Origin:
|
77
|
+
- ! '*'
|
78
|
+
X-Fb-Rev:
|
79
|
+
- '1534884'
|
80
|
+
Cache-Control:
|
81
|
+
- private, no-cache, no-store, must-revalidate
|
82
|
+
Expires:
|
83
|
+
- Sat, 01 Jan 2000 00:00:00 GMT
|
84
|
+
X-Fb-Debug:
|
85
|
+
- Twi7eFEpMQ7dtknBPJczL2ZhTma1iqXW37j34cJwqytRkmkiJv74xCkNSvJ9GKMvzweApFzlUnMmr6wqrRP8Mw==
|
86
|
+
Date:
|
87
|
+
- Wed, 17 Dec 2014 13:22:05 GMT
|
88
|
+
Connection:
|
89
|
+
- keep-alive
|
90
|
+
Content-Length:
|
91
|
+
- '648'
|
92
|
+
body:
|
93
|
+
encoding: US-ASCII
|
94
|
+
string: ! '{"data":[{"id":"6021499361751"},{"id":"6021499807351"},{"id":"6021500417351"},{"id":"6021523561951"},{"id":"6021523578151"},{"id":"6021524946751"},{"id":"6021525337751"},{"id":"6021525874951"},{"id":"6021525981551"},{"id":"6021526002751"},{"id":"6021499434951"},{"id":"6021499435351"},{"id":"6021499789751"},{"id":"6021499790551"},{"id":"6021499806751"},{"id":"6021500416751"},{"id":"6021523561551"},{"id":"6021523569351"},{"id":"6021523577751"},{"id":"6021524942351"},{"id":"6021525337351"},{"id":"6021525874351"},{"id":"6021525980951"},{"id":"6021526002351"}],"paging":{"cursors":{"before":"NjAyMTQ5OTM2MTc1MQ==","after":"NjAyMTUyNjAwMjM1MQ=="}}}'
|
73
95
|
http_version:
|
74
|
-
recorded_at:
|
96
|
+
recorded_at: Wed, 17 Dec 2014 13:22:05 GMT
|
75
97
|
recorded_with: VCR 2.3.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://graph.facebook.com/6010889169151/adcreatives?access_token=
|
5
|
+
uri: https://graph.facebook.com/6010889169151/adcreatives?access_token=CAAEvJ5vzhl8BANgaZCvjMZCRsIbNZCSPswoDM0MTx8g30ojs53HUp43aVBVdqHnu9kIFytWIR5oRfp1Sy8DZBtJ9p5Rw2kY93ZAu6EwzHqZCrjmeBxXBWWlMCty1Bg4zKc3abdbjgoX4fWP4NWCEyWZCFJBKXWR0WV3ZC63bSqw7ojzYJm4teOarRc1GaesGIlIKlZB6s7EwZA1qUZCCKsdZCSsq%0A&fields=
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Faraday v0.8.
|
11
|
+
- Faraday v0.8.9
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
14
|
Accept:
|
@@ -18,32 +18,80 @@ http_interactions:
|
|
18
18
|
code: 200
|
19
19
|
message: OK
|
20
20
|
headers:
|
21
|
+
Facebook-Api-Version:
|
22
|
+
- v1.0
|
23
|
+
Etag:
|
24
|
+
- ! '"9818afb0fc3be647821cb978d9dec1afcfa6cdc6"'
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=UTF-8
|
27
|
+
Pragma:
|
28
|
+
- no-cache
|
21
29
|
Access-Control-Allow-Origin:
|
22
30
|
- ! '*'
|
31
|
+
X-Fb-Rev:
|
32
|
+
- '1534884'
|
23
33
|
Cache-Control:
|
24
34
|
- private, no-cache, no-store, must-revalidate
|
25
|
-
Content-Type:
|
26
|
-
- application/json; charset=UTF-8
|
27
|
-
Etag:
|
28
|
-
- ! '"059c02f2d58116e7271e2885bc8551cf1b65f739"'
|
29
35
|
Expires:
|
30
36
|
- Sat, 01 Jan 2000 00:00:00 GMT
|
37
|
+
X-Fb-Debug:
|
38
|
+
- CAY6wp0mChB83YQBHM2kkuOQDo7WdEqUNxRnIcltPMQWudYNGY/5cDr2a7eaM7TiWCSzeZLsNzWtEu4bbxmRJg==
|
39
|
+
Date:
|
40
|
+
- Wed, 17 Dec 2014 12:36:35 GMT
|
41
|
+
Connection:
|
42
|
+
- keep-alive
|
43
|
+
Content-Length:
|
44
|
+
- '33'
|
45
|
+
body:
|
46
|
+
encoding: US-ASCII
|
47
|
+
string: ! '{"data":[{"id":"6010888561951"}]}'
|
48
|
+
http_version:
|
49
|
+
recorded_at: Wed, 17 Dec 2014 12:36:35 GMT
|
50
|
+
- request:
|
51
|
+
method: get
|
52
|
+
uri: https://graph.facebook.com/6010889169151/adcreatives?access_token=CAAEvJ5vzhl8BAICOwypV5nYnYWXhBq1eskHA7rKyrz9fXcAvKRXDWVZAaG7FpQ21qTXeCtGZCR7iu1dtZCqZCZBZCQbefKrMOnZAibDZAiQKiX0s22PgtKuCoQK4LDVimREnqkGdoLMyB4zgT3A6ZAU7pn6wc2mTzZBWVbkr71bZBJKjhyeb4V58TkMsUbN9SQer3ZCRRtWTxqNFTUwHuv51RoVsI7LNw0mCr5gZD%0A&fields=
|
53
|
+
body:
|
54
|
+
encoding: US-ASCII
|
55
|
+
string: ''
|
56
|
+
headers:
|
57
|
+
User-Agent:
|
58
|
+
- Faraday v0.8.9
|
59
|
+
Accept-Encoding:
|
60
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
61
|
+
Accept:
|
62
|
+
- ! '*/*'
|
63
|
+
response:
|
64
|
+
status:
|
65
|
+
code: 200
|
66
|
+
message: OK
|
67
|
+
headers:
|
68
|
+
Facebook-Api-Version:
|
69
|
+
- v1.0
|
70
|
+
Etag:
|
71
|
+
- ! '"9818afb0fc3be647821cb978d9dec1afcfa6cdc6"'
|
72
|
+
Content-Type:
|
73
|
+
- application/json; charset=UTF-8
|
31
74
|
Pragma:
|
32
75
|
- no-cache
|
76
|
+
Access-Control-Allow-Origin:
|
77
|
+
- ! '*'
|
33
78
|
X-Fb-Rev:
|
34
|
-
- '
|
79
|
+
- '1534884'
|
80
|
+
Cache-Control:
|
81
|
+
- private, no-cache, no-store, must-revalidate
|
82
|
+
Expires:
|
83
|
+
- Sat, 01 Jan 2000 00:00:00 GMT
|
35
84
|
X-Fb-Debug:
|
36
|
-
-
|
85
|
+
- /OJJwpvUT1P+qbKqAugkaGlbjSbKgRbtul+E8rWLDvCLR7xwOns/HN/mLngby00pcvLJ5I12LMvnZAsTzVrQpg==
|
37
86
|
Date:
|
38
|
-
-
|
87
|
+
- Wed, 17 Dec 2014 13:22:06 GMT
|
39
88
|
Connection:
|
40
89
|
- keep-alive
|
41
90
|
Content-Length:
|
42
|
-
- '
|
91
|
+
- '33'
|
43
92
|
body:
|
44
93
|
encoding: US-ASCII
|
45
|
-
string: ! '{"data":[{"id":"6010888561951"
|
46
|
-
story #6,010,888,561,951","preview_url":"https:\/\/www.facebook.com\/ads\/api\/creative_preview.php?cid=6010888561951","related_fan_page":1,"type":25,"creative_id":6010888561951,"run_status":1,"count_current_adgroups":9}],"paging":{"next":"https:\/\/graph.facebook.com\/6010889169151\/adcreatives?access_token=CAAEvJ5vzhl8BAH8aCPOx0Ft9uNB147TF8weJ8hK0g7YVDRWU4eEih7tEKdJgmfk0vABZClZACJbEzyhSMbiShL6RpsfkZASfX1C9nv1AlFvjJajflqkyYZAlpE2edT0FJHjdh4NFg0ZCt0sBgq0kZABtKsjuU18aMURLE7rjKHR4X8NkXBUafg1T4uZARRNqboZD&limit=500&offset=500&__after_id=6010888561951"},"count":1,"limit":500}'
|
94
|
+
string: ! '{"data":[{"id":"6010888561951"}]}'
|
47
95
|
http_version:
|
48
|
-
recorded_at:
|
96
|
+
recorded_at: Wed, 17 Dec 2014 13:22:06 GMT
|
49
97
|
recorded_with: VCR 2.3.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://graph.facebook.com/
|
5
|
+
uri: https://graph.facebook.com/6021499361751/adgroups?access_token=CAAEvJ5vzhl8BANgaZCvjMZCRsIbNZCSPswoDM0MTx8g30ojs53HUp43aVBVdqHnu9kIFytWIR5oRfp1Sy8DZBtJ9p5Rw2kY93ZAu6EwzHqZCrjmeBxXBWWlMCty1Bg4zKc3abdbjgoX4fWP4NWCEyWZCFJBKXWR0WV3ZC63bSqw7ojzYJm4teOarRc1GaesGIlIKlZB6s7EwZA1qUZCCKsdZCSsq%0A&fields=
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Faraday v0.8.
|
11
|
+
- Faraday v0.8.9
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
14
|
Accept:
|
@@ -16,65 +16,82 @@ http_interactions:
|
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
19
|
-
message:
|
20
|
-
T0s=
|
19
|
+
message: OK
|
21
20
|
headers:
|
22
|
-
|
23
|
-
-
|
24
|
-
|
25
|
-
!
|
26
|
-
-
|
27
|
-
|
28
|
-
|
29
|
-
-
|
30
|
-
|
31
|
-
!
|
32
|
-
-
|
33
|
-
|
34
|
-
|
35
|
-
-
|
36
|
-
|
37
|
-
|
38
|
-
-
|
39
|
-
|
40
|
-
|
41
|
-
-
|
42
|
-
|
43
|
-
|
44
|
-
-
|
45
|
-
|
46
|
-
!binary "WC1GYi1EZWJ1Zw==":
|
47
|
-
- !binary |-
|
48
|
-
L09YMW9jWDhuRFJUcmtSS0RoMkx0ZmptS3djMmZKTDU3N2lwKzlmWWRVOD0=
|
49
|
-
!binary "RGF0ZQ==":
|
50
|
-
- !binary |-
|
51
|
-
VGh1LCAxMiBTZXAgMjAxMyAxMzoyMTozOSBHTVQ=
|
52
|
-
!binary "Q29ubmVjdGlvbg==":
|
53
|
-
- !binary |-
|
54
|
-
a2VlcC1hbGl2ZQ==
|
55
|
-
!binary "Q29udGVudC1MZW5ndGg=":
|
56
|
-
- !binary |-
|
57
|
-
NzUy
|
21
|
+
Facebook-Api-Version:
|
22
|
+
- v1.0
|
23
|
+
Etag:
|
24
|
+
- ! '"8633e0598e35ea3081cddeeda7005e1ebd3d18bb"'
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=UTF-8
|
27
|
+
Pragma:
|
28
|
+
- no-cache
|
29
|
+
Access-Control-Allow-Origin:
|
30
|
+
- ! '*'
|
31
|
+
X-Fb-Rev:
|
32
|
+
- '1534884'
|
33
|
+
Cache-Control:
|
34
|
+
- private, no-cache, no-store, must-revalidate
|
35
|
+
Expires:
|
36
|
+
- Sat, 01 Jan 2000 00:00:00 GMT
|
37
|
+
X-Fb-Debug:
|
38
|
+
- vd7dNLE7GDVFEb3JhmK/1+WPfh4vtmYaqLnUXO2rSg0elzVAVmjvql5l5lEJ3H821bCNFiPLGLPKj/IGP7q5+A==
|
39
|
+
Date:
|
40
|
+
- Wed, 17 Dec 2014 12:36:35 GMT
|
41
|
+
Connection:
|
42
|
+
- keep-alive
|
43
|
+
Content-Length:
|
44
|
+
- '165'
|
58
45
|
body:
|
59
|
-
encoding: ASCII
|
60
|
-
string: !
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
46
|
+
encoding: US-ASCII
|
47
|
+
string: ! '{"data":[{"id":"6021525982751"},{"id":"6021525876351"},{"id":"6021525861551"}],"paging":{"cursors":{"before":"NjAyMTUyNTk4Mjc1MQ==","after":"NjAyMTUyNTg2MTU1MQ=="}}}'
|
48
|
+
http_version:
|
49
|
+
recorded_at: Wed, 17 Dec 2014 12:36:35 GMT
|
50
|
+
- request:
|
51
|
+
method: get
|
52
|
+
uri: https://graph.facebook.com/6021499361751/adgroups?access_token=CAAEvJ5vzhl8BAICOwypV5nYnYWXhBq1eskHA7rKyrz9fXcAvKRXDWVZAaG7FpQ21qTXeCtGZCR7iu1dtZCqZCZBZCQbefKrMOnZAibDZAiQKiX0s22PgtKuCoQK4LDVimREnqkGdoLMyB4zgT3A6ZAU7pn6wc2mTzZBWVbkr71bZBJKjhyeb4V58TkMsUbN9SQer3ZCRRtWTxqNFTUwHuv51RoVsI7LNw0mCr5gZD%0A&fields=
|
53
|
+
body:
|
54
|
+
encoding: US-ASCII
|
55
|
+
string: ''
|
56
|
+
headers:
|
57
|
+
User-Agent:
|
58
|
+
- Faraday v0.8.9
|
59
|
+
Accept-Encoding:
|
60
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
61
|
+
Accept:
|
62
|
+
- ! '*/*'
|
63
|
+
response:
|
64
|
+
status:
|
65
|
+
code: 200
|
66
|
+
message: OK
|
67
|
+
headers:
|
68
|
+
Facebook-Api-Version:
|
69
|
+
- v1.0
|
70
|
+
Etag:
|
71
|
+
- ! '"785092532354ba5f8d62e00808e4123f1bcde0c6"'
|
72
|
+
Content-Type:
|
73
|
+
- application/json; charset=UTF-8
|
74
|
+
Pragma:
|
75
|
+
- no-cache
|
76
|
+
Access-Control-Allow-Origin:
|
77
|
+
- ! '*'
|
78
|
+
X-Fb-Rev:
|
79
|
+
- '1534884'
|
80
|
+
Cache-Control:
|
81
|
+
- private, no-cache, no-store, must-revalidate
|
82
|
+
Expires:
|
83
|
+
- Sat, 01 Jan 2000 00:00:00 GMT
|
84
|
+
X-Fb-Debug:
|
85
|
+
- ubTtMNag5Ex7ENBS+TzTz6aSJNVine3VsXQj70udBKldPn80xOwqOKSyg/CfTGJ16qNfTNN7arHrDGuY1Dgj1w==
|
86
|
+
Date:
|
87
|
+
- Wed, 17 Dec 2014 13:22:05 GMT
|
88
|
+
Connection:
|
89
|
+
- keep-alive
|
90
|
+
Content-Length:
|
91
|
+
- '188'
|
92
|
+
body:
|
93
|
+
encoding: US-ASCII
|
94
|
+
string: ! '{"data":[{"id":"6021526003751"},{"id":"6021525982751"},{"id":"6021525876351"},{"id":"6021525861551"}],"paging":{"cursors":{"before":"NjAyMTUyNjAwMzc1MQ==","after":"NjAyMTUyNTg2MTU1MQ=="}}}'
|
78
95
|
http_version:
|
79
|
-
recorded_at:
|
96
|
+
recorded_at: Wed, 17 Dec 2014 13:22:05 GMT
|
80
97
|
recorded_with: VCR 2.3.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://graph.facebook.com/act_10150585630710217/adcreatives?access_token=
|
5
|
+
uri: https://graph.facebook.com/act_10150585630710217/adcreatives?access_token=CAAEvJ5vzhl8BANgaZCvjMZCRsIbNZCSPswoDM0MTx8g30ojs53HUp43aVBVdqHnu9kIFytWIR5oRfp1Sy8DZBtJ9p5Rw2kY93ZAu6EwzHqZCrjmeBxXBWWlMCty1Bg4zKc3abdbjgoX4fWP4NWCEyWZCFJBKXWR0WV3ZC63bSqw7ojzYJm4teOarRc1GaesGIlIKlZB6s7EwZA1qUZCCKsdZCSsq%0A&fields=
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Faraday v0.8.
|
11
|
+
- Faraday v0.8.9
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
14
|
Accept:
|
@@ -16,78 +16,82 @@ http_interactions:
|
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
19
|
-
message:
|
20
|
-
T0s=
|
19
|
+
message: OK
|
21
20
|
headers:
|
22
|
-
|
23
|
-
-
|
24
|
-
|
25
|
-
!
|
26
|
-
-
|
27
|
-
|
28
|
-
|
29
|
-
-
|
30
|
-
|
31
|
-
!
|
32
|
-
-
|
33
|
-
|
34
|
-
|
35
|
-
-
|
36
|
-
|
37
|
-
|
38
|
-
-
|
39
|
-
|
40
|
-
|
41
|
-
-
|
42
|
-
|
43
|
-
|
44
|
-
-
|
45
|
-
|
46
|
-
!binary "WC1GYi1EZWJ1Zw==":
|
47
|
-
- !binary |-
|
48
|
-
aHdGMTRtV3FFSGJ4RWNod1Y1YVMyMlNCdlhTaWpNWmdLUFVoWVl2Szh6ND0=
|
49
|
-
!binary "RGF0ZQ==":
|
50
|
-
- !binary |-
|
51
|
-
VGh1LCAxMiBTZXAgMjAxMyAxMzoyMTozOSBHTVQ=
|
52
|
-
!binary "Q29ubmVjdGlvbg==":
|
53
|
-
- !binary |-
|
54
|
-
a2VlcC1hbGl2ZQ==
|
55
|
-
!binary "Q29udGVudC1MZW5ndGg=":
|
56
|
-
- !binary |-
|
57
|
-
MTM1MA==
|
21
|
+
Facebook-Api-Version:
|
22
|
+
- v1.0
|
23
|
+
Etag:
|
24
|
+
- ! '"097453d022fe293736d7a96bd423883d31ca8ad5"'
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=UTF-8
|
27
|
+
Pragma:
|
28
|
+
- no-cache
|
29
|
+
Access-Control-Allow-Origin:
|
30
|
+
- ! '*'
|
31
|
+
X-Fb-Rev:
|
32
|
+
- '1534884'
|
33
|
+
Cache-Control:
|
34
|
+
- private, no-cache, no-store, must-revalidate
|
35
|
+
Expires:
|
36
|
+
- Sat, 01 Jan 2000 00:00:00 GMT
|
37
|
+
X-Fb-Debug:
|
38
|
+
- IODDyHGEfyt2DcMA7gGiPfy9Gzj0yguOO+hmjZTg1aoG8lJ7lCDzwAuOr8bYybSROEb2CxyWu/Zz/f057dGzqw==
|
39
|
+
Date:
|
40
|
+
- Wed, 17 Dec 2014 12:36:35 GMT
|
41
|
+
Connection:
|
42
|
+
- keep-alive
|
43
|
+
Content-Length:
|
44
|
+
- '395'
|
58
45
|
body:
|
59
|
-
encoding: ASCII
|
60
|
-
string: !
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
46
|
+
encoding: US-ASCII
|
47
|
+
string: ! '{"data":[{"id":"6021396606151"},{"id":"6013351235551"},{"id":"6013351233351"},{"id":"6011746439951"},{"id":"6010888561951"},{"id":"6010341812751"},{"id":"6010341810151"},{"id":"6005851371551"},{"id":"6004501081751"},{"id":"6004500825351"},{"id":"6004500752551"},{"id":"6004497043751"},{"id":"6004497038551"}],"paging":{"cursors":{"before":"NjAyMTM5NjYwNjE1MQ==","after":"NjAwNDQ5NzAzODU1MQ=="}}}'
|
48
|
+
http_version:
|
49
|
+
recorded_at: Wed, 17 Dec 2014 12:36:35 GMT
|
50
|
+
- request:
|
51
|
+
method: get
|
52
|
+
uri: https://graph.facebook.com/act_10150585630710217/adcreatives?access_token=CAAEvJ5vzhl8BAICOwypV5nYnYWXhBq1eskHA7rKyrz9fXcAvKRXDWVZAaG7FpQ21qTXeCtGZCR7iu1dtZCqZCZBZCQbefKrMOnZAibDZAiQKiX0s22PgtKuCoQK4LDVimREnqkGdoLMyB4zgT3A6ZAU7pn6wc2mTzZBWVbkr71bZBJKjhyeb4V58TkMsUbN9SQer3ZCRRtWTxqNFTUwHuv51RoVsI7LNw0mCr5gZD%0A&fields=
|
53
|
+
body:
|
54
|
+
encoding: US-ASCII
|
55
|
+
string: ''
|
56
|
+
headers:
|
57
|
+
User-Agent:
|
58
|
+
- Faraday v0.8.9
|
59
|
+
Accept-Encoding:
|
60
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
61
|
+
Accept:
|
62
|
+
- ! '*/*'
|
63
|
+
response:
|
64
|
+
status:
|
65
|
+
code: 200
|
66
|
+
message: OK
|
67
|
+
headers:
|
68
|
+
Facebook-Api-Version:
|
69
|
+
- v1.0
|
70
|
+
Etag:
|
71
|
+
- ! '"097453d022fe293736d7a96bd423883d31ca8ad5"'
|
72
|
+
Content-Type:
|
73
|
+
- application/json; charset=UTF-8
|
74
|
+
Pragma:
|
75
|
+
- no-cache
|
76
|
+
Access-Control-Allow-Origin:
|
77
|
+
- ! '*'
|
78
|
+
X-Fb-Rev:
|
79
|
+
- '1534884'
|
80
|
+
Cache-Control:
|
81
|
+
- private, no-cache, no-store, must-revalidate
|
82
|
+
Expires:
|
83
|
+
- Sat, 01 Jan 2000 00:00:00 GMT
|
84
|
+
X-Fb-Debug:
|
85
|
+
- wfSneHPkIqG3jcxgugJVy71nWIzGvYz1G1/SUa5T5Tg9hNQrO89TLVIa/ZFFc6cbnXYbokkDRaKHOTAlhy7mzw==
|
86
|
+
Date:
|
87
|
+
- Wed, 17 Dec 2014 13:22:06 GMT
|
88
|
+
Connection:
|
89
|
+
- keep-alive
|
90
|
+
Content-Length:
|
91
|
+
- '395'
|
92
|
+
body:
|
93
|
+
encoding: US-ASCII
|
94
|
+
string: ! '{"data":[{"id":"6021396606151"},{"id":"6013351235551"},{"id":"6013351233351"},{"id":"6011746439951"},{"id":"6010888561951"},{"id":"6010341812751"},{"id":"6010341810151"},{"id":"6005851371551"},{"id":"6004501081751"},{"id":"6004500825351"},{"id":"6004500752551"},{"id":"6004497043751"},{"id":"6004497038551"}],"paging":{"cursors":{"before":"NjAyMTM5NjYwNjE1MQ==","after":"NjAwNDQ5NzAzODU1MQ=="}}}'
|
91
95
|
http_version:
|
92
|
-
recorded_at:
|
96
|
+
recorded_at: Wed, 17 Dec 2014 13:22:06 GMT
|
93
97
|
recorded_with: VCR 2.3.0
|