zuck 2.1.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +8 -8
  2. data/.ruby-version +1 -0
  3. data/CHANGELOG.markdown +7 -0
  4. data/VERSION +1 -1
  5. data/lib/zuck.rb +4 -4
  6. data/lib/zuck/facebook/ad_account.rb +0 -1
  7. data/lib/zuck/facebook/ad_creative.rb +0 -2
  8. data/lib/zuck/facebook/ad_group.rb +5 -8
  9. data/lib/zuck/facebook/ad_set.rb +1 -1
  10. data/spec/fixtures/a_single_account.yml +28 -28
  11. data/spec/fixtures/a_single_campaign.yml +14 -12
  12. data/spec/fixtures/a_single_group.yml +13 -11
  13. data/spec/fixtures/ad_interest_search_disney.yml +61 -35
  14. data/spec/fixtures/ad_interest_search_moviepilot.yml +59 -31
  15. data/spec/fixtures/ad_interest_search_nonexistant.yml +10 -8
  16. data/spec/fixtures/create_a_creative.yml +11 -9
  17. data/spec/fixtures/create_ad_campaign.yml +48 -40
  18. data/spec/fixtures/create_ad_group.yml +17 -13
  19. data/spec/fixtures/create_ad_set.yml +14 -12
  20. data/spec/fixtures/delete_ad_group.yml +11 -9
  21. data/spec/fixtures/delete_ad_set.yml +11 -9
  22. data/spec/fixtures/delete_campaign.yml +22 -18
  23. data/spec/fixtures/delete_creative.yml +11 -9
  24. data/spec/fixtures/find_a_single_group_and_update_it.yml +98 -64
  25. data/spec/fixtures/list_of_ad_accounts.yml +13 -11
  26. data/spec/fixtures/list_of_ad_campaigns.yml +13 -11
  27. data/spec/fixtures/list_of_ad_creatives.yml +10 -8
  28. data/spec/fixtures/list_of_ad_groups.yml +13 -11
  29. data/spec/fixtures/list_of_all_ad_creatives_of_account.yml +13 -11
  30. data/spec/fixtures/reach_for_invalid_interest.yml +29 -23
  31. data/spec/fixtures/reach_for_valid_keywords.yml +13 -11
  32. data/spec/fixtures/reach_for_valid_keywords_male_young.yml +13 -11
  33. data/spec/lib/zuck/facebook/ad_interest_spec.rb +1 -1
  34. data/spec/lib/zuck/facebook/targeting_spec_spec.rb +29 -25
  35. data/spec/lib/zuck_spec.rb +11 -6
  36. data/spec/spec_helper.rb +7 -1
  37. data/test_access_token +1 -1
  38. data/zuck.gemspec +4 -4
  39. metadata +3 -3
  40. data/.rvmrc +0 -1
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://graph.facebook.com/v2.2/me/adaccounts?access_token=FAKEACCESSTOKEN&fields=
5
+ uri: https://graph.facebook.com/v2.4/me/adaccounts?access_token=DUMMY_TOKEN&fields=
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -18,33 +18,35 @@ http_interactions:
18
18
  code: 200
19
19
  message: OK
20
20
  headers:
21
- Content-Type:
22
- - application/json; charset=UTF-8
23
21
  Access-Control-Allow-Origin:
24
22
  - ! '*'
23
+ Content-Type:
24
+ - application/json; charset=UTF-8
25
+ X-Fb-Trace-Id:
26
+ - Co+ZGVxk0M7
25
27
  X-Fb-Rev:
26
- - '1690131'
28
+ - '1928154'
27
29
  Etag:
28
- - ! '"bd8f2b4cf7220fac541903b485b41f60702c1adc"'
30
+ - ! '"e30da8e35686b2f69655b1c416256e9e8041c655"'
29
31
  Pragma:
30
32
  - no-cache
31
33
  Cache-Control:
32
34
  - private, no-cache, no-store, must-revalidate
33
35
  Facebook-Api-Version:
34
- - v2.2
36
+ - v2.4
35
37
  Expires:
36
38
  - Sat, 01 Jan 2000 00:00:00 GMT
37
39
  X-Fb-Debug:
