zuck 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +13 -5
  2. data/CHANGELOG.markdown +9 -0
  3. data/README.markdown +7 -1
  4. data/VERSION +1 -1
  5. data/lib/zuck/facebook/ad_creative.rb +0 -3
  6. data/lib/zuck/facebook/ad_group.rb +7 -7
  7. data/lib/zuck/facebook/targeting_spec.rb +0 -1
  8. data/lib/zuck.rb +6 -0
  9. data/spec/fixtures/a_single_account.yml +31 -111
  10. data/spec/fixtures/a_single_campaign.yml +11 -57
  11. data/spec/fixtures/a_single_group.yml +13 -62
  12. data/spec/fixtures/ad_interest_search_disney.yml +19 -19
  13. data/spec/fixtures/ad_interest_search_moviepilot.yml +15 -18
  14. data/spec/fixtures/ad_interest_search_nonexistant.yml +11 -11
  15. data/spec/fixtures/create_a_creative.yml +48 -0
  16. data/spec/fixtures/create_ad_campaign.yml +44 -226
  17. data/spec/fixtures/create_ad_group.yml +13 -155
  18. data/spec/fixtures/create_ad_set.yml +11 -57
  19. data/spec/fixtures/delete_ad_group.yml +10 -55
  20. data/spec/fixtures/delete_ad_set.yml +48 -0
  21. data/spec/fixtures/delete_campaign.yml +93 -0
  22. data/spec/fixtures/delete_creative.yml +48 -0
  23. data/spec/fixtures/find_a_single_group_and_update_it.yml +84 -110
  24. data/spec/fixtures/list_of_ad_accounts.yml +10 -57
  25. data/spec/fixtures/list_of_ad_campaigns.yml +10 -57
  26. data/spec/fixtures/list_of_ad_creatives.yml +9 -56
  27. data/spec/fixtures/list_of_ad_groups.yml +10 -57
  28. data/spec/fixtures/list_of_all_ad_creatives_of_account.yml +10 -57
  29. data/spec/fixtures/reach_for_invalid_interest.yml +28 -31
  30. data/spec/fixtures/reach_for_valid_keywords.yml +13 -13
  31. data/spec/fixtures/reach_for_valid_keywords_male_young.yml +13 -13
  32. data/spec/lib/zuck/facebook/ad_interest_spec.rb +1 -1
  33. data/spec/lib/zuck/facebook/targeting_spec_spec.rb +3 -3
  34. data/spec/lib/zuck_spec.rb +125 -86
  35. data/spec/spec_helper.rb +14 -0
  36. data/test_access_token +1 -1
  37. data/zuck.gemspec +7 -3
  38. metadata +49 -45
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://graph.facebook.com/6021525861551?access_token=CAAEvJ5vzhl8BAICOwypV5nYnYWXhBq1eskHA7rKyrz9fXcAvKRXDWVZAaG7FpQ21qTXeCtGZCR7iu1dtZCqZCZBZCQbefKrMOnZAibDZAiQKiX0s22PgtKuCoQK4LDVimREnqkGdoLMyB4zgT3A6ZAU7pn6wc2mTzZBWVbkr71bZBJKjhyeb4V58TkMsUbN9SQer3ZCRRtWTxqNFTUwHuv51RoVsI7LNw0mCr5gZD%0A&fields=id,account_id,adgroup_status,bid_type,bid_info,conversion_specs,campaign_id,campaign_group_id,conversion_specs,created_time,creative_ids,failed_delivery_checks,name,targeting,tracking_specs,updated_time,view_tags
5
+ uri: https://graph.facebook.com/v2.2/6024300273866?access_token=FAKEACCESSTOKEN&fields=id,account_id,conversion_specs,campaign_id,campaign_group_id,created_time,creative_ids,failed_delivery_checks,name,tracking_specs,updated_time
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -18,75 +18,62 @@ http_interactions:
18
18
  code: 200
19
19
  message: OK
20
20
  headers:
21
- Facebook-Api-Version:
22
- - v1.0
23
- Etag:
24
- - ! '"baa6237b818398d2f5f135c8e586d7cb83dcf561"'
25
21
  Content-Type:
26
22
  - application/json; charset=UTF-8
27
- Pragma:
28
- - no-cache
29
23
  Access-Control-Allow-Origin:
30
24
  - ! '*'
31
25
  X-Fb-Rev:
32
- - '1534884'
26
+ - '1690131'
27
+ Etag:
28
+ - ! '"e74aef48c9b1a713ff6d6421dae6886d9276f2f5"'
29
+ Pragma:
30
+ - no-cache
33
31
  Cache-Control:
34
32
  - private, no-cache, no-store, must-revalidate
33
+ Facebook-Api-Version:
34
+ - v2.2
35
35
  Expires:
36
36
  - Sat, 01 Jan 2000 00:00:00 GMT
37
37
  X-Fb-Debug:
38
- - jdavxgYqbzoVhoS2APL67eB0edLNDMVTA/Eo2kw9VUC4LrqwXtPTCKpwVGVLtUrB1cJDYD5oyHCWMT/8wVZS+Q==
38
+ - GwLel9wR7XkUzod/I5YJdbWZvFlwIUH6j6m3b18roR7/ITTUOfmpNqgEioM5QsOsd51xvZ4BKz81hSbglzCVSQ==
39
39
  Date:
40
- - Wed, 17 Dec 2014 13:22:08 GMT
40
+ - Wed, 15 Apr 2015 08:31:55 GMT
41
41
  Connection:
42
42
  - keep-alive
43
43
  Content-Length:
44
- - '786'
44
+ - '384'
45
45
  body:
46
46
  encoding: US-ASCII
