zuck 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. data/CHANGELOG.markdown +4 -0
  2. data/README.markdown +35 -0
  3. data/VERSION +1 -1
  4. data/lib/zuck/facebook/ad_account.rb +8 -5
  5. data/lib/zuck/facebook/ad_campaign.rb +0 -1
  6. data/lib/zuck/facebook/ad_creative.rb +11 -10
  7. data/lib/zuck/facebook/ad_group.rb +5 -7
  8. data/lib/zuck/fb_object/hash_delegator.rb +5 -1
  9. data/lib/zuck/fb_object/helpers.rb +1 -1
  10. data/lib/zuck/fb_object/read.rb +0 -35
  11. data/spec/fixtures/a_single_account.yml +32 -57
  12. data/spec/fixtures/a_single_campaign.yml +12 -12
  13. data/spec/fixtures/a_single_group.yml +48 -0
  14. data/spec/fixtures/ad_keyword_search_disney.yml +12 -12
  15. data/spec/fixtures/{ad_keyword_search_steve_carell.yml → ad_keyword_search_moviepilot.yml} +8 -9
  16. data/spec/fixtures/ad_keyword_search_nonexistant.yml +5 -5
  17. data/spec/fixtures/create_ad_campaign.yml +12 -15
  18. data/spec/fixtures/create_ad_group.yml +15 -14
  19. data/spec/fixtures/delete_ad_group.yml +11 -15
  20. data/spec/fixtures/find_a_single_group_and_update_it.yml +224 -0
  21. data/spec/fixtures/list_of_ad_accounts.yml +26 -23
  22. data/spec/fixtures/list_of_ad_campaigns.yml +23 -24
  23. data/spec/fixtures/list_of_ad_creatives.yml +13 -15
  24. data/spec/fixtures/list_of_ad_groups.yml +62 -31
  25. data/spec/fixtures/list_of_all_ad_creatives_of_account.yml +41 -34
  26. data/spec/fixtures/reach_for_invalid_keyword.yml +9 -56
  27. data/spec/fixtures/reach_for_valid_keywords.yml +11 -56
  28. data/spec/fixtures/reach_for_valid_keywords_male_young.yml +11 -56
  29. data/spec/lib/zuck/facebook/ad_keyword_spec.rb +3 -3
  30. data/spec/lib/zuck/facebook/targeting_spec_spec.rb +4 -4
  31. data/spec/lib/zuck/fb_object/helpers_spec.rb +3 -2
  32. data/spec/lib/zuck_spec.rb +17 -24
  33. data/spec/spec_helper.rb +3 -0
  34. data/zuck.gemspec +5 -4
  35. metadata +6 -5
  36. data/spec/fixtures/find_a_single_campaign_and_update_it.yml +0 -247
@@ -2,17 +2,17 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://graph.facebook.com/me/adaccounts?access_token=AAAEvJ5vzhl8BABhTSazJZB2D0B4N0l242VX22Hg9J2WZA7fptcAztfXxfAZB9mhZB6W1nl5dz5tXMlb9DJk9ibs6RqtP7PtO6a3XCiHWVwZDZD
5
+ uri: https://graph.facebook.com/me/adaccounts?access_token=CAAEvJ5vzhl8BAH8aCPOx0Ft9uNB147TF8weJ8hK0g7YVDRWU4eEih7tEKdJgmfk0vABZClZACJbEzyhSMbiShL6RpsfkZASfX1C9nv1AlFvjJajflqkyYZAlpE2edT0FJHjdh4NFg0ZCt0sBgq0kZABtKsjuU18aMURLE7rjKHR4X8NkXBUafg1T4uZARRNqboZD&fields=
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
+ User-Agent:
11
+ - Faraday v0.8.7
10
12
  Accept-Encoding:
11
13
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
14
  Accept:
13
15
  - ! '*/*'
14
- User-Agent:
15
- - Ruby
16
16
  response:
17
17
  status:
18
18
  code: 200
@@ -27,10 +27,10 @@ http_interactions:
27
27
  cHJpdmF0ZSwgbm8tY2FjaGUsIG5vLXN0b3JlLCBtdXN0LXJldmFsaWRhdGU=
28
28
  !binary "Q29udGVudC1UeXBl":
29
29
  - !binary |-