38
- - dXA73pglOr+Bl392CP8HTFDGWpG0pUv6z7sVDJ4VjENqUMgIfYTnn9TY9KDtAvzQT3MO4hZcLizQggbD6vTqLw==
40
+ - j5Iz8qctkVFi5mQ0BuZQvMF8gBQH5lbx9Y6zkxo9el58VbLw9MjfTJHBGLrG4XlIinbaMtgwTMGcc6oSbio1Ow==
39
41
  Date:
40
- - Wed, 15 Apr 2015 08:31:53 GMT
42
+ - Thu, 10 Sep 2015 09:47:26 GMT
41
43
  Connection:
42
44
  - keep-alive
43
45
  Content-Length:
44
- - '144'
46
+ - '148'
45
47
  body:
46
48
  encoding: US-ASCII
47
- string: ! '{"data":[{"account_id":"367106653","id":"act_367106653"}],"paging":{"cursors":{"before":"NjAwMzM3NDgzNjg2Ng==","after":"NjAwMzM3NDgzNjg2Ng=="}}}'
49
+ string: ! '{"data":[{"account_id":"367106653","id":"act_367106653"}],"paging":{"cursors":{"before":"NjAwMzM3NDgzNjg2NgZDZD","after":"NjAwMzM3NDgzNjg2NgZDZD"}}}'
48
50
  http_version:
49
- recorded_at: Wed, 15 Apr 2015 08:31:55 GMT
51
+ recorded_at: Thu, 10 Sep 2015 09:47:26 GMT
50
52
  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/v2.2/act_367106653/adcampaign_groups?access_token=FAKEACCESSTOKEN&fields=
5
+ uri: https://graph.facebook.com/v2.4/act_367106653/adcampaign_groups?access_token=DUMMY_TOKEN&fields=
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -18,33 +18,35 @@ http_interactions:
18
18
  code: 200
19
19
  message: OK
20
20
  headers:
21
- Content-Type:
22
- - application/json; charset=UTF-8
23
21
  Access-Control-Allow-Origin:
24
22
  - ! '*'
23
+ Content-Type:
24
+ - application/json; charset=UTF-8
25
+ X-Fb-Trace-Id:
26
+ - HMtTb6QMwKO
25
27
  X-Fb-Rev:
26
- - '1690131'
28
+ - '1928154'
27
29
  Etag:
28
- - ! '"74344c922e5b29d4ad0c81cc21d7c136155e3656"'
30
+ - ! '"6f561e19412563a917e48b9fbfc00cf3dd7ad95f"'
29
31
  Pragma:
30
32
  - no-cache
31
33
  Cache-Control:
32
34
  - private, no-cache, no-store, must-revalidate
33
35
  Facebook-Api-Version:
34
- - v2.2
36
+ - v2.4
35
37
  Expires:
36
38
  - Sat, 01 Jan 2000 00:00:00 GMT
37
39
  X-Fb-Debug:
38
- - RR2JEoloCcMLY5fMy19zjAzG6VBG8FMhmfpA69WPKFuTYtdJSIxsGc7bjcQ3uehFe0Va60mVEkOVNdwu27Ic+A==
40
+ - rn/L0D2XQeCDnak4xZKAtGR1XvR0uzeTu/81g6EbNtGxYtXV6caUfNa/ykYHN6NtAYBnVZSvLYE0jjzNlJi6LA==
39
41
  Date:
40
- - Wed, 15 Apr 2015 08:31:53 GMT
42
+ - Thu, 10 Sep 2015 09:47:27 GMT
41
43
  Connection:
42
44
  - keep-alive
43
45
  Content-Length:
44
- - '142'
46
+ - '146'
45
47
  body:
46
48
  encoding: US-ASCII
47
- string: ! '{"data":[{"id":"6024300270466"},{"id":"6024300271066"}],"paging":{"cursors":{"before":"NjAyNDMwMDI3MDQ2Ng==","after":"NjAyNDMwMDI3MTA2Ng=="}}}'
49
+ string: ! '{"data":[{"id":"6029725594066"},{"id":"6029725593266"}],"paging":{"cursors":{"before":"NjAyOTcyNTU5NDA2NgZDZD","after":"NjAyOTcyNTU5MzI2NgZDZD"}}}'
48
50
  http_version:
49
- recorded_at: Wed, 15 Apr 2015 08:31:55 GMT
51
+ recorded_at: Thu, 10 Sep 2015 09:47:27 GMT
50
52
  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/v2.2/6024300273866/adcreatives?access_token=FAKEACCESSTOKEN&fields=