47
- string: ! '{"id":"6021525861551","account_id":"10150585630710217","adgroup_status":"ACTIVE","bid_type":"CPC","bid_info":{"CLICKS":1},"campaign_id":"6021525283751","campaign_group_id":"6021499361751","created_time":"2014-12-17T13:29:58+0100","creative_ids":["6021396606151"],"failed_delivery_checks":[{"check_name":"spending_limit_reached","description":"Your
48
- ads aren''t running because you''ve reached the spending limit you set for
49
- your ad account. To get your ads up and running please edit your spending
50
- limit.","summary":"Spending limit reached."}],"name":"My new name","targeting":{"age_max":65,"age_min":18,"geo_locations":{"countries":["US"]}},"tracking_specs":[{"action.type":["post_engagement"],"page":[250413944992062],"post":[882760995090684]}],"updated_time":"2014-12-17T14:21:59+0100"}'
47
+ string: ! '{"id":"6024300273866","account_id":"367106653","campaign_id":"6024300272266","campaign_group_id":"6024300271066","created_time":"2015-04-15T01:31:52-0700","creative_ids":["6024299683866"],"name":"Rap
48
+ like me","tracking_specs":[{"action.type":["link_click"],"object":["10150219314478408"]},{"action.type":["like"],"page":["158352134203230"]}],"updated_time":"2015-04-15T01:31:52-0700"}'
51
49
  http_version:
52
- recorded_at: Wed, 17 Dec 2014 13:22:08 GMT
50
+ recorded_at: Wed, 15 Apr 2015 08:31:57 GMT
53
51
  - request:
54
52
  method: post
55
- uri: https://graph.facebook.com/6021525861551
53
+ uri: https://graph.facebook.com/v2.2/6024300273866
56
54
  body:
57
55
  encoding: US-ASCII
58
56
  string: ! "-------------RubyMultipartPost\r\nContent-Disposition: form-data;
59
- name=\"account_id\"\r\n\r\n10150585630710217\r\n-------------RubyMultipartPost\r\nContent-Disposition:
60
- form-data; name=\"adgroup_status\"\r\n\r\nACTIVE\r\n-------------RubyMultipartPost\r\nContent-Disposition:
61
- form-data; name=\"bid_type\"\r\n\r\nCPC\r\n-------------RubyMultipartPost\r\nContent-Disposition:
62
- form-data; name=\"bid_info%5BCLICKS%5D\"\r\n\r\n1\r\n-------------RubyMultipartPost\r\nContent-Disposition:
63
- form-data; name=\"campaign_id\"\r\n\r\n6021525283751\r\n-------------RubyMultipartPost\r\nContent-Disposition:
64
- form-data; name=\"campaign_group_id\"\r\n\r\n6021499361751\r\n-------------RubyMultipartPost\r\nContent-Disposition:
65
- form-data; name=\"created_time\"\r\n\r\n2014-12-17T13:29:58+0100\r\n-------------RubyMultipartPost\r\nContent-Disposition:
66
- form-data; name=\"creative_ids\"\r\n\r\n6021396606151\r\n-------------RubyMultipartPost\r\nContent-Disposition:
67
- form-data; name=\"failed_delivery_checks%5B%5D%5Bcheck_name%5D\"\r\n\r\nspending_limit_reached\r\n-------------RubyMultipartPost\r\nContent-Disposition:
68
- form-data; name=\"failed_delivery_checks%5B%5D%5Bdescription%5D\"\r\n\r\nYour
69
- ads aren't running because you've reached the spending limit you set for your
70
- ad account. To get your ads up and running please edit your spending limit.\r\n-------------RubyMultipartPost\r\nContent-Disposition:
71
- form-data; name=\"failed_delivery_checks%5B%5D%5Bsummary%5D\"\r\n\r\nSpending
72
- limit reached.\r\n-------------RubyMultipartPost\r\nContent-Disposition: form-data;
73
- name=\"name\"\r\n\r\nMy old name\r\n-------------RubyMultipartPost\r\nContent-Disposition:
74
- form-data; name=\"targeting%5Bage_max%5D\"\r\n\r\n65\r\n-------------RubyMultipartPost\r\nContent-Disposition:
75
- form-data; name=\"targeting%5Bage_min%5D\"\r\n\r\n18\r\n-------------RubyMultipartPost\r\nContent-Disposition:
76
- form-data; name=\"targeting%5Bgeo_locations%5D%5Bcountries%5D%5B%5D\"\r\n\r\nUS\r\n-------------RubyMultipartPost\r\nContent-Disposition:
77
- form-data; name=\"tracking_specs%5B%5D%5Baction.type%5D%5B%5D\"\r\n\r\npost_engagement\r\n-------------RubyMultipartPost\r\nContent-Disposition:
78
- form-data; name=\"tracking_specs%5B%5D%5Bpage%5D%5B%5D\"\r\n\r\n250413944992062\r\n-------------RubyMultipartPost\r\nContent-Disposition:
79
- form-data; name=\"tracking_specs%5B%5D%5Bpost%5D%5B%5D\"\r\n\r\n882760995090684\r\n-------------RubyMultipartPost\r\nContent-Disposition:
80
- form-data; name=\"updated_time\"\r\n\r\n2014-12-17T14:21:59+0100\r\n-------------RubyMultipartPost\r\nContent-Disposition:
57
+ name=\"account_id\"\r\n\r\n367106653\r\n-------------RubyMultipartPost\r\nContent-Disposition:
58
+ form-data; name=\"campaign_id\"\r\n\r\n6024300272266\r\n-------------RubyMultipartPost\r\nContent-Disposition:
59
+ form-data; name=\"campaign_group_id\"\r\n\r\n6024300271066\r\n-------------RubyMultipartPost\r\nContent-Disposition:
60
+ form-data; name=\"created_time\"\r\n\r\n2015-04-15T01:31:52-0700\r\n-------------RubyMultipartPost\r\nContent-Disposition:
61
+ form-data; name=\"creative_ids\"\r\n\r\n6024299683866\r\n-------------RubyMultipartPost\r\nContent-Disposition:
62
+ form-data; name=\"name\"\r\n\r\nMy old name\r\n-------------RubyMultipartPost\r\nContent-Disposition:
63
+ form-data; name=\"tracking_specs%5B%5D%5Baction.type%5D%5B%5D\"\r\n\r\nlink_click\r\n-------------RubyMultipartPost\r\nContent-Disposition:
64
+ form-data; name=\"tracking_specs%5B%5D%5Bobject%5D%5B%5D\"\r\n\r\n10150219314478408\r\n-------------RubyMultipartPost\r\nContent-Disposition:
65
+ form-data; name=\"tracking_specs%5B%5D%5Baction.type%5D%5B%5D\"\r\n\r\nlike\r\n-------------RubyMultipartPost\r\nContent-Disposition:
66
+ form-data; name=\"tracking_specs%5B%5D%5Bpage%5D%5B%5D\"\r\n\r\n158352134203230\r\n-------------RubyMultipartPost\r\nContent-Disposition:
67
+ form-data; name=\"updated_time\"\r\n\r\n2015-04-15T01:31:52-0700\r\n-------------RubyMultipartPost\r\nContent-Disposition:
81
68
  form-data; name=\"redownload\"\r\n\r\n1\r\n-------------RubyMultipartPost\r\nContent-Disposition:
82
- form-data; name=\"access_token\"\r\n\r\nCAAEvJ5vzhl8BAICOwypV5nYnYWXhBq1eskHA7rKyrz9fXcAvKRXDWVZAaG7FpQ21qTXeCtGZCR7iu1dtZCqZCZBZCQbefKrMOnZAibDZAiQKiX0s22PgtKuCoQK4LDVimREnqkGdoLMyB4zgT3A6ZAU7pn6wc2mTzZBWVbkr71bZBJKjhyeb4V58TkMsUbN9SQer3ZCRRtWTxqNFTUwHuv51RoVsI7LNw0mCr5gZD\n\r\n-------------RubyMultipartPost--\r\n\r\n"
69
+ form-data; name=\"access_token\"\r\n\r\nFAKEACCESSTOKEN\r\n-------------RubyMultipartPost--\r\n\r\n"
83
70
  headers:
84
71
  User-Agent:
85
72
  - Faraday v0.8.9
86
73
  Content-Type:
87
74
  - multipart/form-data; boundary=-----------RubyMultipartPost
88
75
  Content-Length:
89
- - '2748'
76
+ - '1680'
90
77
  Accept:
91
78
  - ! '*/*'
92
79
  response:
@@ -94,73 +81,62 @@ http_interactions:
94
81
  code: 200
95
82
  message: OK
96
83
  headers:
97
- Facebook-Api-Version:
98
- - v1.0
99
84
  Content-Type:
100
85
  - application/json; charset=UTF-8
101
- Pragma:
102
- - no-cache
103
86
  Access-Control-Allow-Origin:
104
87
  - ! '*'
105
88
  X-Fb-Rev:
106
- - '1534884'
89
+ - '1690131'
90
+ Pragma:
91
+ - no-cache
107
92
  Cache-Control:
108
93
  - private, no-cache, no-store, must-revalidate
94
+ Facebook-Api-Version:
95
+ - v2.2
109
96
  Expires:
110
97
  - Sat, 01 Jan 2000 00:00:00 GMT
111
98
  X-Fb-Debug:
112
- - GWA1F0WL+zpThGYkDVXtMIDBvVHd/VHgPri7YBx+PM1GVwFeacmwvyVexCqsvt3J9u/lLX2UE/vzMLW1KwOZSA==
99
+ - ksW0cpllZdN+3QovP/nB/z8DLjtYyCUQ1Y8KQy1N92lKPgknwpJuy2daiRjWMMW40R+RNcb23EEM03D5Xq6DMg==
113
100
  Date:
114
- - Wed, 17 Dec 2014 13:22:09 GMT
115
- Transfer-Encoding:
116
- - chunked
101
+ - Wed, 15 Apr 2015 08:31:56 GMT
117
102
  Connection:
118
103
  - keep-alive
104
+ Content-Length:
105
+ - '961'
119
106
  body:
120
107
  encoding: US-ASCII
121
- string: ! '{"result":true,"data":{"adgroups":{"6021525861551":{"id":"6021525861551","account_id":"10150585630710217","adgroup_status":"ACTIVE","bid_info":{"CLICKS":1},"bid_type":"CPC","campaign_id":"6021525283751","creative_ids":["6021396606151"],"impression_control_map":[{"location":3,"control":{"impression_control_type":2,"user_impression_limit":6,"user_impression_limit_period":24,"user_impression_limit_period_unit":0}}],"last_updated_by_app_id":333322143368799,"locations":[3],"name":"My
122
- old name","objective":"WEBSITE_CLICKS","targeting":{"age_max":65,"age_min":18,"geo_locations":{"countries":["US"]}},"tracking_specs":[{"action.type":["post_engagement"],"page":[250413944992062],"post":[882760995090684]}],"updated_time":1418822529,"created_time":1418819398}},"creatives":{"6021396606151":{"id":"6021396606151","object_type":"SHARE","object_story_id":"250413944992062_882760995090684","object_story_spec":{"page_id":"250413944992062","link_data":{"link":"http:\/\/moviepilot.com\/","message":"Story
123
- message","name":"Link Name","caption":"Link Caption","description":"A description","picture":"http:\/\/graph.facebook.com\/moviepilotdotcom\/picture"}},"name":"Link
124
- Page Post Ad Creative"}}}}'
108
+ string: ! '{"result":{"success":true},"data":{"adgroups":{"6024300273866":{"id":"6024300273866","account_id":"367106653","adgroup_status":"PENDING_REVIEW","bid_info":{"CLICKS":1},"bid_type":"CPC","campaign_id":"6024300272266","creative_ids":["6024299683866"],"name":"My
109
+ old name","objective":"WEBSITE_CLICKS","targeting":{"age_max":65,"age_min":18,"geo_locations":{"countries":["US","GB"],"location_types":["home"]}},"tracking_specs":[{"action.type":["link_click"],"object":["10150219314478408"]},{"action.type":["like"],"page":["158352134203230"]}],"updated_time":1429086716,"created_time":1429086712}},"creatives":{"6024299683866":{"id":"6024299683866","body":"bloody
110
+ body","image_hash":"1040d95f6a3505d0da0c8502cc87376a","image_url":"https:\/\/fbcdn-creative-a.akamaihd.net\/hads-ak-xaf1\/t45.1600-4\/s110x80\/10736784_6024299683266_385998835_n.png","actor_id":"158352134203230","object_type":"DOMAIN","object_url":"http:\/\/moviepilot.com\/","title":"bloody
111
+ title"}}}}'
125
112
  http_version:
126
- recorded_at: Wed, 17 Dec 2014 13:22:09 GMT
113
+ recorded_at: Wed, 15 Apr 2015 08:31:58 GMT
127
114
  - request:
128
115
  method: post
129
- uri: https://graph.facebook.com/6021525861551
116
+ uri: https://graph.facebook.com/v2.2/6024300273866
130
117
  body:
131
118
  encoding: US-ASCII
132
119
  string: ! "-------------RubyMultipartPost\r\nContent-Disposition: form-data;
133
- name=\"account_id\"\r\n\r\n10150585630710217\r\n-------------RubyMultipartPost\r\nContent-Disposition:
134
- form-data; name=\"adgroup_status\"\r\n\r\nACTIVE\r\n-------------RubyMultipartPost\r\nContent-Disposition:
135
- form-data; name=\"bid_type\"\r\n\r\nCPC\r\n-------------RubyMultipartPost\r\nContent-Disposition:
136
- form-data; name=\"bid_info%5BCLICKS%5D\"\r\n\r\n1\r\n-------------RubyMultipartPost\r\nContent-Disposition:
137
- form-data; name=\"campaign_id\"\r\n\r\n6021525283751\r\n-------------RubyMultipartPost\r\nContent-Disposition:
138
- form-data; name=\"campaign_group_id\"\r\n\r\n6021499361751\r\n-------------RubyMultipartPost\r\nContent-Disposition:
139
- form-data; name=\"created_time\"\r\n\r\n1418819398\r\n-------------RubyMultipartPost\r\nContent-Disposition:
140
- form-data; name=\"creative_ids\"\r\n\r\n6021396606151\r\n-------------RubyMultipartPost\r\nContent-Disposition:
141
- form-data; name=\"failed_delivery_checks%5B%5D%5Bcheck_name%5D\"\r\n\r\nspending_limit_reached\r\n-------------RubyMultipartPost\r\nContent-Disposition:
142
- form-data; name=\"failed_delivery_checks%5B%5D%5Bdescription%5D\"\r\n\r\nYour
143
- ads aren't running because you've reached the spending limit you set for your
144
- ad account. To get your ads up and running please edit your spending limit.\r\n-------------RubyMultipartPost\r\nContent-Disposition:
145
- form-data; name=\"failed_delivery_checks%5B%5D%5Bsummary%5D\"\r\n\r\nSpending
146
- limit reached.\r\n-------------RubyMultipartPost\r\nContent-Disposition: form-data;
147
- name=\"name\"\r\n\r\nMy new name\r\n-------------RubyMultipartPost\r\nContent-Disposition:
148
- form-data; name=\"targeting%5Bage_max%5D\"\r\n\r\n65\r\n-------------RubyMultipartPost\r\nContent-Disposition:
149
- form-data; name=\"targeting%5Bage_min%5D\"\r\n\r\n18\r\n-------------RubyMultipartPost\r\nContent-Disposition:
150
- form-data; name=\"targeting%5Bgeo_locations%5D%5Bcountries%5D%5B%5D\"\r\n\r\nUS\r\n-------------RubyMultipartPost\r\nContent-Disposition:
151
- form-data; name=\"tracking_specs%5B%5D%5Baction.type%5D%5B%5D\"\r\n\r\npost_engagement\r\n-------------RubyMultipartPost\r\nContent-Disposition:
152
- form-data; name=\"tracking_specs%5B%5D%5Bpage%5D%5B%5D\"\r\n\r\n250413944992062\r\n-------------RubyMultipartPost\r\nContent-Disposition:
153
- form-data; name=\"tracking_specs%5B%5D%5Bpost%5D%5B%5D\"\r\n\r\n882760995090684\r\n-------------RubyMultipartPost\r\nContent-Disposition:
154
- form-data; name=\"updated_time\"\r\n\r\n1418822529\r\n-------------RubyMultipartPost\r\nContent-Disposition:
120
+ name=\"account_id\"\r\n\r\n367106653\r\n-------------RubyMultipartPost\r\nContent-Disposition:
121
+ form-data; name=\"campaign_id\"\r\n\r\n6024300272266\r\n-------------RubyMultipartPost\r\nContent-Disposition:
122
+ form-data; name=\"campaign_group_id\"\r\n\r\n6024300271066\r\n-------------RubyMultipartPost\r\nContent-Disposition:
123
+ form-data; name=\"created_time\"\r\n\r\n1429086712\r\n-------------RubyMultipartPost\r\nContent-Disposition:
124
+ form-data; name=\"creative_ids\"\r\n\r\n6024299683866\r\n-------------RubyMultipartPost\r\nContent-Disposition:
125
+ form-data; name=\"name\"\r\n\r\nMy new name\r\n-------------RubyMultipartPost\r\nContent-Disposition:
126
+ form-data; name=\"tracking_specs%5B%5D%5Baction.type%5D%5B%5D\"\r\n\r\nlink_click\r\n-------------RubyMultipartPost\r\nContent-Disposition:
127
+ form-data; name=\"tracking_specs%5B%5D%5Bobject%5D%5B%5D\"\r\n\r\n10150219314478408\r\n-------------RubyMultipartPost\r\nContent-Disposition:
128
+ form-data; name=\"tracking_specs%5B%5D%5Baction.type%5D%5B%5D\"\r\n\r\nlike\r\n-------------RubyMultipartPost\r\nContent-Disposition:
129
+ form-data; name=\"tracking_specs%5B%5D%5Bpage%5D%5B%5D\"\r\n\r\n158352134203230\r\n-------------RubyMultipartPost\r\nContent-Disposition:
130
+ form-data; name=\"updated_time\"\r\n\r\n1429086716\r\n-------------RubyMultipartPost\r\nContent-Disposition:
155
131
  form-data; name=\"redownload\"\r\n\r\n1\r\n-------------RubyMultipartPost\r\nContent-Disposition:
156
- form-data; name=\"access_token\"\r\n\r\nCAAEvJ5vzhl8BAICOwypV5nYnYWXhBq1eskHA7rKyrz9fXcAvKRXDWVZAaG7FpQ21qTXeCtGZCR7iu1dtZCqZCZBZCQbefKrMOnZAibDZAiQKiX0s22PgtKuCoQK4LDVimREnqkGdoLMyB4zgT3A6ZAU7pn6wc2mTzZBWVbkr71bZBJKjhyeb4V58TkMsUbN9SQer3ZCRRtWTxqNFTUwHuv51RoVsI7LNw0mCr5gZD\n\r\n-------------RubyMultipartPost--\r\n\r\n"
132
+ form-data; name=\"access_token\"\r\n\r\nFAKEACCESSTOKEN\r\n-------------RubyMultipartPost--\r\n\r\n"
157
133
  headers:
158
134
  User-Agent:
159
135
  - Faraday v0.8.9
160
136
  Content-Type:
161
137
  - multipart/form-data; boundary=-----------RubyMultipartPost
162
138
  Content-Length:
163
- - '2720'
139
+ - '1652'
164
140
  Accept:
165
141
  - ! '*/*'
166
142
  response:
@@ -168,39 +144,39 @@ http_interactions:
168
144
  code: 200
169
145
  message: OK
170
146
  headers:
171
- Facebook-Api-Version:
172
- - v1.0
173
147
  Content-Type:
174
148
  - application/json; charset=UTF-8
175
- Pragma:
176
- - no-cache
177
149
  Access-Control-Allow-Origin:
178
150
  - ! '*'
179
151
  X-Fb-Rev:
180
- - '1534884'
152
+ - '1690131'
153
+ Pragma:
154
+ - no-cache
181
155
  Cache-Control:
182
156
  - private, no-cache, no-store, must-revalidate
157
+ Facebook-Api-Version:
158
+ - v2.2
183
159
  Expires:
184
160
  - Sat, 01 Jan 2000 00:00:00 GMT
185
161
  X-Fb-Debug:
186
- - e9VBNYIQXRzzkBrZMvx+LJ8tmWUc7dOO0NeeQxAfvrdOkTnAbyH7xY9TQJ5K5jE6tmc/JdvoDgK9XU+xi3FSyg==
162
+ - 8KAMcBHqO9vio4zKIg/XGhxhjbMAeYkweVwnsHscu77WtNgFsbl0EedN9A/FY0xbFL7q0VCD10DEu1ZM6mpN1w==
187
163
  Date:
188
- - Wed, 17 Dec 2014 13:22:09 GMT
189
- Transfer-Encoding:
190
- - chunked
164
+ - Wed, 15 Apr 2015 08:31:56 GMT
191
165
  Connection:
192
166
  - keep-alive
167
+ Content-Length:
168
+ - '961'
193
169
  body:
194
170
  encoding: US-ASCII
195
- string: ! '{"result":true,"data":{"adgroups":{"6021525861551":{"id":"6021525861551","account_id":"10150585630710217","adgroup_status":"ACTIVE","bid_info":{"CLICKS":1},"bid_type":"CPC","campaign_id":"6021525283751","creative_ids":["6021396606151"],"impression_control_map":[{"location":3,"control":{"impression_control_type":2,"user_impression_limit":6,"user_impression_limit_period":24,"user_impression_limit_period_unit":0}}],"last_updated_by_app_id":333322143368799,"locations":[3],"name":"My
196
- new name","objective":"WEBSITE_CLICKS","targeting":{"age_max":65,"age_min":18,"geo_locations":{"countries":["US"]}},"tracking_specs":[{"action.type":["post_engagement"],"page":[250413944992062],"post":[882760995090684]}],"updated_time":1418822529,"created_time":1418819398}},"creatives":{"6021396606151":{"id":"6021396606151","object_type":"SHARE","object_story_id":"250413944992062_882760995090684","object_story_spec":{"page_id":"250413944992062","link_data":{"link":"http:\/\/moviepilot.com\/","message":"Story
197
- message","name":"Link Name","caption":"Link Caption","description":"A description","picture":"http:\/\/graph.facebook.com\/moviepilotdotcom\/picture"}},"name":"Link
198
- Page Post Ad Creative"}}}}'
171
+ string: ! '{"result":{"success":true},"data":{"adgroups":{"6024300273866":{"id":"6024300273866","account_id":"367106653","adgroup_status":"PENDING_REVIEW","bid_info":{"CLICKS":1},"bid_type":"CPC","campaign_id":"6024300272266","creative_ids":["6024299683866"],"name":"My
172
+ new name","objective":"WEBSITE_CLICKS","targeting":{"age_max":65,"age_min":18,"geo_locations":{"countries":["US","GB"],"location_types":["home"]}},"tracking_specs":[{"action.type":["link_click"],"object":["10150219314478408"]},{"action.type":["like"],"page":["158352134203230"]}],"updated_time":1429086716,"created_time":1429086712}},"creatives":{"6024299683866":{"id":"6024299683866","body":"bloody
173
+ body","image_hash":"1040d95f6a3505d0da0c8502cc87376a","image_url":"https:\/\/fbcdn-creative-a.akamaihd.net\/hads-ak-xaf1\/t45.1600-4\/s110x80\/10736784_6024299683266_385998835_n.png","actor_id":"158352134203230","object_type":"DOMAIN","object_url":"http:\/\/moviepilot.com\/","title":"bloody
174
+ title"}}}}'
199
175
  http_version:
200
- recorded_at: Wed, 17 Dec 2014 13:22:09 GMT
176
+ recorded_at: Wed, 15 Apr 2015 08:31:58 GMT
201
177
  - request:
202
178
  method: get
203
- uri: https://graph.facebook.com/6021525861551?access_token=CAAEvJ5vzhl8BAICOwypV5nYnYWXhBq1eskHA7rKyrz9fXcAvKRXDWVZAaG7FpQ21qTXeCtGZCR7iu1dtZCqZCZBZCQbefKrMOnZAibDZAiQKiX0s22PgtKuCoQK4LDVimREnqkGdoLMyB4zgT3A6ZAU7pn6wc2mTzZBWVbkr71bZBJKjhyeb4V58TkMsUbN9SQer3ZCRRtWTxqNFTUwHuv51RoVsI7LNw0mCr5gZD%0A&fields=id,account_id,adgroup_status,bid_type,bid_info,conversion_specs,campaign_id,campaign_group_id,conversion_specs,created_time,creative_ids,failed_delivery_checks,name,targeting,tracking_specs,updated_time,view_tags
179
+ uri: https://graph.facebook.com/v2.2/6024300273866?access_token=FAKEACCESSTOKEN&fields=id,account_id,conversion_specs,campaign_id,campaign_group_id,created_time,creative_ids,failed_delivery_checks,name,tracking_specs,updated_time
204
180
  body:
205
181
  encoding: US-ASCII
206
182
  string: ''
@@ -216,36 +192,34 @@ http_interactions:
216
192
  code: 200
217
193
  message: OK
218
194
  headers:
219
- Facebook-Api-Version:
220
- - v1.0
221
- Etag:
222
- - ! '"5423f9fadc4ef58a12502c9488d10c46cf68bbc2"'
223
195
  Content-Type:
224
196
  - application/json; charset=UTF-8
225
- Pragma:
226
- - no-cache
227
197
  Access-Control-Allow-Origin:
228
198
  - ! '*'
229
199
  X-Fb-Rev:
230
- - '1534884'
200
+ - '1690131'
201
+ Etag:
202
+ - ! '"fe55127ce103452457a6ccab694fd209f3a7b0d0"'
203
+ Pragma:
204
+ - no-cache
231
205
  Cache-Control:
232
206
  - private, no-cache, no-store, must-revalidate
207
+ Facebook-Api-Version:
208
+ - v2.2
233
209
  Expires:
234
210
  - Sat, 01 Jan 2000 00:00:00 GMT
235
211
  X-Fb-Debug:
236
- - 7NeKo0i9ZyLfFr6jSXbBIdm62OVKsIoLREg80Z2VAq713FZ5Z8/Y+Y2uDY7S+uuwedaagO/lm9HHnKZ6lS5wiw==
212
+ - tozkzbCDGh8xmZcL8nCk5F1dh+M5acP2zfI65+MG7o2G0KhjS0kMP4dygHc315X6MqRTuBrX1wP2UrJuyFhcsA==
237
213
  Date:
238
- - Wed, 17 Dec 2014 13:28:46 GMT
214
+ - Wed, 15 Apr 2015 08:31:57 GMT
239
215
  Connection:
240
216
  - keep-alive
241
217
  Content-Length:
242
- - '786'
218
+ - '384'
243
219
  body:
244
220
  encoding: US-ASCII
245
- string: ! '{"id":"6021525861551","account_id":"10150585630710217","adgroup_status":"ACTIVE","bid_type":"CPC","bid_info":{"CLICKS":1},"campaign_id":"6021525283751","campaign_group_id":"6021499361751","created_time":"2014-12-17T13:29:58+0100","creative_ids":["6021396606151"],"failed_delivery_checks":[{"check_name":"spending_limit_reached","description":"Your
246
- ads aren''t running because you''ve reached the spending limit you set for
247
- your ad account. To get your ads up and running please edit your spending
248
- limit.","summary":"Spending limit reached."}],"name":"My new name","targeting":{"age_max":65,"age_min":18,"geo_locations":{"countries":["US"]}},"tracking_specs":[{"action.type":["post_engagement"],"page":[250413944992062],"post":[882760995090684]}],"updated_time":"2014-12-17T14:22:09+0100"}'
221
+ string: ! '{"id":"6024300273866","account_id":"367106653","campaign_id":"6024300272266","campaign_group_id":"6024300271066","created_time":"2015-04-15T01:31:52-0700","creative_ids":["6024299683866"],"name":"My
222
+ new name","tracking_specs":[{"action.type":["link_click"],"object":["10150219314478408"]},{"action.type":["like"],"page":["158352134203230"]}],"updated_time":"2015-04-15T01:31:56-0700"}'
249
223
  http_version:
250
- recorded_at: Wed, 17 Dec 2014 13:28:46 GMT
224
+ recorded_at: Wed, 15 Apr 2015 08:31:58 GMT
251
225
  recorded_with: VCR 2.3.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://graph.facebook.com/me/adaccounts?access_token=CAAEvJ5vzhl8BANgaZCvjMZCRsIbNZCSPswoDM0MTx8g30ojs53HUp43aVBVdqHnu9kIFytWIR5oRfp1Sy8DZBtJ9p5Rw2kY93ZAu6EwzHqZCrjmeBxXBWWlMCty1Bg4zKc3abdbjgoX4fWP4NWCEyWZCFJBKXWR0WV3ZC63bSqw7ojzYJm4teOarRc1GaesGIlIKlZB6s7EwZA1qUZCCKsdZCSsq%0A&fields=
5
+ uri: https://graph.facebook.com/v2.2/me/adaccounts?access_token=FAKEACCESSTOKEN&fields=
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -18,80 +18,33 @@ http_interactions:
18
18
  code: 200
19
19
  message: OK
20
20
  headers:
21
- Facebook-Api-Version:
22
- - v1.0
23
- Etag:
24
- - ! '"9e0e52e054900bf35ae80d9e1371ce7830cbfa3b"'
25
21
  Content-Type:
26
22
  - application/json; charset=UTF-8
27
- Pragma:
28
- - no-cache
29
23
  Access-Control-Allow-Origin:
30
24
  - ! '*'
31
25
  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
- - cs1pRt8I8f0pkHFljENvAuETGJ0uqSPMlypx7FL+Met0zrsx0zgFBzexwTCiD8vqBW9Vl57uzxkVf8bSdGXUVg==
39
- Date:
40
- - Wed, 17 Dec 2014 12:36:34 GMT
41
- Connection:
42
- - keep-alive
43
- Content-Length:
44
- - '224'
45
- body:
46
- encoding: US-ASCII
47
- string: ! '{"data":[{"account_id":"10150285707018400","id":"act_10150285707018400"},{"account_id":"10150585630710217","id":"act_10150585630710217"}],"paging":{"cursors":{"after":"NjAwMzEyNDAwNDU1MQ==","before":"NjAwMzMxMzgxMjc1MA=="}}}'
48
- http_version:
49
- recorded_at: Wed, 17 Dec 2014 12:36:34 GMT
50
- - request:
51
- method: get
52
- uri: https://graph.facebook.com/me/adaccounts?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
26
+ - '1690131'
70
27
  Etag:
71
- - ! '"9e0e52e054900bf35ae80d9e1371ce7830cbfa3b"'
72
- Content-Type:
73
- - application/json; charset=UTF-8
28
+ - ! '"bd8f2b4cf7220fac541903b485b41f60702c1adc"'
74
29
  Pragma:
75
30
  - no-cache
76
- Access-Control-Allow-Origin:
77
- - ! '*'
78
- X-Fb-Rev:
79
- - '1534884'
80
31
  Cache-Control:
81
32
  - private, no-cache, no-store, must-revalidate
33
+ Facebook-Api-Version:
34
+ - v2.2
82
35
  Expires:
83
36
  - Sat, 01 Jan 2000 00:00:00 GMT
84
37
  X-Fb-Debug:
85
- - LLVog087DMBnQEj4wLR8cdI/g4BesdpBvxWqnzySuXiU83S/Ff+78bP/1M2QavwR4Q61M6YaZR+q55f6g8TCXw==
38
+ - dXA73pglOr+Bl392CP8HTFDGWpG0pUv6z7sVDJ4VjENqUMgIfYTnn9TY9KDtAvzQT3MO4hZcLizQggbD6vTqLw==
86
39
  Date:
87
- - Wed, 17 Dec 2014 13:22:05 GMT
40
+ - Wed, 15 Apr 2015 08:31:53 GMT
88
41
  Connection:
89
42
  - keep-alive
90
43
  Content-Length:
91
- - '224'
44
+ - '144'
92
45
  body:
93
46
  encoding: US-ASCII
94
- string: ! '{"data":[{"account_id":"10150285707018400","id":"act_10150285707018400"},{"account_id":"10150585630710217","id":"act_10150585630710217"}],"paging":{"cursors":{"after":"NjAwMzEyNDAwNDU1MQ==","before":"NjAwMzMxMzgxMjc1MA=="}}}'
47
+ string: ! '{"data":[{"account_id":"367106653","id":"act_367106653"}],"paging":{"cursors":{"before":"NjAwMzM3NDgzNjg2Ng==","after":"NjAwMzM3NDgzNjg2Ng=="}}}'
95
48
  http_version:
96
- recorded_at: Wed, 17 Dec 2014 13:22:05 GMT
49
+ recorded_at: Wed, 15 Apr 2015 08:31:55 GMT
97
50
  recorded_with: VCR 2.3.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://graph.facebook.com/act_10150585630710217/adcampaign_groups?access_token=CAAEvJ5vzhl8BANgaZCvjMZCRsIbNZCSPswoDM0MTx8g30ojs53HUp43aVBVdqHnu9kIFytWIR5oRfp1Sy8DZBtJ9p5Rw2kY93ZAu6EwzHqZCrjmeBxXBWWlMCty1Bg4zKc3abdbjgoX4fWP4NWCEyWZCFJBKXWR0WV3ZC63bSqw7ojzYJm4teOarRc1GaesGIlIKlZB6s7EwZA1qUZCCKsdZCSsq%0A&fields=