30
- dGV4dC9qYXZhc2NyaXB0OyBjaGFyc2V0PVVURi04
30
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD1VVEYtOA==
31
31
  !binary "RXRhZw==":
32
32
  - !binary |-
33
- IjIwNmNkZjkzMDViNGMxYzEzZmI4MjA3OGE4ZjJkZjJiYTljMjQ2M2Yi
33
+ IjAyNDNhZTgyOTA5NzJmZTNjZDA1MTRjY2M5OWVhYWM0YjIzOWQ0ZGYi
34
34
  !binary "RXhwaXJlcw==":
35
35
  - !binary |-
36
36
  U2F0LCAwMSBKYW4gMjAwMCAwMDowMDowMCBHTVQ=
@@ -39,37 +39,40 @@ http_interactions:
39
39
  bm8tY2FjaGU=
40
40
  !binary "WC1GYi1SZXY=":
41
41
  - !binary |-
42
- NjEyNTY1
42
+ OTM0Njc3
43
43
  !binary "Q29udGVudC1FbmNvZGluZw==":
44
44
  - !binary |-
45
45
  Z3ppcA==
46
46
  !binary "WC1GYi1EZWJ1Zw==":
47
47
  - !binary |-
48
- QUE3SHcva3VUY1BYVXoxTGh1VDhYMFVHam1TUjdBTEthdkpjNHU1alArTT0=
48
+ UmtpbGo1YmhxYnR5VGhOeVNDc0poVVkvQVM5SkdmS29oZXBwbU1kQnVLND0=
49
49
  !binary "RGF0ZQ==":
50
50
  - !binary |-
51
- VHVlLCAyMSBBdWcgMjAxMiAxNDoyNToyOCBHTVQ=
51
+ VGh1LCAxMiBTZXAgMjAxMyAxMzoyMTozOCBHTVQ=
52
52
  !binary "Q29ubmVjdGlvbg==":
53
53
  - !binary |-
54
54
  a2VlcC1hbGl2ZQ==
55
55
  !binary "Q29udGVudC1MZW5ndGg=":
56
56
  - !binary |-
57
- NTEy
57
+ Njcx
58
58
  body:
59
59
  encoding: ASCII-8BIT
60
60
  string: !binary |-
61
- H4sIAAAAAAAAA6VSTWvcMBD9K0anFgSV7LWd9a0hoVDoqeTSJgitLO8OsaVF
62
- H4HNsv+9I2/i2MS3nux5ejPzZuadSSuDJM3fM4GWNESqIDjjJStvyqpgNWc5
63
- rwlFXNloghhJawQjB41PM6oPMkRPGk6Jis5po05IePh9h5wAg361Ro/1NvUM
64
- eKtzH5096sdvt9r1YOYZtuu8DuJgo/MiBkWanBLw4qidt0b2pGGU7KIHo70X
65
- b+VuYZ/9gmedfe8d7A8he/iRfTnILkSz9zvt1cE9Rsb0xjyHr9htyvfBaR1Q
66
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r0AEH8GZE2XlWqED5IhRe9wtbJ6on0aCEI8g//uPhMQ4in
72
+ YYgdHkNK8JiyY9F8MhuPryajkPdIR4h0XJyNi8ei+FBUNJD8JgrZvmiUPdC+
73
+ SkfVhHRke+mju30Hb9n5JDuyE+zIjtgRT7AHDw6aTz+Ew+azSfrlZDbsdjTH
74
+ 4eTCEoa9hDh+V/9OWfjOjNyBeLRUxH1/z/jBhTtRw3ehPXxdnQmuxje88tLi
75
+ 5bz8ffpw8Xi+v1yfPlyur/jFj5OT8C7Lytjw8k6eA/cvBZrbTg8GAAA=
73
76
  http_version:
74
- recorded_at: Tue, 21 Aug 2012 14:25:29 GMT
75
- recorded_with: VCR 2.2.4
77
+ recorded_at: Thu, 12 Sep 2013 13:21:38 GMT
78
+ recorded_with: VCR 2.3.0
@@ -2,17 +2,17 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://graph.facebook.com/act_10150585630710217/adcampaigns?access_token=AAAEvJ5vzhl8BABhTSazJZB2D0B4N0l242VX22Hg9J2WZA7fptcAztfXxfAZB9mhZB6W1nl5dz5tXMlb9DJk9ibs6RqtP7PtO6a3XCiHWVwZDZD
5
+ uri: https://graph.facebook.com/act_10150585630710217/adcampaigns?access_token=CAAEvJ5vzhl8BAH8aCPOx0Ft9uNB147TF8weJ8hK0g7YVDRWU4eEih7tEKdJgmfk0vABZClZACJbEzyhSMbiShL6RpsfkZASfX1C9nv1AlFvjJajflqkyYZAlpE2edT0FJHjdh4NFg0ZCt0sBgq0kZABtKsjuU18aMURLE7rjKHR4X8NkXBUafg1T4uZARRNqboZD&fields=
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
+ User-Agent:
11
+ - Faraday v0.8.7
10
12
  Accept-Encoding:
11
13
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
14
  Accept:
13
15
  - ! '*/*'
14
- User-Agent:
15
- - Ruby
16
16
  response:
17
17
  status:
18
18
  code: 200
@@ -27,10 +27,10 @@ http_interactions:
27
27
  cHJpdmF0ZSwgbm8tY2FjaGUsIG5vLXN0b3JlLCBtdXN0LXJldmFsaWRhdGU=
28
28
  !binary "Q29udGVudC1UeXBl":
29
29
  - !binary |-
30
- dGV4dC9qYXZhc2NyaXB0OyBjaGFyc2V0PVVURi04
30
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD1VVEYtOA==
31
31
  !binary "RXRhZw==":
32
32
  - !binary |-
33
- Ijc5YTRmNTQ3ZDg1NGYxNGRkYmQwMjhjNDI5ZDgwYjM2NDc2NzM4ZTMi
33
+ ImI5YjM2YzhjZGJjZGFjNTJjNmM2OTgzMzM1YjE1MzkxMTBlMjg0ZDgi
34
34
  !binary "RXhwaXJlcw==":
35
35
  - !binary |-
36
36
  U2F0LCAwMSBKYW4gMjAwMCAwMDowMDowMCBHTVQ=
@@ -39,38 +39,37 @@ http_interactions:
39
39
  bm8tY2FjaGU=
40
40
  !binary "WC1GYi1SZXY=":
41
41
  - !binary |-
42
- NjEyNTY1
42
+ OTM0Njc3
43
43
  !binary "Q29udGVudC1FbmNvZGluZw==":
44
44
  - !binary |-
45
45
  Z3ppcA==
46
46
  !binary "WC1GYi1EZWJ1Zw==":
47
47
  - !binary |-
48
- NDdwSXUvUzE4emNKdnMwU0RWbUZvdll3STdiNXlNVFZsTGt1V0w1ZDAvTT0=
48
+ Q0NSSlVETStDdTBhNlBCUklPRW4zUUxkVlBrRVRDRzdORVlTSnpZQTVqUT0=
49
49
  !binary "RGF0ZQ==":
50
50
  - !binary |-
51
- VHVlLCAyMSBBdWcgMjAxMiAxNDoxMDo1NCBHTVQ=
51
+ VGh1LCAxMiBTZXAgMjAxMyAxMzoyMTozOCBHTVQ=
52
52
  !binary "Q29ubmVjdGlvbg==":
53
53
  - !binary |-
54
54
  a2VlcC1hbGl2ZQ==
55
55
  !binary "Q29udGVudC1MZW5ndGg=":
56
56
  - !binary |-
57
- NTUz
57
+ NTM5
58
58
  body:
59
59
  encoding: ASCII-8BIT
60
60
  string: !binary |-