5
+ uri: https://graph.facebook.com/v2.4/6029725596866/adcreatives?access_token=DUMMY_TOKEN&fields=
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -18,12 +18,14 @@ http_interactions:
18
18
  code: 200
19
19
  message: OK
20
20
  headers:
21
- Content-Type:
22
- - application/json; charset=UTF-8
23
21
  Access-Control-Allow-Origin:
24
22
  - ! '*'
23
+ Content-Type:
24
+ - application/json; charset=UTF-8
25
+ X-Fb-Trace-Id:
26
+ - Es3LLC9AijT
25
27
  X-Fb-Rev:
26
- - '1690131'
28
+ - '1928154'
27
29
  Etag:
28
30
  - ! '"4fb30dfde07feecc5db97d66857e2cc2c36a316d"'
29
31
  Pragma:
@@ -31,13 +33,13 @@ http_interactions:
31
33
  Cache-Control:
32
34
  - private, no-cache, no-store, must-revalidate
33
35
  Facebook-Api-Version:
34
- - v2.2
36
+ - v2.4
35
37
  Expires:
36
38
  - Sat, 01 Jan 2000 00:00:00 GMT
37
39
  X-Fb-Debug:
38
- - fo9Kf24iNKJ+w0xvuBKIc3kuY03Y9Y++7l0Z7ZPThE5VvEwbzvkyGIJnDWxtdf8iqUYYLKmCRJ4GtRQIxgAGuw==
40
+ - YUBJxFqhPy84y1+AONTrN2XgQiDZwgX5ImI6nJaPf2tyvUHGRgiY82ZsE4YLpsP6YSbePXWCIYjHn+T93LSANA==
39
41
  Date:
40
- - Wed, 15 Apr 2015 08:31:54 GMT
42
+ - Thu, 10 Sep 2015 09:47:27 GMT
41
43
  Connection:
42
44
  - keep-alive
43
45
  Content-Length:
@@ -46,5 +48,5 @@ http_interactions:
46
48
  encoding: US-ASCII
47
49
  string: ! '{"data":[{"id":"6024299683866"}]}'
48
50
  http_version:
49
- recorded_at: Wed, 15 Apr 2015 08:31:56 GMT
51
+ recorded_at: Thu, 10 Sep 2015 09:47:27 GMT
50
52
  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/v2.2/6024300271066/adgroups?access_token=FAKEACCESSTOKEN&fields=
5
+ uri: https://graph.facebook.com/v2.4/6029725594066/adgroups?access_token=DUMMY_TOKEN&fields=
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -18,33 +18,35 @@ http_interactions:
18
18
  code: 200
19
19
  message: OK
20
20
  headers:
21
- Content-Type:
22
- - application/json; charset=UTF-8
23
21
  Access-Control-Allow-Origin:
24
22
  - ! '*'
23
+ Content-Type:
24
+ - application/json; charset=UTF-8
25
+ X-Fb-Trace-Id:
26
+ - EruXz+sntUe
25
27
  X-Fb-Rev:
26
- - '1690131'
28
+ - '1928154'
27
29
  Etag:
28
- - ! '"993fdf09a2e1595d6c573fe8d59352a2a6ba7a08"'
30
+ - ! '"4c90be3d95e94dc7eb918a75f7dd9fc412cedc54"'
29
31
  Pragma:
30
32
  - no-cache
31
33
  Cache-Control:
32
34
  - private, no-cache, no-store, must-revalidate
33
35
  Facebook-Api-Version:
34
- - v2.2
36
+ - v2.4
35
37
  Expires:
36
38
  - Sat, 01 Jan 2000 00:00:00 GMT
37
39
  X-Fb-Debug:
38
- - t0z8hIgbn2xtkuyMmTQfd65Ij5mCrFwhVZq4OcK3iogQEV4/5v42jDROmAav8Gj7w0Mvwl3aAG32zQac//JVSw==
40
+ - AHEu9HDXujtXs4Xs3jkhUyvOVwSjnPUCyfHuBSbBPECz/svN0JDZlygbl3KHAweAV5oqMr+hK0we6/79cXPKMQ==
39
41
  Date:
40
- - Wed, 15 Apr 2015 08:31:53 GMT
42
+ - Thu, 10 Sep 2015 09:47:27 GMT
41
43
  Connection:
42
44
  - keep-alive
43
45
  Content-Length:
44
- - '119'
46
+ - '123'
45
47
  body:
46
48
  encoding: US-ASCII
47
- string: ! '{"data":[{"id":"6024300273866"}],"paging":{"cursors":{"before":"NjAyNDMwMDI3Mzg2Ng==","after":"NjAyNDMwMDI3Mzg2Ng=="}}}'
49
+ string: ! '{"data":[{"id":"6029725596866"}],"paging":{"cursors":{"before":"NjAyOTcyNTU5Njg2NgZDZD","after":"NjAyOTcyNTU5Njg2NgZDZD"}}}'
48
50
  http_version:
49
- recorded_at: Wed, 15 Apr 2015 08:31:55 GMT
51
+ recorded_at: Thu, 10 Sep 2015 09:47:27 GMT
50
52
  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/v2.2/act_367106653/adcreatives?access_token=FAKEACCESSTOKEN&fields=
5
+ uri: https://graph.facebook.com/v2.4/act_367106653/adcreatives?access_token=DUMMY_TOKEN&fields=
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -18,33 +18,35 @@ http_interactions:
18
18
  code: 200
19
19
  message: OK
20
20
  headers:
21
- Content-Type:
22
- - application/json; charset=UTF-8
23
21
  Access-Control-Allow-Origin:
24
22
  - ! '*'
23
+ Content-Type:
24
+ - application/json; charset=UTF-8
25
+ X-Fb-Trace-Id:
26
+ - GzHpUtyj9NT
25
27
  X-Fb-Rev:
26
- - '1690131'
28
+ - '1928154'
27
29
  Etag:
28
- - ! '"519ca91275b41e340470774231c7ba9eed88d765"'
30
+ - ! '"b10464c294f115ecb7de931a64b7fca56d48725e"'
29
31
  Pragma:
30
32
  - no-cache
31
33
  Cache-Control:
32
34
  - private, no-cache, no-store, must-revalidate
33
35
  Facebook-Api-Version:
34
- - v2.2
36
+ - v2.4
35
37
  Expires:
36
38
  - Sat, 01 Jan 2000 00:00:00 GMT
37
39
  X-Fb-Debug:
38
- - xZV92oRWjdgT3+7afcWabLUfTdS2N59ELaMmDIjj/+qlQxKQtw+SScoQHvQKBaCr9vhKva61j8UHfqSjbFwTHg==
40
+ - Ri2nsny6G/o/RPiv2llXo9fqzCzaR2y9tT05hX/H8x++iKGpsriueYAcy/NLx6sXJgpyFv6w0WL5unAae+CnpA==
39
41
  Date:
40
- - Wed, 15 Apr 2015 08:31:54 GMT
42
+ - Thu, 10 Sep 2015 09:47:27 GMT
41
43
  Connection:
42
44
  - keep-alive
43
45
  Content-Length:
44
- - '119'
46
+ - '123'
45
47
  body:
46
48
  encoding: US-ASCII
47
- string: ! '{"data":[{"id":"6024299683866"}],"paging":{"cursors":{"before":"NjAyNDI5OTY4Mzg2Ng==","after":"NjAyNDI5OTY4Mzg2Ng=="}}}'
49
+ string: ! '{"data":[{"id":"6024299683866"}],"paging":{"cursors":{"before":"NjAyNDI5OTY4Mzg2NgZDZD","after":"NjAyNDI5OTY4Mzg2NgZDZD"}}}'
48
50
  http_version:
49
- recorded_at: Wed, 15 Apr 2015 08:31:56 GMT
51
+ recorded_at: Thu, 10 Sep 2015 09:47:27 GMT
50
52
  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/v2.2/search?access_token=CAAEvJ5vzhl8BAPGZCZCPL4FxryEHXGxPCuCGeqe3PEWIjhIvJ00HB8PPpokFmUkemvmEUHirqdNMc7zIDLSTVnX6jTQjAgSlzcYrAYJRQ32fr6RM5ZAnKPdgFEwN5tgvswatXZAI4vu7ZBAQexRl9MU0CpwW7JDDBZAGo5XDrCKrBxkUUWJUvh&q=Eminem&type=adinterest