5
+ uri: https://graph.facebook.com/v2.2/act_367106653/adcampaign_groups?access_token=FAKEACCESSTOKEN&fields=
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -18,80 +18,33 @@ http_interactions:
18
18
  code: 200
19
19
  message: OK
20
20
  headers:
21
- Facebook-Api-Version:
22
- - v1.0
23
- Etag:
24
- - ! '"9f3290adf7bf50479029ce60a076a6a7ca57c829"'
25
21
  Content-Type:
26
22
  - application/json; charset=UTF-8
27
- Pragma:
28
- - no-cache
29
23
  Access-Control-Allow-Origin:
30
24
  - ! '*'
31
25
  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'
45
- body:
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
26
+ - '1690131'
70
27
  Etag:
71
- - ! '"a46b796bf7eaf0370d3ef015ff4e070dee8b34a6"'
72
- Content-Type:
73
- - application/json; charset=UTF-8
28
+ - ! '"74344c922e5b29d4ad0c81cc21d7c136155e3656"'
74
29
  Pragma:
75
30
  - no-cache
76
- Access-Control-Allow-Origin:
77
- - ! '*'
78
- X-Fb-Rev:
79
- - '1534884'
80
31
  Cache-Control:
81
32
  - private, no-cache, no-store, must-revalidate
33
+ Facebook-Api-Version:
34
+ - v2.2
82
35
  Expires:
83
36
  - Sat, 01 Jan 2000 00:00:00 GMT
84
37
  X-Fb-Debug:
85
- - Twi7eFEpMQ7dtknBPJczL2ZhTma1iqXW37j34cJwqytRkmkiJv74xCkNSvJ9GKMvzweApFzlUnMmr6wqrRP8Mw==
38
+ - RR2JEoloCcMLY5fMy19zjAzG6VBG8FMhmfpA69WPKFuTYtdJSIxsGc7bjcQ3uehFe0Va60mVEkOVNdwu27Ic+A==
86
39
  Date:
87
- - Wed, 17 Dec 2014 13:22:05 GMT
40
+ - Wed, 15 Apr 2015 08:31:53 GMT
88
41
  Connection:
89
42
  - keep-alive
90
43
  Content-Length:
91
- - '648'
44
+ - '142'
92
45
  body:
93
46
  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=="}}}'
47
+ string: ! '{"data":[{"id":"6024300270466"},{"id":"6024300271066"}],"paging":{"cursors":{"before":"NjAyNDMwMDI3MDQ2Ng==","after":"NjAyNDMwMDI3MTA2Ng=="}}}'
95
48
  http_version:
96
- recorded_at: Wed, 17 Dec 2014 13:22:05 GMT
49
+ recorded_at: Wed, 15 Apr 2015 08:31:55 GMT
97
50
  recorded_with: VCR 2.3.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://graph.facebook.com/6010889169151/adcreatives?access_token=CAAEvJ5vzhl8BANgaZCvjMZCRsIbNZCSPswoDM0MTx8g30ojs53HUp43aVBVdqHnu9kIFytWIR5oRfp1Sy8DZBtJ9p5Rw2kY93ZAu6EwzHqZCrjmeBxXBWWlMCty1Bg4zKc3abdbjgoX4fWP4NWCEyWZCFJBKXWR0WV3ZC63bSqw7ojzYJm4teOarRc1GaesGIlIKlZB6s7EwZA1qUZCCKsdZCSsq%0A&fields=
5
+ uri: https://graph.facebook.com/v2.2/6024300273866/adcreatives?access_token=FAKEACCESSTOKEN&fields=
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -18,80 +18,33 @@ 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
21
  Content-Type:
26
22
  - application/json; charset=UTF-8
27
- Pragma:
28
- - no-cache
29
23
  Access-Control-Allow-Origin:
30
24
  - ! '*'
31
25
  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
- - 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
26
+ - '1690131'
70
27
  Etag:
71
- - ! '"9818afb0fc3be647821cb978d9dec1afcfa6cdc6"'
72
- Content-Type:
73
- - application/json; charset=UTF-8
28
+ - ! '"4fb30dfde07feecc5db97d66857e2cc2c36a316d"'
74
29
  Pragma:
75
30
  - no-cache
76
- Access-Control-Allow-Origin:
77
- - ! '*'
78
- X-Fb-Rev:
79
- - '1534884'
80
31
  Cache-Control:
81
32
  - private, no-cache, no-store, must-revalidate
33
+ Facebook-Api-Version:
34
+ - v2.2
82
35
  Expires:
83
36
  - Sat, 01 Jan 2000 00:00:00 GMT
84
37
  X-Fb-Debug:
85
- - /OJJwpvUT1P+qbKqAugkaGlbjSbKgRbtul+E8rWLDvCLR7xwOns/HN/mLngby00pcvLJ5I12LMvnZAsTzVrQpg==
38
+ - fo9Kf24iNKJ+w0xvuBKIc3kuY03Y9Y++7l0Z7ZPThE5VvEwbzvkyGIJnDWxtdf8iqUYYLKmCRJ4GtRQIxgAGuw==
86
39
  Date:
87
- - Wed, 17 Dec 2014 13:22:06 GMT
40
+ - Wed, 15 Apr 2015 08:31:54 GMT
88
41
  Connection:
89
42
  - keep-alive
90
43
  Content-Length:
91
44
  - '33'
92
45
  body:
93
46
  encoding: US-ASCII
94
- string: ! '{"data":[{"id":"6010888561951"}]}'
47
+ string: ! '{"data":[{"id":"6024299683866"}]}'
95
48
  http_version:
96
- recorded_at: Wed, 17 Dec 2014 13:22:06 GMT
49
+ recorded_at: Wed, 15 Apr 2015 08:31:56 GMT
97
50
  recorded_with: VCR 2.3.0