61
- H4sIAAAAAAAAA52U227aQBCGXwXtRW8KYXZ9XimqTKgaIbWJWisglwot9tpY
62
- +FS8pAHEu3cMNSEBWjWSL9brf07fzHhDQqEE4d83RARBsczVJAkJJxSoAYZt
63
- mBpYFBi1SJsEIitFEuc7hQmg644FmuUYtE1ykUk0uylQspCtT6usdSsXRSta
64
- JDIPq5bIw1a5nKZJcOyoUkItK8LRQZpEUiWZnEyXYSzVLgC0MbskXU2SrEQV
65
- vu5yexEa3aGXhZrUxviRAWUdoB0NPOpwsDlz3gMFQB0m8lKldcD0gHEAfBrV
66
- skQi8pWSdajmUZ3rFqe0UQYLearcRzZrpcH2ym37DXCRPQWNHcOdpkURrrCQ
67
- PZQGFIZAMofmNEzZRXjPrs/DszvAPGpwZu2wsFfw8mWatslZTGhpeWDwmpTW
68
- WJ7FdCbG2zA5Bli2ZR3N4P9hwtG7MGPGwfUlTIzWnQad00OxzzP2V0x/LG2u
69
- 6f/AdBJj+wObXS8q4Vq9NlmCJ5yBNimiqKo3B4+liJM8JnxDcvmEV2SmVFnx
70
- cXfcjReinF1FIpDTophfBUU27opATU42Hq/DZqqqD/h3kFU1UcVc5teu6358
71
- HBiP61lq99zezPsm1gO/x/rQ079AynT2MGLsNnYGbOi7VlSqwF2raPQUuX7P
72
- yWZ+zxzSPDXCtaFGn9Op0x/MnWRamV9/qnvrXt2ZQhvdJLfDh19+3++/21d2
73
- vVum7W8wBOaDswQAAA==
61
+ H4sIAAAAAAAAA+2WXY+TQBSG/0ozXkqTc4ZOgUn2oqYma2Jr3XCzcQ2ZwoBo
62
+ +ZBCtDb973soaRWoDd5omnjHzHmZj2demHfPAlUqJj/sWRwwyaaAYDtgWugI
63
+ ZAZTvp9VaekdiwgoQNhiaoKFwNEiQaoSTaX1JsuCHbUDFW923roKIl0yiQBg
64
+ MF8luYqj1NuWqqy21H3SxUlOTZKEhf5a6dTfeb7K+z1eobe69HJdxBmthF6g
65
+ oYrSK+Pj7BzQHIMzRu7iRHKQYvoSOACtp8ppgzoYoPQLPVR52k9NpUXsYPQ4
66
+ Wv85/u5szr5ocyRiXY58irfLEUFyHOTHWmmelFf92BrzEseGWI8jIt6sH0FI
67
+ LgZxbCmvcmwrL3zX/EisxxGc2/Xjv+F4JNblCJZ1q340pbAlOAP82FFe8WNX
68
+ ecGPDbE2R9shk97qfc0lXdkTawDHjvIKx66yx/FErMXRnKBNweaP/o+rIkuy
69
+ Mk6j0RO7n61Wj6NXbx7c+/ns0RjNHpbv3s5HL/IqyUmh0uBT8/TEKJhs4lDX
70
+ 8eVnVhJ/MStZYxNdFBTQJD+z12knJ9lj6KsuJqpfx7Ov3mAXZ+7dYOezOHw0
71
+ WK4iosbknvlVsc0Kiox7psJSF5T9lp9n3xfzBSzc6Nvyx2tcvL+7I7xrHWZF
72
+ nQ2beiRIYy7cL039cKBUWgdbJu36KJK4CasGy8KQkiZFzMMzvi/LuhsLAAA=
74
73
  http_version:
75
- recorded_at: Tue, 21 Aug 2012 14:10:55 GMT
76
- recorded_with: VCR 2.2.4
74
+ recorded_at: Thu, 12 Sep 2013 13:21:38 GMT
75
+ recorded_with: VCR 2.3.0
@@ -2,17 +2,17 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://graph.facebook.com/6004497038951/adcreatives?access_token=AAAEvJ5vzhl8BABhTSazJZB2D0B4N0l242VX22Hg9J2WZA7fptcAztfXxfAZB9mhZB6W1nl5dz5tXMlb9DJk9ibs6RqtP7PtO6a3XCiHWVwZDZD
5
+ uri: https://graph.facebook.com/6010889169151/adcreatives?access_token=CAAEvJ5vzhl8BAH8aCPOx0Ft9uNB147TF8weJ8hK0g7YVDRWU4eEih7tEKdJgmfk0vABZClZACJbEzyhSMbiShL6RpsfkZASfX1C9nv1AlFvjJajflqkyYZAlpE2edT0FJHjdh4NFg0ZCt0sBgq0kZABtKsjuU18aMURLE7rjKHR4X8NkXBUafg1T4uZARRNqboZD&fields=
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
+ User-Agent:
11
+ - Faraday v0.8.7
10
12
  Accept-Encoding:
11
13
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
14
  Accept:
13
15
  - ! '*/*'
14
- User-Agent:
15
- - Ruby
16
16
  response:
17
17
  status:
18
18
  code: 200