5
+ uri: https://graph.facebook.com/v2.4/search?access_token=DUMMY_TOKEN&q=Eminem&type=adinterest
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -18,42 +18,46 @@ http_interactions:
18
18
  code: 200
19
19
  message: OK
20
20
  headers:
21
- Content-Type:
22
- - application/json; charset=UTF-8
23
21
  Access-Control-Allow-Origin:
24
22
  - ! '*'
23
+ Content-Type:
24
+ - application/json; charset=UTF-8
25
+ X-Fb-Trace-Id:
26
+ - A54DuNc9z1W
25
27
  X-Fb-Rev:
26
- - '1690131'
28
+ - '1928154'
27
29
  Etag:
28
- - ! '"8a79bf5673dcfc21554b3bdb9fca30b52f467a2a"'
30
+ - ! '"99dacd26b80551044d5f6dfe94706a9ba419bf3d"'
29
31
  Pragma:
30
32
  - no-cache
31
33
  Cache-Control:
32
34
  - private, no-cache, no-store, must-revalidate
33
35
  Facebook-Api-Version:
34
- - v2.2
36
+ - v2.4
35
37
  Expires:
36
38
  - Sat, 01 Jan 2000 00:00:00 GMT
37
39
  X-Fb-Debug:
38
- - lCyUeevTwFibTPZqstUHyZXhmamylGB/PQ67RhWOVt4rUIbiwWsqeOuVfbCl9dOfAuBfX9T2B4Kr4sHMuTyKQQ==
40
+ - 9wqN/wuspAAdIN1bzeQxWqa3E7+S0+DJoFYZpTU7S9GJMgs4ym0z7tKlykJcBwUtvNaESLL8WvpneiuZbe81aA==
39
41
  Date:
40
- - Wed, 15 Apr 2015 08:31:45 GMT
42
+ - Thu, 10 Sep 2015 09:47:15 GMT
41
43
  Connection:
42
44
  - keep-alive
43
45
  Content-Length:
44
- - '798'
46
+ - '988'
45
47
  body:
46
48
  encoding: US-ASCII
47
- string: ! '{"data":[{"id":"6003135347608","name":"Eminem","audience_size":119611820,"path":[],"description":null},{"id":"6003250214311","name":"The
48
- Eminem Show","audience_size":77447340,"path":[],"description":null},{"id":"6003489780564","name":"Recovery
49
- (Eminem album)","audience_size":77945310,"path":[],"description":null},{"id":"6003902302066","name":"Feud","audience_size":3491280,"path":[],"description":null},{"id":"6003170652434","name":"eminem","audience_size":78202590,"path":[],"description":null},{"id":"6003128077124","name":"Love
50
- the Way You Lie","audience_size":1633850,"path":[],"description":null},{"id":"6004703849336","name":"Hip
51
- hop feud","audience_size":1531490,"path":[],"description":null},{"id":"6004151469695","name":"em\u0131nem","audience_size":51952,"path":[],"description":null}]}'
49
+ string: ! '{"data":[{"id":"6003135347608","name":"Eminem","audience_size":108684220,"path":[],"description":null,"topic":"People"},{"id":"6003170652434","name":"eminem","audience_size":75072420,"path":[],"description":null,"topic":"News
50
+ and entertainment"},{"id":"6003489780564","name":"Recovery (Eminem album)","audience_size":74537730,"path":[],"description":null,"topic":"News
51
+ and entertainment"},{"id":"6003250214311","name":"The Eminem Show","audience_size":74333480,"path":[],"description":null,"topic":"News
52
+ and entertainment"},{"id":"6004596403706","name":"eminem fans","audience_size":1183330,"path":[],"description":null,"topic":"News
53
+ and entertainment"},{"id":"6003291289702","name":"eminem lovers","audience_size":1030710,"path":[],"description":null},{"id":"6017042219356","name":"eminem
54
+ forever blog","audience_size":753610,"path":[],"description":null,"topic":"News
55
+ and entertainment"},{"id":"6003455354537","name":"eminem world","audience_size":644310,"path":[],"description":null}]}'
52
56
  http_version:
53
- recorded_at: Wed, 15 Apr 2015 08:31:47 GMT
57
+ recorded_at: Thu, 10 Sep 2015 09:47:15 GMT
54
58
  - request:
55
59
  method: get
56
- uri: https://graph.facebook.com/v2.2/search?access_token=CAAEvJ5vzhl8BAPGZCZCPL4FxryEHXGxPCuCGeqe3PEWIjhIvJ00HB8PPpokFmUkemvmEUHirqdNMc7zIDLSTVnX6jTQjAgSlzcYrAYJRQ32fr6RM5ZAnKPdgFEwN5tgvswatXZAI4vu7ZBAQexRl9MU0CpwW7JDDBZAGo5XDrCKrBxkUUWJUvh&q=invalidsssssssssssssss&type=adinterest
60
+ uri: https://graph.facebook.com/v2.4/search?access_token=DUMMY_TOKEN&q=invalidsssssssssssssss&type=adinterest
57
61
  body:
58
62
  encoding: US-ASCII
59
63
  string: ''
@@ -69,12 +73,14 @@ http_interactions:
69
73
  code: 200
70
74
  message: OK
71
75
  headers:
72
- Content-Type:
73
- - application/json; charset=UTF-8
74
76
  Access-Control-Allow-Origin:
75
77
  - ! '*'
78
+ Content-Type:
79
+ - application/json; charset=UTF-8
80
+ X-Fb-Trace-Id:
81
+ - AgOq5x9dz5r
76
82
  X-Fb-Rev:
77
- - '1690131'
83
+ - '1928154'
78
84
  Etag:
79
85
  - ! '"1050253aec7b29caff644806927dabfa81406eee"'
80
86
  Pragma:
@@ -82,13 +88,13 @@ http_interactions:
82
88
  Cache-Control:
83
89
  - private, no-cache, no-store, must-revalidate
84
90
  Facebook-Api-Version:
85
- - v2.2
91
+ - v2.4
86
92
  Expires:
87
93
  - Sat, 01 Jan 2000 00:00:00 GMT
88
94
  X-Fb-Debug:
89
- - zHtPaH8mPkg8j02BJazr0mWhLktYcUKF4cJc1hIUWLVl2HdDxCCj7zC4vRdqInEBFhBMvDoDbI1S5936dBODbA==
95
+ - jpy78YE5bNrF9soyExw+ORJ2zYVnomHCI9BLg7Qs+hfIZiOBaGVCqOkK7EfPN4qbHcoGSYfANVCAg1QikQPEVg==
90
96
  Date:
91
- - Wed, 15 Apr 2015 08:31:46 GMT
97
+ - Thu, 10 Sep 2015 09:47:15 GMT
92
98
  Connection:
93
99
  - keep-alive
94
100
  Content-Length:
@@ -97,5 +103,5 @@ http_interactions:
97
103
  encoding: US-ASCII
98
104
  string: ! '{"data":[]}'
99
105
  http_version:
100
- recorded_at: Wed, 15 Apr 2015 08:31:48 GMT
106
+ recorded_at: Thu, 10 Sep 2015 09:47:15 GMT
101
107
  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/v2.2/act_1384977038406122/reachestimate?access_token=CAAEvJ5vzhl8BAPGZCZCPL4FxryEHXGxPCuCGeqe3PEWIjhIvJ00HB8PPpokFmUkemvmEUHirqdNMc7zIDLSTVnX6jTQjAgSlzcYrAYJRQ32fr6RM5ZAnKPdgFEwN5tgvswatXZAI4vu7ZBAQexRl9MU0CpwW7JDDBZAGo5XDrCKrBxkUUWJUvh&targeting_spec=%7B%22geo_locations%22:%7B%22countries%22:%5B%22US%22%5D%7D,%22interests%22:%5B%7B%22id%22:%226003135347608%22,%22name%22:%22Eminem%22%7D,%7B%22id%22:%226003504886186%22,%22name%22:%22Sting%20(musician)%22%7D%5D,%22age_min%22:13,%22countries%22:%5B%5D,%22connections%22:%5B%5D%7D
5
+ uri: https://graph.facebook.com/v2.4/act_367106653/reachestimate?access_token=DUMMY_TOKEN&targeting_spec=%7B%22geo_locations%22:%7B%22countries%22:%5B%22US%22%5D%7D,%22interests%22:%5B%7B%22id%22:%226003135347608%22,%22name%22:%22Eminem%22%7D,%7B%22id%22:%226003504886186%22,%22name%22:%22Sting%20(musician)%22%7D%5D,%22age_min%22:13,%22countries%22:%5B%5D,%22connections%22:%5B%5D%7D
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -18,33 +18,35 @@ http_interactions:
18
18
  code: 200