@@ -23,29 +23,27 @@ http_interactions:
23
23
  Cache-Control:
24
24
  - private, no-cache, no-store, must-revalidate
25
25
  Content-Type:
26
- - text/javascript; charset=UTF-8
26
+ - application/json; charset=UTF-8
27
27
  Etag:
28
- - ! '"afeb33d4f39589f66a3d09afd314278e343f95e7"'
28
+ - ! '"059c02f2d58116e7271e2885bc8551cf1b65f739"'
29
29
  Expires:
30
30
  - Sat, 01 Jan 2000 00:00:00 GMT
31
31
  Pragma:
32
32
  - no-cache
33
33
  X-Fb-Rev:
34
- - '612565'
34
+ - '934677'
35
35
  X-Fb-Debug:
36
- - WPqBFVCSVmbqniKM/+IwgPR86eYrO0wnhgI1HETxMlk=
36
+ - WDxMSDUs/mE5bYf2TYbE+FrTVQ6Ff/EM8TOVcqc9SLQ=
37
37
  Date:
38
- - Tue, 21 Aug 2012 14:10:56 GMT
38
+ - Thu, 12 Sep 2013 13:21:39 GMT
39
39
  Connection:
40
40
  - keep-alive
41
41
  Content-Length:
42
- - '771'
42
+ - '712'
43
43
  body:
44
44
  encoding: US-ASCII
45
- string: ! '{"data":[{"view_tag":"","alt_view_tags":[],"creative_id":"6004497038551","type":2,"title":"","body":"The
46
- free iPhone workout tracker app without bells and whistles. Optimized to be
47
- used at the gym while working out.","image_hash":"4df6142c0d1f4600f13967e7ca655601","link_url":"https:\/\/www.facebook.com\/gymhero?sk=wall","object_id":250413944992062,"name":"Gym
48
- Hero","run_status":1,"preview_url":"http:\/\/www.facebook.com\/ads\/api\/creative_preview.php?cid=6004497038551","count_current_adgroups":1,"id":"6004497038551"}],"limit":500,"offset":0,"count":1,"paging":{"next":"https:\/\/graph.facebook.com\/6004497038951\/adcreatives?access_token=AAAEvJ5vzhl8BABhTSazJZB2D0B4N0l242VX22Hg9J2WZA7fptcAztfXxfAZB9mhZB6W1nl5dz5tXMlb9DJk9ibs6RqtP7PtO6a3XCiHWVwZDZD&offset=500"}}'
45
+ string: ! '{"data":[{"id":"6010888561951","action_spec":[{"action.type":["like"],"post":["10150420410887685"]}],"image_url":"","name":"Sponsored
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}'
49
47
  http_version:
50
- recorded_at: Tue, 21 Aug 2012 14:10:57 GMT
51
- recorded_with: VCR 2.2.4
48
+ recorded_at: Thu, 12 Sep 2013 13:21:39 GMT
49
+ recorded_with: VCR 2.3.0
@@ -2,48 +2,79 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://graph.facebook.com/6005950787751/adgroups?access_token=AAAEvJ5vzhl8BABhTSazJZB2D0B4N0l242VX22Hg9J2WZA7fptcAztfXxfAZB9mhZB6W1nl5dz5tXMlb9DJk9ibs6RqtP7PtO6a3XCiHWVwZDZD
5
+ uri: https://graph.facebook.com/6010889111951/adgroups?access_token=CAAEvJ5vzhl8BAH8aCPOx0Ft9uNB147TF8weJ8hK0g7YVDRWU4eEih7tEKdJgmfk0vABZClZACJbEzyhSMbiShL6RpsfkZASfX1C9nv1AlFvjJajflqkyYZAlpE2edT0FJHjdh4NFg0ZCt0sBgq0kZABtKsjuU18aMURLE7rjKHR4X8NkXBUafg1T4uZARRNqboZD&fields=
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
+ User-Agent:
11
+ - Faraday v0.8.7
10
12
  Accept-Encoding:
11
13
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
14
  Accept:
13
15
  - ! '*/*'
14
- User-Agent:
15
- - Ruby
16
16
  response:
17
17
  status:
18
18
  code: 200
19
- message: OK
19
+ message: !binary |-
20
+ T0s=
20
21
  headers:
21
- Access-Control-Allow-Origin:
22
- - ! '*'
23
- Cache-Control:
24
- - private, no-cache, no-store, must-revalidate
25
- Content-Type:
26
- - text/javascript; charset=UTF-8
27
- Etag:
28
- - ! '"def1419d88168e6200c58dbb0813481fb54acd0f"'
29
- Expires:
30
- - Sat, 01 Jan 2000 00:00:00 GMT
31
- Pragma:
32
- - no-cache
33
- X-Fb-Rev:
34
- - '612565'
35
- X-Fb-Debug:
36
- - K/hNxQVPQkFQwuItG1431TixRYB9TeDFTmPfer2Irto=
37
- Date:
38
- - Tue, 21 Aug 2012 14:10:55 GMT
39
- Connection:
40
- - keep-alive
41
- Content-Length:
42
- - '812'
22
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
23
+ - !binary |-
24
+ Kg==
25
+ !binary "Q2FjaGUtQ29udHJvbA==":
26
+ - !binary |-
27
+ cHJpdmF0ZSwgbm8tY2FjaGUsIG5vLXN0b3JlLCBtdXN0LXJldmFsaWRhdGU=
28
+ !binary "Q29udGVudC1UeXBl":
29
+ - !binary |-
30
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD1VVEYtOA==
31
+ !binary "RXRhZw==":
32
+ - !binary |-
33
+ IjdmYzg0N2MwZDUzNmZmYTVlMWEyNTZiMjcxZDUyMWIxOGU4YmY3MmIi
34
+ !binary "RXhwaXJlcw==":
35
+ - !binary |-
36
+ U2F0LCAwMSBKYW4gMjAwMCAwMDowMDowMCBHTVQ=
37
+ !binary "UHJhZ21h":
38
+ - !binary |-
39
+ bm8tY2FjaGU=
40
+ !binary "WC1GYi1SZXY=":
41
+ - !binary |-
42
+ OTM0Njc3
43
+ !binary "Q29udGVudC1FbmNvZGluZw==":
44
+ - !binary |-
45
+ Z3ppcA==
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
43
58
  body:
44
- encoding: US-ASCII
45
- string: ! '{"data":[{"adgroup_id":6005950791151,"ad_id":6005950791151,"campaign_id":6005950787751,"name":"Rap
46
- like me","adgroup_status":1,"bid_type":1,"max_bid":"1","bid_info":{"1":"1"},"ad_status":1,"locations":[3],"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}}],"account_id":"10150585630710217","id":"6005950791151","creative_ids":[6005851371551],"targeting":{"countries":["US"],"friends_of_connections":[{"id":"6005851366351","name":null}]},"conversion_specs":[{"action.type":"like","post":"10150420410887685"}],"start_time":null,"end_time":null,"updated_time":"2012-08-21T14:08:34+0000","created_time":"2012-08-21T14:05:55+0000"}],"count":1,"limit":500,"offset":0,"include_deleted":null}'
59
+ encoding: ASCII-8BIT
60
+ string: !binary |-
61
+ H4sIAAAAAAAAA+2ZQW/aMBTHv0rl61Lp2Y4hsdTDpO6wA522sVNVRS4Y5DUk
62
+ keNUrRDffc8OoXRLKw6jlyTiQPz3c57tH4/nly1ZKqeIvN0SsySSTIBCkgKf
63
+ ilRQEhG1WJRN4bIgUqACRCImHKYUGJ36Dsu1LZsqq51yTU0kjci9WWamWJVE
64
+ bgnFll3b5J4rHfSF2lTKrIswaHhgklJK8YGolcWjtrUpi6yu9AIHvL3DVquV
65
+ M48aLXxLa4N+eBuUzaayug5GaO9smWcbVYVJ5eUCLcuCSB4G96L3q8ek9Y9F
66
+ pKm1zY465GZjHHr6hpJV2poSp8Li93tkTeHHgd0Ofc5V7bKmwtXXy+z+OVNV
67
+ FdaD48UYjTmfJNM0xY77GfiJczQs1AbdJD9UdZGbB32BdxFxyq61M8Xazy3s
68
+ mDXaW5BfP8kdboCzavGA+vGqdk93JozIgPJLSC8pm9NYcirjySdgADh8WH/0
69
+ s7cnAymmXU+FW9/taofRCyQ90kY9ZUhHAOPgZGWedL7fbJwyDnqEF361bu9K
70
+ 0eR5RHTRuebvd9E/LIuR5f3vY5gsM8nEf2AZMXqL5SCdn2U2YSPLXawfJMuM
71
+ SXoayxTwH6k/LrcY9bLcSR/AMo3pGJeHHJfp9NS4DEKyQzbyOsfAXAkx6md5
72
+ L30Eyz4VHfPlkIMPMi7TiWTpSTmGZ/kQwf9muT0FdYeqo3yZ7Q9I52cZEjzm
73
+ jSy358lBsgypZOwElrkUiaTQn2O0GPWy3EnnZjlJ8eIjy0POMYBKfkq+jCyD
74
+ hN58ucOoh+UX6fwscyrGs9+Az35MCi7hEG3fqckxGTMJhwh+nGMkaYtRL8ud
75
+ dH6WWSLGHGPYLGNcPiXHQJYBP305RpK2GPWy3ElnYBkr0pVad8X2xtalxVL7
76
+ lqiV0xYL6Te/Pz/Nrtfxt/nX+Gb+hc6+X13h0fBer0rrC+17XcyuZ/xm/tDq
77
+ OyzSh8I9kb7o375yEAARKVerWof3Bn8AYVHTKK0ZAAA=
47
78
  http_version:
48
- recorded_at: Tue, 21 Aug 2012 14:10:56 GMT
49
- recorded_with: VCR 2.2.4
79
+ recorded_at: Thu, 12 Sep 2013 13:21:39 GMT
80
+ recorded_with: VCR 2.3.0
@@ -2,17 +2,17 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://graph.facebook.com/act_10150585630710217/adcreatives?access_token=AAAEvJ5vzhl8BABhTSazJZB2D0B4N0l242VX22Hg9J2WZA7fptcAztfXxfAZB9mhZB6W1nl5dz5tXMlb9DJk9ibs6RqtP7PtO6a3XCiHWVwZDZD
5
+ uri: https://graph.facebook.com/act_10150585630710217/adcreatives?access_token=CAAEvJ5vzhl8BAH8aCPOx0Ft9uNB147TF8weJ8hK0g7YVDRWU4eEih7tEKdJgmfk0vABZClZACJbEzyhSMbiShL6RpsfkZASfX1C9nv1AlFvjJajflqkyYZAlpE2edT0FJHjdh4NFg0ZCt0sBgq0kZABtKsjuU18aMURLE7rjKHR4X8NkXBUafg1T4uZARRNqboZD&fields=
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
+ User-Agent:
11
+ - Faraday v0.8.7
10
12
  Accept-Encoding:
11
13
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
14
  Accept:
13
15
  - ! '*/*'
14
- User-Agent:
15
- - Ruby
16
16
  response:
17
17
  status:
18
18
  code: 200
@@ -27,10 +27,10 @@ http_interactions:
27
27
  cHJpdmF0ZSwgbm8tY2FjaGUsIG5vLXN0b3JlLCBtdXN0LXJldmFsaWRhdGU=
28
28
  !binary "Q29udGVudC1UeXBl":
29
29
  - !binary |-
30
- dGV4dC9qYXZhc2NyaXB0OyBjaGFyc2V0PVVURi04
30
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD1VVEYtOA==
31
31
  !binary "RXRhZw==":
32
32
  - !binary |-
33
- ImVkNzUzMWQwNTRlNjE4ZGM0Y2U3YjVlNjUzMTM2NzI2NDU5ZjFjYjQi
33
+ IjFkNzk2ZTAwMmVhYmUwZDJhNWI4ZjlkMzMyYWYwNDNmNDkyMmIzNmIi
34
34
  !binary "RXhwaXJlcw==":
35
35
  - !binary |-
36
36
  U2F0LCAwMSBKYW4gMjAwMCAwMDowMDowMCBHTVQ=
@@ -39,48 +39,55 @@ http_interactions:
39
39
  bm8tY2FjaGU=
40
40
  !binary "WC1GYi1SZXY=":
41
41
  - !binary |-
42
- NjEyNTY1
42
+ OTM0Njc3
43
43
  !binary "Q29udGVudC1FbmNvZGluZw==":
44
44
  - !binary |-
45
45
  Z3ppcA==
46
46
  !binary "WC1GYi1EZWJ1Zw==":
47
47
  - !binary |-