19
19
  message: OK
20
20
  headers:
21
- Content-Type:
22
- - application/json; charset=UTF-8
23
21
  Access-Control-Allow-Origin:
24
22
  - ! '*'
23
+ Content-Type:
24
+ - application/json; charset=UTF-8
25
+ X-Fb-Trace-Id:
26
+ - F/v1OHEoGM8
25
27
  X-Fb-Rev:
26
- - '1690131'
28
+ - '1928154'
27
29
  Etag:
28
- - ! '"c081fa992fa810ff727e2c62a3f07a337b225ad3"'
30
+ - ! '"519aa02a80363d7d8946d9cc1c6ce3494e41b5dc"'
29
31
  Pragma:
30
32
  - no-cache
31
33
  Cache-Control:
32
34
  - private, no-cache, no-store, must-revalidate
33
35
  Facebook-Api-Version:
34
- - v2.2
36
+ - v2.4
35
37
  Expires:
36
38
  - Sat, 01 Jan 2000 00:00:00 GMT
37
39
  X-Fb-Debug:
38
- - 8CQmvP8bZFslRFwWkK1SNvVZ1zFDa+wff77F/Hhe7B4zPqVMNAKxxvDR3ceaWbttcFHYO5VxgTEwM7eekCoczw==
40
+ - 6bqazH5cVwm+UoVzBgXrkfj5JMxGXpnW3FNmh+jV3xKR0zyE9uHTJt0B7ajmAL34yAVZqmscGO5sXGh2TfM5Bg==
39
41
  Date:
40
- - Wed, 15 Apr 2015 08:31:46 GMT
42
+ - Thu, 10 Sep 2015 09:47:17 GMT
41
43
  Connection:
42
44
  - keep-alive
43
45
  Content-Length:
44
- - '452'
46
+ - '458'
45
47
  body:
46
48
  encoding: US-ASCII
47
- string: ! '{"users":37000000,"bid_estimations":[{"unsupported":false,"location":3,"cpa_min":15,"cpa_median":27,"cpa_max":37,"cpc_min":6,"cpc_median":10,"cpc_max":13,"cpm_min":45,"cpm_median":257,"cpm_max":429}],"estimate_ready":true,"data":{"users":37000000,"bid_estimations":[{"unsupported":false,"location":3,"cpa_min":15,"cpa_median":27,"cpa_max":37,"cpc_min":6,"cpc_median":10,"cpc_max":13,"cpm_min":45,"cpm_median":257,"cpm_max":429}],"estimate_ready":true}}'
49
+ string: ! '{"users":31000000,"bid_estimations":[{"unsupported":false,"location":3,"cpa_min":47,"cpa_median":88,"cpa_max":130,"cpc_min":16,"cpc_median":28,"cpc_max":39,"cpm_min":109,"cpm_median":284,"cpm_max":454}],"estimate_ready":true,"data":{"users":31000000,"bid_estimations":[{"unsupported":false,"location":3,"cpa_min":47,"cpa_median":88,"cpa_max":130,"cpc_min":16,"cpc_median":28,"cpc_max":39,"cpm_min":109,"cpm_median":284,"cpm_max":454}],"estimate_ready":true}}'
48
50
  http_version:
49
- recorded_at: Wed, 15 Apr 2015 08:31:48 GMT
51
+ recorded_at: Thu, 10 Sep 2015 09:47:17 GMT
50
52
  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/v2.2/act_1384977038406122/reachestimate?access_token=CAAEvJ5vzhl8BAPGZCZCPL4FxryEHXGxPCuCGeqe3PEWIjhIvJ00HB8PPpokFmUkemvmEUHirqdNMc7zIDLSTVnX6jTQjAgSlzcYrAYJRQ32fr6RM5ZAnKPdgFEwN5tgvswatXZAI4vu7ZBAQexRl9MU0CpwW7JDDBZAGo5XDrCKrBxkUUWJUvh&targeting_spec=%7B%22geo_locations%22:%7B%22countries%22:%5B%22US%22%5D%7D,%22interests%22:%5B%7B%22id%22:%226003504886186%22,%22name%22:%22Sting%20(musician)%22%7D%5D,%22age_min%22:13,%22age_max%22:24,%22genders%22:%5B2%5D,%22countries%22:%5B%5D,%22connections%22:%5B%5D%7D