48
- V01pVkdLYTg4TDBmVU1zSFhkcDNXclNwcEtIYXh6YXdWRzZoVm83SnVpZz0=
48
+ aHdGMTRtV3FFSGJ4RWNod1Y1YVMyMlNCdlhTaWpNWmdLUFVoWVl2Szh6ND0=
49
49
  !binary "RGF0ZQ==":
50
50
  - !binary |-
51
- VHVlLCAyMSBBdWcgMjAxMiAxNDoyNjo1NiBHTVQ=
51
+ VGh1LCAxMiBTZXAgMjAxMyAxMzoyMTozOSBHTVQ=
52
52
  !binary "Q29ubmVjdGlvbg==":
53
53
  - !binary |-
54
54
  a2VlcC1hbGl2ZQ==
55
55
  !binary "Q29udGVudC1MZW5ndGg=":
56
56
  - !binary |-
57
- MTAxNg==
57
+ MTM1MA==
58
58
  body:
59
59
  encoding: ASCII-8BIT
60
60
  string: !binary |-
61
- H4sIAAAAAAAAA9WXbW/bNhCA/4qgAfvk2CTFF8lAENjLsCDA1mAtmsD1IFAk
62
- ZamWJU2k7dpB/vtOdty4TrMlK1ykX2ySuju+3MPj3a2vpZN+/8Ot71a18fuE
63
- dXypXF6Vsa2N8vu3993u9rtf5FPjd/y6sg56GGGGKEEUozAUPGT+XcdvTCGd
64
- 0XEqy7iWE9DCHV8Vc+tME+fa73OEWMhwwHnA4FMpZ63lt3VV2qox2rOualbe
65
- TzsxgRnDMGczh0U56eZ2Y7FuzCI3y3jeFKCdOVf3x71xb7lcdlOpTFJV066q
66
- ZuOe1BZ+6nzcU42RLl+Y+F63W2f1mcr16eFUqpqXLlbzpjHwL/WkqeZ1Oy3M
67
- 2+7Af6Sws/yVr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HRaQbu303DNaUjWZCyqWN7H
78
+ aa9cm9C28FeuS9vMD7NqjXZvq6K6VSW5qPq4ggYzsh+gJt24DLCEMc4bulHI
79
+ uDxK5tEi47KEWnOWcDSOudzL3GLOZL6fcjS0udz10sxnaZO7jDMv8B6huGcR
80
+ bOAWKfxLgR74Og9BsdOvuHqhwwGX5iQE6VWn4NLUBR1M0VQES2A2VgWsiSZm
81
+ gjaTBCxbNrapIq33V53FpjmYmZYdHj2X7yPapHMaUM+1myHLJi0XWoUjOj8C
82
+ KeKklWKMPmto0lIR1nR9qiCkKBBligIdyFREqoKnYfM+dsr0D+d7tCJwQJcl
83
+ 0abV6cGJz2DmCIlvm61oy7eZB84BSz2rA7qsup2v8LVGuHdQbaUqCEaaIIs/
84
+ N6j+byH1Lp2f5NT3Xwot4e1Da+PhA0NrRfjPQ0uVhaoK/IvwSrJnCpYEC9l4
85
+ JgGMzKCvUlSmWlSRZbg/fC9exUmIt/CqwOwNXgEw4qmAMRZeEa/euLsoYAet
86
+ fXtoUFWEewfVdhGUdBVJ4k8ugrt4pVhYsBSLqYKiSJIiUWbqmmjPKNywEaby
87
+ jw4pgO8pdOIY/X1IQTeQ7lzHTc8J4HVg0noJqtAOVKmqJCpY1nQZCRo0+6/d
88
+ XcHtZuPcquRJL5S89a7vCCFR+8m4tBtC/3VU+nbJe+t6V4THs3sPgqY14QFx
89
+ VVwZqQPNMX/8hYeHJXgpg/ckuF7OMpZAD/fhnuQfOiP5wyN5vOyM8cXopHgo
90
+ MNkMntSq9c8XHUeCNeHiZl6tPz2tnqrgZaroZgMPLqOAuE9/ASLPYLQIFAAA
84
91
  http_version:
85
- recorded_at: Tue, 21 Aug 2012 14:26:57 GMT
86
- recorded_with: VCR 2.2.4
92
+ recorded_at: Thu, 12 Sep 2013 13:21:39 GMT
93
+ recorded_with: VCR 2.3.0