5
+ uri: https://graph.facebook.com/v2.4/act_367106653/reachestimate?access_token=DUMMY_TOKEN&targeting_spec=%7B%22geo_locations%22:%7B%22countries%22:%5B%22US%22%5D%7D,%22interests%22:%5B%7B%22id%22:%226003504886186%22,%22name%22:%22Sting%20(musician)%22%7D%5D,%22age_min%22:13,%22age_max%22:24,%22genders%22:%5B2%5D,%22countries%22:%5B%5D,%22connections%22:%5B%5D%7D
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -18,33 +18,35 @@ http_interactions:
18
18
  code: 200
19
19
  message: OK
20
20
  headers:
21
- Content-Type:
22
- - application/json; charset=UTF-8
23
21
  Access-Control-Allow-Origin:
24
22
  - ! '*'
23
+ Content-Type:
24
+ - application/json; charset=UTF-8
25
+ X-Fb-Trace-Id:
26
+ - H0n10j/CL4g
25
27
  X-Fb-Rev:
26
- - '1690131'
28
+ - '1928154'
27
29
  Etag:
28
- - ! '"a73131e9a917d324772c67deb8439a6b7920b5fc"'
30
+ - ! '"c75d411662859aafcc2efa45b9fbb378fde706e5"'
29
31
  Pragma:
30
32
  - no-cache
31
33
  Cache-Control:
32
34
  - private, no-cache, no-store, must-revalidate
33
35
  Facebook-Api-Version:
34
- - v2.2
36
+ - v2.4
35
37
  Expires:
36
38
  - Sat, 01 Jan 2000 00:00:00 GMT
37
39
  X-Fb-Debug:
38
- - ne/YLUTYDwlwIF07UxvtizPBcIiEPPDgGDn6RUAuvc6DP3kftUX94ZUlI5/kH5XoASCbZ16arkMLEJv0k40Psg==
40
+ - 29QGQcnnY8OEHTvFA1ftp1m8GUwqOeBoO0kDmBfLRMJ2WDtv+pptxZi84ZzxQFK84jwF50IOnfXImrgGADwx0w==
39
41
  Date:
40
- - Wed, 15 Apr 2015 08:31:47 GMT
42
+ - Thu, 10 Sep 2015 09:47:18 GMT
41
43
  Connection:
42
44
  - keep-alive
43
45
  Content-Length:
44
- - '444'
46
+ - '448'
45
47
  body:
46
48
  encoding: US-ASCII
47
- string: ! '{"users":16000,"bid_estimations":[{"unsupported":false,"location":3,"cpa_min":16,"cpa_median":27,"cpa_max":36,"cpc_min":5,"cpc_median":9,"cpc_max":12,"cpm_min":26,"cpm_median":148,"cpm_max":309}],"estimate_ready":true,"data":{"users":16000,"bid_estimations":[{"unsupported":false,"location":3,"cpa_min":16,"cpa_median":27,"cpa_max":36,"cpc_min":5,"cpc_median":9,"cpc_max":12,"cpm_min":26,"cpm_median":148,"cpm_max":309}],"estimate_ready":true}}'
49
+ string: ! '{"users":63000,"bid_estimations":[{"unsupported":false,"location":3,"cpa_min":36,"cpa_median":69,"cpa_max":97,"cpc_min":12,"cpc_median":22,"cpc_max":30,"cpm_min":75,"cpm_median":188,"cpm_max":305}],"estimate_ready":true,"data":{"users":63000,"bid_estimations":[{"unsupported":false,"location":3,"cpa_min":36,"cpa_median":69,"cpa_max":97,"cpc_min":12,"cpc_median":22,"cpc_max":30,"cpm_min":75,"cpm_median":188,"cpm_max":305}],"estimate_ready":true}}'
48
50
  http_version:
49
- recorded_at: Wed, 15 Apr 2015 08:31:49 GMT
51
+ recorded_at: Thu, 10 Sep 2015 09:47:18 GMT
50
52
  recorded_with: VCR 2.3.0