citygrid_api 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. data/.sass-cache/c6f2c767b164f077e5b9fb1f18a7886d7c755211/test.scssc +0 -0
  2. data/README.rdoc +42 -13
  3. data/Rakefile +2 -2
  4. data/VERSION +1 -1
  5. data/citygrid_api.gemspec +23 -12
  6. data/citygrid_api.yml.sample +10 -2
  7. data/citygrid_api.yml.sandbox +46 -0
  8. data/dashboard.rb +1 -1
  9. data/fixtures/vcr_cassettes/AdGroupCriterion_mutate.yml +3 -3
  10. data/fixtures/vcr_cassettes/AdGroupCriterion_search.yml +3 -3
  11. data/fixtures/vcr_cassettes/Adding_a_place.yml +4 -4
  12. data/fixtures/vcr_cassettes/Geo.yml +30 -13
  13. data/fixtures/vcr_cassettes/Getting_an_offer.yml +413 -0
  14. data/fixtures/vcr_cassettes/Getting_an_offer_by_listing_ID.yml +12 -12
  15. data/fixtures/vcr_cassettes/Import_a_cg_account.yml +28 -16
  16. data/fixtures/vcr_cassettes/Initiating_a_Details.yml +14 -30
  17. data/fixtures/vcr_cassettes/Initiating_new_MultiDetails.yml +13 -13
  18. data/fixtures/vcr_cassettes/Mutating_AdGroup_Ads.yml +4 -4
  19. data/fixtures/vcr_cassettes/Report_summary_daily.yml +34 -34
  20. data/fixtures/vcr_cassettes/Report_summary_user_actions.yml +14 -10
  21. data/fixtures/vcr_cassettes/Search_Ad_Group_by_Campaign_Id.yml +3 -3
  22. data/fixtures/vcr_cassettes/Search_Billing_by_Campaign_Id.yml +31 -12
  23. data/fixtures/vcr_cassettes/Search_account_manager_by_Campaign_Id.yml +25 -12
  24. data/fixtures/vcr_cassettes/Searching_AdGroup_Geo.yml +6 -6
  25. data/fixtures/vcr_cassettes/Searching_budgets.yml +31 -12
  26. data/fixtures/vcr_cassettes/Searching_categories_by_listing_id.yml +3 -3
  27. data/fixtures/vcr_cassettes/Searching_categories_by_query.yml +3 -3
  28. data/fixtures/vcr_cassettes/Upload_an_image_Add_a_preview.yml +31 -12
  29. data/fixtures/vcr_cassettes/{Method_of_Payment_mutate.yml → create_a_mop.yml} +24 -12
  30. data/fixtures/vcr_cassettes/create_an_offer.yml +51 -0
  31. data/fixtures/vcr_cassettes/create_campaign.yml +5 -5
  32. data/fixtures/vcr_cassettes/create_campaign_then_create_ad_group_belonging_to_campaign.yml +61 -0
  33. data/fixtures/vcr_cassettes/create_campaign_then_create_ad_group_belonging_to_campaign_then_search_.yml +91 -0
  34. data/fixtures/vcr_cassettes/getting_reviews_by_listing_id.yml +91 -0
  35. data/fixtures/vcr_cassettes/log_in_a_session.yml +3 -3
  36. data/fixtures/vcr_cassettes/log_in_a_session_mutate_places.yml +7 -7
  37. data/fixtures/vcr_cassettes/query_account_type_by_id.yml +24 -12
  38. data/fixtures/vcr_cassettes/search_for_an_account_by_id.yml +24 -13
  39. data/fixtures/vcr_cassettes/search_for_an_account_by_name.yml +27 -17
  40. data/fixtures/vcr_cassettes/search_for_call_detail_by_campaign.yml +49 -0
  41. data/fixtures/vcr_cassettes/search_for_mop_by_account_id.yml +65 -0
  42. data/fixtures/vcr_cassettes/searching_for_a_CityGrid_listing.yml +57 -53
  43. data/fixtures/vcr_cassettes/searching_for_a_special_CityGrid_listing.yml +10 -10
  44. data/fixtures/vcr_cassettes/user_log_in_with_raw_API.yml +24 -0
  45. data/fixtures/vcr_cassettes/user_log_in_with_session.yml +24 -0
  46. data/lib/citygrid/api/accounts/account.rb +2 -2
  47. data/lib/citygrid/api/accounts/method_of_payment.rb +2 -2
  48. data/lib/citygrid/api/accounts/user.rb +8 -4
  49. data/lib/citygrid/api/advertising/account_manager.rb +1 -1
  50. data/lib/citygrid/api/advertising/ad_group.rb +2 -2
  51. data/lib/citygrid/api/advertising/ad_group_ad.rb +2 -2
  52. data/lib/citygrid/api/advertising/ad_group_criterion.rb +2 -2
  53. data/lib/citygrid/api/advertising/ad_group_geo.rb +2 -2
  54. data/lib/citygrid/api/advertising/billing.rb +2 -1
  55. data/lib/citygrid/api/advertising/budget.rb +2 -2
  56. data/lib/citygrid/api/advertising/call_detail.rb +2 -2
  57. data/lib/citygrid/api/advertising/campaign.rb +2 -2
  58. data/lib/citygrid/api/advertising/category.rb +2 -2
  59. data/lib/citygrid/api/advertising/geolocation.rb +2 -2
  60. data/lib/citygrid/api/advertising/image.rb +3 -3
  61. data/lib/citygrid/api/advertising/offers.rb +10 -0
  62. data/lib/citygrid/api/advertising/places.rb +2 -2
  63. data/lib/citygrid/api/content/offers.rb +11 -2
  64. data/lib/citygrid/api/content/places.rb +1 -1
  65. data/lib/citygrid/api/content/response.rb +14 -0
  66. data/lib/citygrid/api/content/reviews.rb +5 -2
  67. data/lib/citygrid/api/mutable.rb +13 -0
  68. data/lib/citygrid/api/searchable.rb +4 -6
  69. data/lib/citygrid/api.rb +70 -52
  70. data/lib/citygrid/session.rb +5 -9
  71. data/lib/citygrid.rb +28 -1
  72. data/test/api/accounts/test_account.rb +53 -32
  73. data/test/api/accounts/test_method_of_payment.rb +40 -43
  74. data/test/api/accounts/test_user.rb +16 -0
  75. data/test/api/advertising/test_call_detail.rb +17 -2
  76. data/test/api/advertising/test_offers.rb +33 -0
  77. data/test/api/advertising/test_places.rb +18 -0
  78. data/test/api/content/test_offers.rb +14 -14
  79. data/test/api/content/test_response.rb +51 -0
  80. data/test/api/content/test_reviews.rb +11 -0
  81. data/test/helper.rb +18 -11
  82. metadata +41 -29
  83. data/README +0 -21
  84. data/citygrid_api.yml.backup +0 -35
  85. data/fixtures/vcr_cassettes/Call_Detail_by_campaign.yml +0 -79
  86. data/fixtures/vcr_cassettes/Method_of_Payment_search.yml +0 -59
  87. data/lib/citygrid/api/mutatable.rb +0 -15
@@ -2,7 +2,7 @@
2
2
  - !ruby/struct:VCR::HTTPInteraction
3
3
  request: !ruby/struct:VCR::Request
4
4
  method: :post
5
- uri: https://api-qassl.citygrid.com:443/accounts/user/v2/login?password=pppppp&username=GARYTEST
5
+ uri: https://sandbox-api.citygrid.com:443/accounts/user/v2/login?password=pppppp&username=GARYTEST
6
6
  body: !!null
7
7
  headers: !!null
8
8
  response: !ruby/struct:VCR::Response
@@ -11,7 +11,7 @@
11
11
  message: OK
12
12
  headers:
13
13
  date:
14
- - Fri, 30 Dec 2011 01:05:51 GMT
14
+ - Sat, 31 Dec 2011 01:11:10 GMT
15
15
  server:
16
16
  - Apache-Coyote/1.1
17
17
  content-type:
@@ -20,12 +20,12 @@
20
20
  - Accept-Encoding
21
21
  transfer-encoding:
22
22
  - chunked
23
- body: ! '{"code":201,"authToken":"92e47a6fae6c86044c1b697d85d7add8"}'
23
+ body: ! '{"code":201,"authToken":"2f45061f07f7e61a9f3953d7bfbd904b"}'
24
24
  http_version: '1.1'
25
25
  - !ruby/struct:VCR::HTTPInteraction
26
26
  request: !ruby/struct:VCR::Request
27
27
  method: :post
28
- uri: https://api-qassl.citygrid.com:443/accounts/account/v2/customer/mutate
28
+ uri: https://sandbox-api.citygrid.com:443/accounts/account/v2/customer/mutate
29
29
  body: ! '{"mutateOperationListResource":[{"operator":"ADD","operand":{"firstName":"nico-api","lastName":"gomez-api","phone":"9001111112","businessName":"businessProveApi","address1":"dir-api","city":"montevideo","state":"Montevideo","zipCode":"90069"}}]}'
30
30
  headers:
31
31
  accept:
@@ -33,22 +33,34 @@
33
33
  content-type:
34
34
  - Application/JSON
35
35
  authtoken:
36
- - 92e47a6fae6c86044c1b697d85d7add8
36
+ - 2f45061f07f7e61a9f3953d7bfbd904b
37
37
  response: !ruby/struct:VCR::Response
38
38
  status: !ruby/struct:VCR::ResponseStatus
39
- code: 200
40
- message: OK
39
+ code: 404
40
+ message: Not Found
41
41
  headers:
42
42
  date:
43
- - Fri, 30 Dec 2011 01:05:51 GMT
43
+ - Sat, 31 Dec 2011 01:11:10 GMT
44
44
  server:
45
- - Apache-Coyote/1.1
45
+ - Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/0.9.8e-fips-rhel5
46
+ content-length:
47
+ - '233'
46
48
  content-type:
47
- - application/json
48
- vary:
49
- - Accept-Encoding
50
- transfer-encoding:
51
- - chunked
52
- body: ! '{"totalNumEntries":1,"accountList":[{"id":"","state":"","response":{"message":"UserName
53
- is required.","code":400},"status":"","firstName":"","lastName":"","address1":"","city":"","businessName":"","phone":"","zipCode":""}]}'
49
+ - text/html; charset=iso-8859-1
50
+ body: ! '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
51
+
52
+ <html><head>
53
+
54
+ <title>404 Not Found</title>
55
+
56
+ </head><body>
57
+
58
+ <h1>Not Found</h1>
59
+
60
+ <p>The requested URL /accounts/account/v2/customer/mutate was not found on this
61
+ server.</p>
62
+
63
+ </body></html>
64
+
65
+ '
54
66
  http_version: '1.1'
@@ -15,7 +15,7 @@
15
15
  message: OK
16
16
  headers:
17
17
  date:
18
- - Fri, 30 Dec 2011 01:06:16 GMT
18
+ - Sat, 31 Dec 2011 01:13:24 GMT
19
19
  server:
20
20
  - Apache-Coyote/1.1
21
21
  content-type:
@@ -24,10 +24,11 @@
24
24
  - Accept-Encoding
25
25
  transfer-encoding:
26
26
  - chunked
27
- body: ! '{"locations":[{"id":7117426,"reference_id":"1","impression_id":"00090000008e16a36104224f68923e58897676c311","display_ad":false,"infousa_id":508613312,"name":"Philip
28
- Marie Restaurant","teaser":null,"address":{"street":"569 Hudson Street","delivery_point":null,"city":"New
27
+ body: ! '{"locations":[{"id":7117426,"reference_id":"1","impression_id":"0009000000853cb9b6d8e44443a2bd6fb942d63ba9","display_ad":false,"infousa_id":508613312,"name":"Philip
28
+ Marie Restaurant","teaser":"BEST Restaurant in the West Village NYC - call now
29
+ for daily specials!","address":{"street":"569 Hudson Street","delivery_point":null,"city":"New
29
30
  York","state":"NY","postal_code":"10014","cross_street":"W 11th Street","latitude":40.735910,"longitude":-74.005940},"contact_info":{"display_phone":"2122426200","display_url":"http://www.philipmarie.com","social_media":{"twitter_username":{"image_icon":null,"text":"philipmarie","url":null},"facebook_fanpage":{"image_icon":null,"text":"philipmarienyc?ref=ts#!pagesPhilip-Marie-Restaurant136344239721051","url":null}}},"markets":["New
30
- York, NY Metro"],"neighborhoods":["West Village","Downtown"],"urls":{"profile_url":"http://www.citysearch.com/profile/7117426/new_york_ny/philip_marie_restaurant.html","reviews_url":"http://www.citysearch.com/review/7117426","video_url":null,"website_url":"http://pfpc.citygridmedia.com/content/places/v2/click?q=Eg5LbGeFZEmz9alMRG3UqHCSHTWWqqpiUFE37OfVvOS1dvm1TGN35zIlLdjDlmLJMzgHaA_hF40a2FiH2wUsba1Ddc1BEcYolVEXmdG9NrPIDt_JNbCaAf1kaYQYoiMSB9wjKnNLFxZqslrLuzx9QdyQdZUnFDFrWvPo8EBXrbjaBrq3u_w2cdnO_aIqfYthSN-Md7zICQzI2YE_d-EvG6XZ__p91aS5qCQRRX7fwYbYo6T9bGCL_bMPIItiX9Y6SFZznZ7hjzYXPjbeqpYFRfGgP3fDDQ-WS0_83OFlEgIDuhRoQAfqSFnHoPpMNCn_u9zQi3gRwGHqnDH_uCuN279-tzaNF2Jdvd1OP3Y1cVx96hZP4oop7w","menu_url":"http://pfpc.citygridmedia.com/content/places/v2/click?q=Eg5LbGeFZEmz9alMRG3UqDvpvBTRaDvne9EXlpV4zuxiZCUUPQTt3dJXfuAq2xw-1ky1Hr8QDm_tkbi14Jc1JqoYDNmKG_Tp274YGz3T_atrkhGnD-8wSboC-FG1T68OBSB-mpj7imOs2feexSf5tmQyrmXpgqqkvMfIbkGfDvs0aaafXEZmU7u7tPeO8UT_WkmJOGnC0pWGzdiREbL6GCDpja03jopIGxYX4RzrPmLzOqABXsz-7ylOqL_zGGzid1gIe1xCVEQzT2ZsNxDtB13Vvd4CmzvHLFavo4LN04NRt-cpvuYWVUKF4KeSgh6W6BnzDXr4wBDaWC1Xavke_uJdWAKWrZucdIh2yZwKg8eAUYj0cC-YzHX50MdBcSzCANPEBKwFodfzhh-jJTk3qA","reservation_url":"http://pfpc.citygridmedia.com/content/places/v2/click?q=Eg5LbGeFZEmz9alMRG3UqDvpvBTRaDvngS7pST9QDCo0vDVrAHdLCfltd4H5A7GHPMknNycX67o9spbXDeFDtROovE0g4AdYKV0Rj6P3jsdxs--_S47Uu3NOLjSzoAdNsgGOCPovb70orJdWxR9-jtfjsQBFj78JShUfmbsQGzZLACas1DAYuiN6aAwZO0mDsKhihfIwjTglCU3FwTT9Jt4REb5YGjAQC5o9boobXpzRHVKW4QMY87PN1VB4uxOllRxK56T1DFHrGh4UKTUTvXPggA8v2glewbYx__nlHb6zPo-xQJUu2V69SnP0Dl9F9kya8XNiTY6rNntoGGNgb61NMfhcHhR7q6Y20thy5FFnVFP0lTfdvSeraPdHu5khcRRoEBhW8TPkgfVHqLpYDg-t4CF_O896qYul7zmGE4ThgPcYvhFQcA","map_url":"http://www.citysearch.com/profile/map/7117426/new_york_ny/philip_marie_restaurant.html","send_to_friend_url":"http://www.citysearch.com/profile/sendto/7117426/new_york_ny/philip_marie_restaurant.html","email_link":"http://www.citysearch.com/profile/email_business/7117426/new_york_ny/philip_marie_restaurant.html","custom_link_1":null,"custom_link_2":null,"web_comment_url":null,"web_article_url":null,"web_profile_url":null,"web_rates_url":null,"gift_url":null,"request_quote_url":null,"virtual_tour_url":null,"book_limo_url":null,"order_url":null,"custom_link_3":null,"custom_link_4":null},"customer_content":{"customer_message":{"attribution_source":"CUSTOMER","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch","value":"At
31
+ York, NY Metro"],"neighborhoods":["West Village","Downtown"],"urls":{"profile_url":"http://www.citysearch.com/profile/7117426/new_york_ny/philip_marie_restaurant.html","reviews_url":"http://www.citysearch.com/review/7117426","video_url":null,"website_url":"http://pfpc.citygridmedia.com/content/places/v2/click?q=Eg5LbGeFZEmz9alMRG3UqHCSHTWWqqpiUFE37OfVvOS1dvm1TGN35zIlLdjDlmLJMzgHaA_hF40a2FiH2wUsba1Ddc1BEcYolVEXmdG9NrPIDt_JNbCaAf1kaYQYoiMSB9wjKnNLFxZqslrLuzx9QdyQdZUnFDFrWvPo8EBXrbi9BUGxYkssz7BIyrWy2Sp9vsxyneuMvsLSHsGq6tpXHaT-2dbJn58QueZQkVIj7F3L1uGrDD6RTreIm-HGFXPi-6CFM1gCLFp9zY1jCKcgkRsVOwaGTtkcNS5P-BI4aBKkk8lL8ULoXAqnVJbQPHdDZGZcHwI2MmxugF6esGycl6U1TVczEY4rV0ZuHyB1AQjdyyOxkGu0CA","menu_url":"http://pfpc.citygridmedia.com/content/places/v2/click?q=Eg5LbGeFZEmz9alMRG3UqDvpvBTRaDvne9EXlpV4zuxiZCUUPQTt3dJXfuAq2xw-1ky1Hr8QDm_tkbi14Jc1JqoYDNmKG_Tp274YGz3T_atrkhGnD-8wSboC-FG1T68OBSB-mpj7imOs2feexSf5tmQyrmXpgqqkvMfIbkGfDvs0aaafXEZmU7u7tPeO8UT_WkmJOGnC0pWRBvFqo8RLFF7zJ5xacD3xczW90TWpxqT2XG5ovK7sUTnqj3jNFELw6E33T5L2st2qnrYic-oFGhHzgZb8JdYbxfo9HTGSAQeZ8ZI23BBPhvYoWjMvadNce9Rk0OMyXKeB2SEFIj3daJhLEE7vJhPGw_kEkQMpMyK8n9_e_MDYwbWz-2DN-Pltr_ql1ouwR-fWzD4dS3WcRA","reservation_url":"http://pfpc.citygridmedia.com/content/places/v2/click?q=Eg5LbGeFZEmz9alMRG3UqDvpvBTRaDvngS7pST9QDCo0vDVrAHdLCfltd4H5A7GHPMknNycX67o9spbXDeFDtROovE0g4AdYKV0Rj6P3jsdxs--_S47Uu3NOLjSzoAdNsgGOCPovb70orJdWxR9-jtfjsQBFj78JShUfmbsQGzZLACas1DAYuiN6aAwZO0mDsKhihfIwjTglCU3FwTT9Jt4REb5YGjAQC5o9boobXpxe3AfFTFFN-ylw9VzEPmpVlszNAqOyjBiE4Th7c-9uMhGEOhbGoXbKoeTXIz_Phu4Bbm8RgtOJPnnVYago6-1PEGonZYABJsBxDKTT1-wg-q8PKkovKFsvJdWaa2JkTPwwmcWPluvPJtX8x2DajUGQkKSWziafXDdJfHt5glv7hG8xPY6iyJ-T8i37L4q7mwCRfSoeUtFRUw","map_url":"http://www.citysearch.com/profile/map/7117426/new_york_ny/philip_marie_restaurant.html","send_to_friend_url":"http://www.citysearch.com/profile/sendto/7117426/new_york_ny/philip_marie_restaurant.html","email_link":"http://www.citysearch.com/profile/email_business/7117426/new_york_ny/philip_marie_restaurant.html","custom_link_1":null,"custom_link_2":null,"web_comment_url":null,"web_article_url":null,"web_profile_url":null,"web_rates_url":null,"gift_url":null,"request_quote_url":null,"virtual_tour_url":null,"book_limo_url":null,"order_url":null,"custom_link_3":null,"custom_link_4":null},"customer_content":{"customer_message":{"attribution_source":"CUSTOMER","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch","value":"At
31
32
  Philip Marie, located in the West Village of NYC, our main dining room is fashioned
32
33
  as an upscale American bistro. The lower level offers a glimpse of the unique
33
34
  style that separates Philip Marie Restaurant from any other historic or American
@@ -55,16 +56,16 @@
55
56
  Special Features"}]},{"name_id":11238,"name":"Bar Scene","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
56
57
  Special Features"}]},{"name_id":11247,"name":"Carry Out","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
57
58
  Special Features"}]},{"name_id":12821,"name":"Casual Date Spot","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
58
- Special Features"}]},{"name_id":11244,"name":"Business Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
59
59
  Special Features"}]},{"name_id":12822,"name":"Dining Discounts","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
60
+ Special Features"}]},{"name_id":11244,"name":"Business Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
60
61
  Special Features"}]},{"name_id":11243,"name":"Business Breakfast","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
61
62
  Special Features"}]},{"name_id":11232,"name":"$$","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":147,"name":"Restaurant
62
63
  Meal Price"}]},{"name_id":12824,"name":"Margaritas","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
63
- Special Features"}]},{"name_id":1086,"name":"Thanksgiving Dinners","parent_id":1085,"parent":"Thanksgiving
64
- Day Events","primary":false,"groups":[]},{"name_id":11184,"name":"Wine Tasting","parent_id":1720,"parent":"Liquor
64
+ Special Features"}]},{"name_id":11286,"name":"Lunch Spot","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
65
+ Special Features"}]},{"name_id":11184,"name":"Wine Tasting","parent_id":1720,"parent":"Liquor
65
66
  Stores","primary":false,"groups":[{"group_id":145,"name":"Liquor Store Special
66
- Features"}]},{"name_id":11286,"name":"Lunch Spot","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
67
- Special Features"}]},{"name_id":11189,"name":"New American","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":146,"name":"Cuisine"}]},{"name_id":11284,"name":"Local
67
+ Features"}]},{"name_id":1086,"name":"Thanksgiving Dinners","parent_id":1085,"parent":"Thanksgiving
68
+ Day Events","primary":false,"groups":[]},{"name_id":11189,"name":"New American","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":146,"name":"Cuisine"}]},{"name_id":11284,"name":"Local
68
69
  Favorite","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
69
70
  Special Features"}]},{"name_id":11283,"name":"Live Music","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
70
71
  Special Features"}]},{"name_id":11382,"name":"Visa","parent_id":1738,"parent":"Global","primary":false,"groups":[{"group_id":152,"name":"Payment
@@ -92,10 +93,9 @@
92
93
  & Pubs","primary":false,"groups":[{"group_id":133,"name":"Bar & Pub Special
93
94
  Features"}]},{"name_id":11269,"name":"Group Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
94
95
  Special Features"}]},{"name_id":1065,"name":"Memorial Day Events","parent_id":1024,"parent":"Holiday
95
- Events","primary":false,"groups":[]},{"name_id":11315,"name":"Special Occasion
96
- Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
97
- Special Features"}]},{"name_id":11361,"name":"MasterCard","parent_id":1738,"parent":"Global","primary":false,"groups":[{"group_id":152,"name":"Payment
98
- Methods"}]},{"name_id":11262,"name":"Family Style Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
96
+ Events","primary":false,"groups":[]},{"name_id":11361,"name":"MasterCard","parent_id":1738,"parent":"Global","primary":false,"groups":[{"group_id":152,"name":"Payment
97
+ Methods"}]},{"name_id":11315,"name":"Special Occasion Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
98
+ Special Features"}]},{"name_id":11262,"name":"Family Style Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
99
99
  Special Features"}]},{"name_id":11263,"name":"Family-Friendly Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
100
100
  Special Features"}]}],"attributes":[{"attribute_id":null,"name":"Services","value":"Booking
101
101
  Advisable"},{"attribute_id":null,"name":"Cards Accepted","value":"visa"},{"attribute_id":null,"name":"Cards
@@ -113,21 +113,5 @@
113
113
  Madness menu with out-of-this-world cocktails like the Chocolate Raz and Banana
114
114
  Squirt and the Cotton Candy martini."},{"tip_name":"The Extras","tip_text":"Weekly
115
115
  events include Clam Bake Tuesdays, occasional wine tastings and Sunday jazz
116
- brunch. Saturdays, get unlimited mimosas with brunch ($17.95)."}],"images":[{"type":"GENERIC_IMAGE","height":null,"width":null,"image_url":"http://wcities.com/img/infoimg/restaurant/restaurant_American_Burgers.png","primary":false,"attribution_source":"wcities.com","attribution_logo":null,"attribution_text":"wcities.com"},{"type":"GENERIC_IMAGE","height":216,"width":252,"image_url":"http://images.citysearch.net/assets/imgdb/guide/2011/8/13/0/aYcBKroK63.jpeg","primary":false,"attribution_source":"CITYSEARCH","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"GENERIC_IMAGE","height":216,"width":384,"image_url":"http://images.citysearch.net/assets/imgdb/merchant/2010/3/10/0/adTQCdCS10.jpeg","primary":false,"attribution_source":"CUSTOMER","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"GENERIC_IMAGE","height":216,"width":384,"image_url":"http://images.citysearch.net/assets/imgdb/merchant/2010/3/10/0/QCDVPsZZ11.jpeg","primary":true,"attribution_source":"CUSTOMER","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"GENERIC_IMAGE","height":216,"width":384,"image_url":"http://images.citysearch.net/assets/imgdb/merchant/2010/3/10/0/msjHfJdJ6.jpeg","primary":false,"attribution_source":"CUSTOMER","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"WEBSITE_THUMBNAIL","height":120,"width":150,"image_url":"http://images.citysearch.net/assets/imgdb/website_thumbnails/6/26/7117426.png","primary":false,"attribution_source":"CITYSEARCH","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"GENERIC_IMAGE","height":240,"width":320,"image_url":"http://images.citysearch.net/assets/imgdb/profile/fa/82/7117426p1.jpg","primary":false,"attribution_source":"CITYSEARCH","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"GENERIC_IMAGE","height":216,"width":143,"image_url":"http://images.citysearch.net/assets/imgdb/guide/2010/6/15/0/dXiDWljY249.jpeg","primary":false,"attribution_source":"CITYSEARCH","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"GENERIC_IMAGE","height":216,"width":322,"image_url":"http://images.citysearch.net/assets/imgdb/guide/2010/6/15/0/ExavhKgF259.jpeg","primary":false,"attribution_source":"CITYSEARCH","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"}],"editorials":[{"attribution_source":null,"attribution_logo":"","attribution_text":"Citysearch","editorial_id":"cg_33701301","editorial_url":"http://newyork.citysearch.com/review/7117426?reviewId=33701301","editorial_title":"An
117
- upscale country kitchen with a devoted clientele in the West Village heartland.","editorial_author":"Contributor","editorial_review":"<b>The
118
- Scene</b><br>Owner/chef John Philip Greco and his wife Suzanne Marie Lonzar
119
- put together their middle names to create the French-sounding moniker for their
120
- wholly American restaurant. The space is cozy and welcoming: Large murals…","pros":"","cons":"","editorial_date":"2006-08-11T03:18:12-07:00","review_rating":6.0,"helpfulness_total_count":0,"helpful_count":0,"unhelpful_count":0}],"years_in_business":null,"last_update_time":"2011-10-21T00:00:00-07:00","public_id":"philip-marie-restaurant-new-york","business_operation_status":"open","review_info":{"overall_review_rating":9,"total_user_reviews":125,"total_user_reviews_shown":3,"reviews":[{"attribution_source":null,"attribution_logo":"","attribution_text":"Citysearch","review_id":"cg_479165261","review_url":"http://newyork.citysearch.com/review/7117426?reviewId=479165261","review_title":"food
121
- is good ;amazing wine selection for conosuiers","review_author":"kimscott516","review_text":"cuisine
122
- was refined and well cultured, the chicken was seasoned vibrantly, but slightly
123
- dry from being overcooked. however, me being a somewhat of a wine critic in
124
- my personal life, have to say that the selection was one of the most…","pros":"","cons":"","review_date":"2011-12-04T07:33:14-08:00","review_rating":8.0,"helpfulness_total_count":0,"helpful_count":0,"unhelpful_count":0,"review_type":"user_review"},{"attribution_source":null,"attribution_logo":"","attribution_text":"Citysearch","review_id":"cg_478585621","review_url":"http://newyork.citysearch.com/review/7117426?reviewId=478585621","review_title":"Stay
125
- Away","review_author":"PanchoD","review_text":"Honestly its not a bad looking
126
- place, but behind it all the food does not speak for itself... Mediocre at best
127
- and thats being generous... Im not for bashing restaurants but this place is
128
- not what it appears to be.. For starters i ordered…","pros":"","cons":"","review_date":"2011-11-03T05:08:03-07:00","review_rating":2.0,"helpfulness_total_count":0,"helpful_count":0,"unhelpful_count":0,"review_type":"user_review"},{"attribution_source":null,"attribution_logo":"","attribution_text":"Citysearch","review_id":"cg_478375071","review_url":"http://newyork.citysearch.com/review/7117426?reviewId=478375071","review_title":"ABSOLUTELY
129
- WONDERFUL!!!","review_author":"ladynrg","review_text":"Last week my husband
130
- & I had the pleasure of dining in the private Wine Room for 2 at Philip Marie.
131
- Our custom tailored 5 course menu was exactly what we were looking for at an
132
- unbelievable price. Not only was each item we enjoyed cooked…","pros":"","cons":"","review_date":"2011-10-22T02:11:01-07:00","review_rating":10.0,"helpfulness_total_count":0,"helpful_count":0,"unhelpful_count":0,"review_type":"user_review"}]}}]}'
116
+ brunch. Saturdays, get unlimited mimosas with brunch ($17.95)."}],"images":[{"type":"GENERIC_IMAGE","height":null,"width":null,"image_url":"http://wcities.com/img/infoimg/restaurant/restaurant_American_Burgers.png","primary":false,"attribution_source":"wcities.com","attribution_logo":null,"attribution_text":"wcities.com"},{"type":"GENERIC_IMAGE","height":216,"width":252,"image_url":"http://images.citysearch.net/assets/imgdb/guide/2011/8/13/0/aYcBKroK63.jpeg","primary":false,"attribution_source":"CITYSEARCH","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"GENERIC_IMAGE","height":216,"width":384,"image_url":"http://images.citysearch.net/assets/imgdb/merchant/2010/3/10/0/adTQCdCS10.jpeg","primary":false,"attribution_source":"CUSTOMER","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"GENERIC_IMAGE","height":216,"width":384,"image_url":"http://images.citysearch.net/assets/imgdb/merchant/2010/3/10/0/QCDVPsZZ11.jpeg","primary":true,"attribution_source":"CUSTOMER","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"GENERIC_IMAGE","height":216,"width":384,"image_url":"http://images.citysearch.net/assets/imgdb/merchant/2010/3/10/0/msjHfJdJ6.jpeg","primary":false,"attribution_source":"CUSTOMER","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"WEBSITE_THUMBNAIL","height":120,"width":150,"image_url":"http://images.citysearch.net/assets/imgdb/website_thumbnails/6/26/7117426.png","primary":false,"attribution_source":"CITYSEARCH","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"GENERIC_IMAGE","height":240,"width":320,"image_url":"http://images.citysearch.net/assets/imgdb/profile/fa/82/7117426p1.jpg","primary":false,"attribution_source":"CITYSEARCH","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"GENERIC_IMAGE","height":216,"width":143,"image_url":"http://images.citysearch.net/assets/imgdb/guide/2010/6/15/0/dXiDWljY249.jpeg","primary":false,"attribution_source":"CITYSEARCH","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"GENERIC_IMAGE","height":216,"width":322,"image_url":"http://images.citysearch.net/assets/imgdb/guide/2010/6/15/0/ExavhKgF259.jpeg","primary":false,"attribution_source":"CITYSEARCH","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"}],"editorials":[],"years_in_business":null,"last_update_time":"2011-10-21T00:00:00-07:00","public_id":"philip-marie-restaurant-new-york","business_operation_status":"open","review_info":{"overall_review_rating":9,"total_user_reviews":0,"total_user_reviews_shown":0,"reviews":[]}}]}'
133
117
  http_version: '1.1'
@@ -15,7 +15,7 @@
15
15
  message: OK
16
16
  headers:
17
17
  date:
18
- - Fri, 30 Dec 2011 01:06:17 GMT
18
+ - Sat, 31 Dec 2011 01:13:25 GMT
19
19
  server:
20
20
  - Apache-Coyote/1.1
21
21
  content-type:
@@ -24,10 +24,11 @@
24
24
  - Accept-Encoding
25
25
  transfer-encoding:
26
26
  - chunked
27
- body: ! '{"locations":[{"id":7117426,"reference_id":"1","impression_id":"0009000000df255cf4f648468581ab57e3c919b71e","display_ad":false,"infousa_id":508613312,"name":"Philip
28
- Marie Restaurant","teaser":null,"address":{"street":"569 Hudson Street","delivery_point":null,"city":"New
27
+ body: ! '{"locations":[{"id":7117426,"reference_id":"1","impression_id":"000900000054539734747d4c15b7de8f8dd90ec019","display_ad":false,"infousa_id":508613312,"name":"Philip
28
+ Marie Restaurant","teaser":"BEST Restaurant in the West Village NYC - call now
29
+ for daily specials!","address":{"street":"569 Hudson Street","delivery_point":null,"city":"New
29
30
  York","state":"NY","postal_code":"10014","cross_street":"W 11th Street","latitude":40.735910,"longitude":-74.005940},"contact_info":{"display_phone":"2122426200","display_url":"http://www.philipmarie.com","social_media":{"twitter_username":{"image_icon":null,"text":"philipmarie","url":null},"facebook_fanpage":{"image_icon":null,"text":"philipmarienyc?ref=ts#!pagesPhilip-Marie-Restaurant136344239721051","url":null}}},"markets":["New
30
- York, NY Metro"],"neighborhoods":["West Village","Downtown"],"urls":{"profile_url":"http://www.citysearch.com/profile/7117426/new_york_ny/philip_marie_restaurant.html","reviews_url":"http://www.citysearch.com/review/7117426","video_url":null,"website_url":"http://pfpc.citygridmedia.com/content/places/v2/click?q=Eg5LbGeFZEmz9alMRG3UqHCSHTWWqqpiUFE37OfVvOS1dvm1TGN35zIlLdjDlmLJMzgHaA_hF40a2FiH2wUsba1Ddc1BEcYolVEXmdG9NrPIDt_JNbCaAf1kaYQYoiMSB9wjKnNLFxZqslrLuzx9QdyQdZUnFDFrWvPo8EBXrbh-3InosGrCy5CXa4SBEKxni9xBDMjcNH0nrsRBnJDgU6q-2BPdSlrcTzW_Z8uS5wpQ75kkabvABqwytsx4zORYxOdeJdlG_l8MdkpY3VW3WsuLT7l6oQM6HR8a7MGJ1omMBsgdzDlaSHkmQomD8Hf63BRPW6aNR-9_rgdgk9nBF2VTWsTAbUME4lUwxrKAdDXonmlJAzR43w","menu_url":"http://pfpc.citygridmedia.com/content/places/v2/click?q=Eg5LbGeFZEmz9alMRG3UqDvpvBTRaDvne9EXlpV4zuxiZCUUPQTt3dJXfuAq2xw-1ky1Hr8QDm_tkbi14Jc1JqoYDNmKG_Tp274YGz3T_atrkhGnD-8wSboC-FG1T68OBSB-mpj7imOs2feexSf5tmQyrmXpgqqkvMfIbkGfDvs0aaafXEZmU7u7tPeO8UT_WkmJOGnC0pXEt7Z9pE_BwVZRdsJnvDFTy6v8r-Hn-0xwnwD_nRwE0m9dS4R71Fu0wPCBCoELjlc4QFG7uveQg4ZZ6R-2Iww0jvIuSC5KdvgxqgvhbwqYgb9S3XiBOsLTexqt1c9plHmh7nwZVCvJywKThB_xLgnRsQNHHKGVtFo7aEqvF5U7lNcg1-iutOhhabNQWNczWMsxC9bauEo-9A","reservation_url":"http://pfpc.citygridmedia.com/content/places/v2/click?q=Eg5LbGeFZEmz9alMRG3UqDvpvBTRaDvngS7pST9QDCo0vDVrAHdLCfltd4H5A7GHPMknNycX67o9spbXDeFDtROovE0g4AdYKV0Rj6P3jsdxs--_S47Uu3NOLjSzoAdNsgGOCPovb70orJdWxR9-jtfjsQBFj78JShUfmbsQGzZLACas1DAYuiN6aAwZO0mDsKhihfIwjTglCU3FwTT9Jt4REb5YGjAQC5o9boobXpz2K2NPnzQ2LlmesKEYYxtfmWkJiqkEX-oFAmwudeRZDVp1gaq_IZroxgdHm2l6pWEtAeHYQThgezf0FcaTsONJ1v5Bv8q4IH9AtIBQKSj3FCtPzUwLEiBs9m6mSnfpnMq7qIO-B1tzPc9uA4mwb1rXvlA3X1U7T_rcAL6yDdMXtlWdtaF_v0bs2YVIWw49xWI0FhsL4lf0ng","map_url":"http://www.citysearch.com/profile/map/7117426/new_york_ny/philip_marie_restaurant.html","send_to_friend_url":"http://www.citysearch.com/profile/sendto/7117426/new_york_ny/philip_marie_restaurant.html","email_link":"http://www.citysearch.com/profile/email_business/7117426/new_york_ny/philip_marie_restaurant.html","custom_link_1":null,"custom_link_2":null,"web_comment_url":null,"web_article_url":null,"web_profile_url":null,"web_rates_url":null,"gift_url":null,"request_quote_url":null,"virtual_tour_url":null,"book_limo_url":null,"order_url":null,"custom_link_3":null,"custom_link_4":null},"customer_content":{"customer_message":{"attribution_source":"CUSTOMER","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch","value":"At
31
+ York, NY Metro"],"neighborhoods":["West Village","Downtown"],"urls":{"profile_url":"http://www.citysearch.com/profile/7117426/new_york_ny/philip_marie_restaurant.html","reviews_url":"http://www.citysearch.com/review/7117426","video_url":null,"website_url":"http://pfpc.citygridmedia.com/content/places/v2/click?q=Eg5LbGeFZEmz9alMRG3UqHCSHTWWqqpiUFE37OfVvOS1dvm1TGN35zIlLdjDlmLJMzgHaA_hF40a2FiH2wUsba1Ddc1BEcYolVEXmdG9NrPIDt_JNbCaAf1kaYQYoiMSB9wjKnNLFxZqslrLuzx9QdyQdZUnFDFrWvPo8EBXrbg1dpW7W2C4iKC9O-YT18ysRv7J9SRlMP80z1qcYXy0QmzMZGuxM-Z1rrSoNQWKnVPgsW4JKqG7z3g6S_SOipDZQDrlIJRL4ZPG_gyhGnIcp0psOM_Ebym9gROiFjkeu3P5GrrqcbD551EZCiQKu469kQpcwp52IyLEi0wbCHkAQPXa7mjzrwHwlvg6hDoXWqBozi4xzqngXg","menu_url":"http://pfpc.citygridmedia.com/content/places/v2/click?q=Eg5LbGeFZEmz9alMRG3UqDvpvBTRaDvne9EXlpV4zuxiZCUUPQTt3dJXfuAq2xw-1ky1Hr8QDm_tkbi14Jc1JqoYDNmKG_Tp274YGz3T_atrkhGnD-8wSboC-FG1T68OBSB-mpj7imOs2feexSf5tmQyrmXpgqqkvMfIbkGfDvs0aaafXEZmU7u7tPeO8UT_WkmJOGnC0pUpJvNy2hyjh3vfn5tKM3YJsW_bVKqyUbqE4rr2f-eeTDvSaan5onP-lCghW9izhz40roGY_sXuUneLSY-n_L4AgOWsms85aTCI57rAN6_50yGH0EA8np6J79Mp4-TWX4RCjYe8Rkz7BjkWOdIhkvxTEIp7aI3F9S7CqVZa_zy0_PlqY6c1mm2LeFndSJWr_r0l26HSL6HSeA","reservation_url":"http://pfpc.citygridmedia.com/content/places/v2/click?q=Eg5LbGeFZEmz9alMRG3UqDvpvBTRaDvngS7pST9QDCo0vDVrAHdLCfltd4H5A7GHPMknNycX67o9spbXDeFDtROovE0g4AdYKV0Rj6P3jsdxs--_S47Uu3NOLjSzoAdNsgGOCPovb70orJdWxR9-jtfjsQBFj78JShUfmbsQGzZLACas1DAYuiN6aAwZO0mDsKhihfIwjTglCU3FwTT9Jt4REb5YGjAQC5o9boobXpze0BE_mKqxVaq6MsE13C5LK5VqCGqjL_tOYIl8HQnuegHXhGuia2hjh1bjeh5RrSuOaXOF4jAJfxFo-UYkLZaor4E-Eyja948xvW_nB1U3nb52WFseGPQtFKDuViFzBT5b6dRJrwA0Iz4rvknFkPt9QGBhWVqkBM62xjpJ1johxDvJ897JPJAY03XwQsHmmPzavDyhm7qQyg","map_url":"http://www.citysearch.com/profile/map/7117426/new_york_ny/philip_marie_restaurant.html","send_to_friend_url":"http://www.citysearch.com/profile/sendto/7117426/new_york_ny/philip_marie_restaurant.html","email_link":"http://www.citysearch.com/profile/email_business/7117426/new_york_ny/philip_marie_restaurant.html","custom_link_1":null,"custom_link_2":null,"web_comment_url":null,"web_article_url":null,"web_profile_url":null,"web_rates_url":null,"gift_url":null,"request_quote_url":null,"virtual_tour_url":null,"book_limo_url":null,"order_url":null,"custom_link_3":null,"custom_link_4":null},"customer_content":{"customer_message":{"attribution_source":"CUSTOMER","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch","value":"At
31
32
  Philip Marie, located in the West Village of NYC, our main dining room is fashioned
32
33
  as an upscale American bistro. The lower level offers a glimpse of the unique
33
34
  style that separates Philip Marie Restaurant from any other historic or American
@@ -55,16 +56,16 @@
55
56
  Special Features"}]},{"name_id":11238,"name":"Bar Scene","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
56
57
  Special Features"}]},{"name_id":11247,"name":"Carry Out","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
57
58
  Special Features"}]},{"name_id":12821,"name":"Casual Date Spot","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
58
- Special Features"}]},{"name_id":11244,"name":"Business Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
59
59
  Special Features"}]},{"name_id":12822,"name":"Dining Discounts","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
60
+ Special Features"}]},{"name_id":11244,"name":"Business Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
60
61
  Special Features"}]},{"name_id":11243,"name":"Business Breakfast","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
61
62
  Special Features"}]},{"name_id":11232,"name":"$$","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":147,"name":"Restaurant
62
63
  Meal Price"}]},{"name_id":12824,"name":"Margaritas","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
63
- Special Features"}]},{"name_id":1086,"name":"Thanksgiving Dinners","parent_id":1085,"parent":"Thanksgiving
64
- Day Events","primary":false,"groups":[]},{"name_id":11184,"name":"Wine Tasting","parent_id":1720,"parent":"Liquor
64
+ Special Features"}]},{"name_id":11286,"name":"Lunch Spot","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
65
+ Special Features"}]},{"name_id":11184,"name":"Wine Tasting","parent_id":1720,"parent":"Liquor
65
66
  Stores","primary":false,"groups":[{"group_id":145,"name":"Liquor Store Special
66
- Features"}]},{"name_id":11286,"name":"Lunch Spot","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
67
- Special Features"}]},{"name_id":11189,"name":"New American","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":146,"name":"Cuisine"}]},{"name_id":11284,"name":"Local
67
+ Features"}]},{"name_id":1086,"name":"Thanksgiving Dinners","parent_id":1085,"parent":"Thanksgiving
68
+ Day Events","primary":false,"groups":[]},{"name_id":11189,"name":"New American","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":146,"name":"Cuisine"}]},{"name_id":11284,"name":"Local
68
69
  Favorite","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
69
70
  Special Features"}]},{"name_id":11283,"name":"Live Music","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
70
71
  Special Features"}]},{"name_id":11382,"name":"Visa","parent_id":1738,"parent":"Global","primary":false,"groups":[{"group_id":152,"name":"Payment
@@ -92,10 +93,9 @@
92
93
  & Pubs","primary":false,"groups":[{"group_id":133,"name":"Bar & Pub Special
93
94
  Features"}]},{"name_id":11269,"name":"Group Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
94
95
  Special Features"}]},{"name_id":1065,"name":"Memorial Day Events","parent_id":1024,"parent":"Holiday
95
- Events","primary":false,"groups":[]},{"name_id":11315,"name":"Special Occasion
96
- Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
97
- Special Features"}]},{"name_id":11361,"name":"MasterCard","parent_id":1738,"parent":"Global","primary":false,"groups":[{"group_id":152,"name":"Payment
98
- Methods"}]},{"name_id":11262,"name":"Family Style Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
96
+ Events","primary":false,"groups":[]},{"name_id":11361,"name":"MasterCard","parent_id":1738,"parent":"Global","primary":false,"groups":[{"group_id":152,"name":"Payment
97
+ Methods"}]},{"name_id":11315,"name":"Special Occasion Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
98
+ Special Features"}]},{"name_id":11262,"name":"Family Style Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
99
99
  Special Features"}]},{"name_id":11263,"name":"Family-Friendly Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
100
100
  Special Features"}]}],"attributes":[{"attribute_id":null,"name":"Services","value":"Booking
101
101
  Advisable"},{"attribute_id":null,"name":"Cards Accepted","value":"visa"},{"attribute_id":null,"name":"Cards
@@ -2,7 +2,7 @@
2
2
  - !ruby/struct:VCR::HTTPInteraction
3
3
  request: !ruby/struct:VCR::Request
4
4
  method: :post
5
- uri: http://api.qa.citygrid.com:80/advertising/adgroupad/v2/mutate
5
+ uri: http://sandbox-api.citygrid.com:80/advertising/adgroupad/v2/mutate
6
6
  body: ! '{"mutateOperationListResource":[{"operator":"ADD","operand":{"groupId":"2861","ad":{"type":"PERFORMANCE_AD","tagline":"myTagline","imageUrl":"http://some_url.com"}}}]}'
7
7
  headers:
8
8
  accept:
@@ -10,14 +10,14 @@
10
10
  content-type:
11
11
  - Application/JSON
12
12
  authtoken:
13
- - 563da3d1cfa3a8e75f6a09e89f542d67
13
+ - 20f1918ababef692f0b7e71940acbe4b
14
14
  response: !ruby/struct:VCR::Response
15
15
  status: !ruby/struct:VCR::ResponseStatus
16
16
  code: 200
17
17
  message: OK
18
18
  headers:
19
19
  date:
20
- - Fri, 30 Dec 2011 01:06:01 GMT
20
+ - Sat, 31 Dec 2011 01:12:30 GMT
21
21
  server:
22
22
  - Apache-Coyote/1.1
23
23
  content-type:
@@ -26,5 +26,5 @@
26
26
  - Accept-Encoding
27
27
  transfer-encoding:
28
28
  - chunked
29
- body: ! '{"adGroupAds":[{"adGroupId":"2861","id":"89355272","adType":"PERFORMANCE_AD","status":"ACTIVE","tagline":"myTagline","imageUrl":"http://some_url.com","response":{"message":"OK","code":200}}]}'
29
+ body: ! '{"adGroupAds":[{"adGroupId":"2861","id":"89356962","adType":"PERFORMANCE_AD","status":"ACTIVE","tagline":"myTagline","imageUrl":"http://some_url.com","response":{"message":"OK","code":200}}]}'
30
30
  http_version: '1.1'
@@ -2,7 +2,7 @@
2
2
  - !ruby/struct:VCR::HTTPInteraction
3
3
  request: !ruby/struct:VCR::Request
4
4
  method: :post
5
- uri: http://api.qa.citygrid.com:80/advertising/performance/v2/campaign/daily
5
+ uri: http://sandbox-api.citygrid.com:80/advertising/performance/v2/campaign/daily
6
6
  body: ! '{"campaignId":786,"period":"last30Days"}'
7
7
  headers:
8
8
  accept:
@@ -10,14 +10,14 @@
10
10
  content-type:
11
11
  - Application/JSON
12
12
  authtoken:
13
- - 563da3d1cfa3a8e75f6a09e89f542d67
13
+ - 20f1918ababef692f0b7e71940acbe4b
14
14
  response: !ruby/struct:VCR::Response
15
15
  status: !ruby/struct:VCR::ResponseStatus
16
16
  code: 200
17
17
  message: OK
18
18
  headers:
19
19
  date:
20
- - Fri, 30 Dec 2011 01:06:13 GMT
20
+ - Sat, 31 Dec 2011 01:13:15 GMT
21
21
  server:
22
22
  - Apache-Coyote/1.1
23
23
  content-type:
@@ -26,35 +26,35 @@
26
26
  - Accept-Encoding
27
27
  transfer-encoding:
28
28
  - chunked
29
- body: ! '{"totalNumEntries":"30","dailyCampaignPerformanceResources":[{"date":"20111129","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.55","externalCampaignId":"","totalConnections":"4","accountName":"Enchiladas
30
- Y Mas, Inc.","totalBilledConnections":"4","totalSpend":"2.20"},{"date":"20111130","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.55","externalCampaignId":"","totalConnections":"7","accountName":"Enchiladas
31
- Y Mas, Inc.","totalBilledConnections":"6","totalSpend":"3.30"},{"date":"20111201","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.55","externalCampaignId":"","totalConnections":"16","accountName":"Enchiladas
32
- Y Mas, Inc.","totalBilledConnections":"11","totalSpend":"6.05"},{"date":"20111202","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.55","externalCampaignId":"","totalConnections":"12","accountName":"Enchiladas
33
- Y Mas, Inc.","totalBilledConnections":"9","totalSpend":"4.95"},{"date":"20111203","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.00","externalCampaignId":"","totalConnections":"0","accountName":"Enchiladas
34
- Y Mas, Inc.","totalBilledConnections":"0","totalSpend":"0.00"},{"date":"20111204","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.55","externalCampaignId":"","totalConnections":"6","accountName":"Enchiladas
35
- Y Mas, Inc.","totalBilledConnections":"6","totalSpend":"3.30"},{"date":"20111205","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.55","externalCampaignId":"","totalConnections":"2","accountName":"Enchiladas
36
- Y Mas, Inc.","totalBilledConnections":"2","totalSpend":"1.10"},{"date":"20111206","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.55","externalCampaignId":"","totalConnections":"7","accountName":"Enchiladas
37
- Y Mas, Inc.","totalBilledConnections":"7","totalSpend":"3.85"},{"date":"20111207","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.55","externalCampaignId":"","totalConnections":"2","accountName":"Enchiladas
38
- Y Mas, Inc.","totalBilledConnections":"2","totalSpend":"1.10"},{"date":"20111208","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.55","externalCampaignId":"","totalConnections":"11","accountName":"Enchiladas
39
- Y Mas, Inc.","totalBilledConnections":"7","totalSpend":"3.85"},{"date":"20111209","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.55","externalCampaignId":"","totalConnections":"4","accountName":"Enchiladas
40
- Y Mas, Inc.","totalBilledConnections":"4","totalSpend":"2.20"},{"date":"20111210","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.55","externalCampaignId":"","totalConnections":"8","accountName":"Enchiladas
41
- Y Mas, Inc.","totalBilledConnections":"8","totalSpend":"4.40"},{"date":"20111211","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.55","externalCampaignId":"","totalConnections":"5","accountName":"Enchiladas
42
- Y Mas, Inc.","totalBilledConnections":"4","totalSpend":"2.20"},{"date":"20111212","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.55","externalCampaignId":"","totalConnections":"5","accountName":"Enchiladas
43
- Y Mas, Inc.","totalBilledConnections":"2","totalSpend":"1.10"},{"date":"20111213","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.55","externalCampaignId":"","totalConnections":"6","accountName":"Enchiladas
44
- Y Mas, Inc.","totalBilledConnections":"3","totalSpend":"1.65"},{"date":"20111214","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.00","externalCampaignId":"","totalConnections":"4","accountName":"Enchiladas
45
- Y Mas, Inc.","totalBilledConnections":"0","totalSpend":"0.00"},{"date":"20111215","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.00","externalCampaignId":"","totalConnections":"3","accountName":"Enchiladas
46
- Y Mas, Inc.","totalBilledConnections":"0","totalSpend":"0.00"},{"date":"20111216","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.00","externalCampaignId":"","totalConnections":"3","accountName":"Enchiladas
47
- Y Mas, Inc.","totalBilledConnections":"0","totalSpend":"0.00"},{"date":"20111217","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.00","externalCampaignId":"","totalConnections":"4","accountName":"Enchiladas
48
- Y Mas, Inc.","totalBilledConnections":"0","totalSpend":"0.00"},{"date":"20111218","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.00","externalCampaignId":"","totalConnections":"0","accountName":"Enchiladas
49
- Y Mas, Inc.","totalBilledConnections":"0","totalSpend":"0.00"},{"date":"20111219","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.00","externalCampaignId":"","totalConnections":"2","accountName":"Enchiladas
50
- Y Mas, Inc.","totalBilledConnections":"0","totalSpend":"0.00"},{"date":"20111220","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.00","externalCampaignId":"","totalConnections":"5","accountName":"Enchiladas
51
- Y Mas, Inc.","totalBilledConnections":"0","totalSpend":"0.00"},{"date":"20111221","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.00","externalCampaignId":"","totalConnections":"6","accountName":"Enchiladas
52
- Y Mas, Inc.","totalBilledConnections":"0","totalSpend":"0.00"},{"date":"20111222","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.00","externalCampaignId":"","totalConnections":"4","accountName":"Enchiladas
53
- Y Mas, Inc.","totalBilledConnections":"0","totalSpend":"0.00"},{"date":"20111223","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.00","externalCampaignId":"","totalConnections":"6","accountName":"Enchiladas
54
- Y Mas, Inc.","totalBilledConnections":"0","totalSpend":"0.00"},{"date":"20111224","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.00","externalCampaignId":"","totalConnections":"3","accountName":"Enchiladas
55
- Y Mas, Inc.","totalBilledConnections":"0","totalSpend":"0.00"},{"date":"20111225","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.00","externalCampaignId":"","totalConnections":"0","accountName":"Enchiladas
56
- Y Mas, Inc.","totalBilledConnections":"0","totalSpend":"0.00"},{"date":"20111226","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.00","externalCampaignId":"","totalConnections":"0","accountName":"Enchiladas
57
- Y Mas, Inc.","totalBilledConnections":"0","totalSpend":"0.00"},{"date":"20111227","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.00","externalCampaignId":"","totalConnections":"3","accountName":"Enchiladas
58
- Y Mas, Inc.","totalBilledConnections":"0","totalSpend":"0.00"},{"date":"20111228","response":{"code":200,"message":"OK"},"campaignName":"CampaignRest1stTest-786","campaignId":"786","externalAccountId":"","accountId":"111","cpc":"0.55","externalCampaignId":"","totalConnections":"44","accountName":"Enchiladas
59
- Y Mas, Inc.","totalBilledConnections":"10","totalSpend":"5.50"}],"response":{"code":200,"message":"OK"}}'
29
+ body: ! '{"totalNumEntries":"30","dailyCampaignPerformanceResources":[{"date":"20111130","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"2.73","externalCampaignId":"","totalConnections":"110","accountName":"Enchiladas
30
+ Y Mas, Inc.","totalBilledConnections":"11","totalSpend":"30.00"},{"date":"20111101","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"2.92","externalCampaignId":"","totalConnections":"120","accountName":"Enchiladas
31
+ Y Mas, Inc.","totalBilledConnections":"12","totalSpend":"35.00"},{"date":"20111102","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"3.08","externalCampaignId":"","totalConnections":"130","accountName":"Enchiladas
32
+ Y Mas, Inc.","totalBilledConnections":"13","totalSpend":"40.00"},{"date":"20111103","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"3.21","externalCampaignId":"","totalConnections":"140","accountName":"Enchiladas
33
+ Y Mas, Inc.","totalBilledConnections":"14","totalSpend":"45.00"},{"date":"20111104","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"3.33","externalCampaignId":"","totalConnections":"150","accountName":"Enchiladas
34
+ Y Mas, Inc.","totalBilledConnections":"15","totalSpend":"50.00"},{"date":"20111105","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"1.88","externalCampaignId":"","totalConnections":"160","accountName":"Enchiladas
35
+ Y Mas, Inc.","totalBilledConnections":"16","totalSpend":"30.00"},{"date":"20111106","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"2.06","externalCampaignId":"","totalConnections":"170","accountName":"Enchiladas
36
+ Y Mas, Inc.","totalBilledConnections":"17","totalSpend":"35.00"},{"date":"20111107","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"2.22","externalCampaignId":"","totalConnections":"180","accountName":"Enchiladas
37
+ Y Mas, Inc.","totalBilledConnections":"18","totalSpend":"40.00"},{"date":"20111108","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"2.37","externalCampaignId":"","totalConnections":"190","accountName":"Enchiladas
38
+ Y Mas, Inc.","totalBilledConnections":"19","totalSpend":"45.00"},{"date":"20111109","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"2.50","externalCampaignId":"","totalConnections":"200","accountName":"Enchiladas
39
+ Y Mas, Inc.","totalBilledConnections":"20","totalSpend":"50.00"},{"date":"20111110","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"1.43","externalCampaignId":"","totalConnections":"210","accountName":"Enchiladas
40
+ Y Mas, Inc.","totalBilledConnections":"21","totalSpend":"30.00"},{"date":"20111111","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"1.59","externalCampaignId":"","totalConnections":"220","accountName":"Enchiladas
41
+ Y Mas, Inc.","totalBilledConnections":"22","totalSpend":"35.00"},{"date":"20111112","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"1.74","externalCampaignId":"","totalConnections":"230","accountName":"Enchiladas
42
+ Y Mas, Inc.","totalBilledConnections":"23","totalSpend":"40.00"},{"date":"20111113","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"1.88","externalCampaignId":"","totalConnections":"240","accountName":"Enchiladas
43
+ Y Mas, Inc.","totalBilledConnections":"24","totalSpend":"45.00"},{"date":"20111114","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"2.00","externalCampaignId":"","totalConnections":"250","accountName":"Enchiladas
44
+ Y Mas, Inc.","totalBilledConnections":"25","totalSpend":"50.00"},{"date":"20111115","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"2.31","externalCampaignId":"","totalConnections":"260","accountName":"Enchiladas
45
+ Y Mas, Inc.","totalBilledConnections":"26","totalSpend":"60.00"},{"date":"20111116","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"2.41","externalCampaignId":"","totalConnections":"270","accountName":"Enchiladas
46
+ Y Mas, Inc.","totalBilledConnections":"27","totalSpend":"65.00"},{"date":"20111117","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"2.50","externalCampaignId":"","totalConnections":"280","accountName":"Enchiladas
47
+ Y Mas, Inc.","totalBilledConnections":"28","totalSpend":"70.00"},{"date":"20111118","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"2.59","externalCampaignId":"","totalConnections":"290","accountName":"Enchiladas
48
+ Y Mas, Inc.","totalBilledConnections":"29","totalSpend":"75.00"},{"date":"20111119","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"2.67","externalCampaignId":"","totalConnections":"300","accountName":"Enchiladas
49
+ Y Mas, Inc.","totalBilledConnections":"30","totalSpend":"80.00"},{"date":"20111120","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"1.94","externalCampaignId":"","totalConnections":"310","accountName":"Enchiladas
50
+ Y Mas, Inc.","totalBilledConnections":"31","totalSpend":"60.00"},{"date":"20111121","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"2.03","externalCampaignId":"","totalConnections":"320","accountName":"Enchiladas
51
+ Y Mas, Inc.","totalBilledConnections":"32","totalSpend":"65.00"},{"date":"20111122","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"2.12","externalCampaignId":"","totalConnections":"330","accountName":"Enchiladas
52
+ Y Mas, Inc.","totalBilledConnections":"33","totalSpend":"70.00"},{"date":"20111123","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"2.21","externalCampaignId":"","totalConnections":"340","accountName":"Enchiladas
53
+ Y Mas, Inc.","totalBilledConnections":"34","totalSpend":"75.00"},{"date":"20111124","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"2.29","externalCampaignId":"","totalConnections":"350","accountName":"Enchiladas
54
+ Y Mas, Inc.","totalBilledConnections":"35","totalSpend":"80.00"},{"date":"20111125","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"1.67","externalCampaignId":"","totalConnections":"360","accountName":"Enchiladas
55
+ Y Mas, Inc.","totalBilledConnections":"36","totalSpend":"60.00"},{"date":"20111126","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"1.76","externalCampaignId":"","totalConnections":"370","accountName":"Enchiladas
56
+ Y Mas, Inc.","totalBilledConnections":"37","totalSpend":"65.00"},{"date":"20111127","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"1.84","externalCampaignId":"","totalConnections":"380","accountName":"Enchiladas
57
+ Y Mas, Inc.","totalBilledConnections":"38","totalSpend":"70.00"},{"date":"20111128","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"1.92","externalCampaignId":"","totalConnections":"390","accountName":"Enchiladas
58
+ Y Mas, Inc.","totalBilledConnections":"39","totalSpend":"75.00"},{"date":"20111129","response":{"code":200,"message":"OK"},"externalAccountId":"","campaignName":"CampaignRest1stTest-786","accountId":"111","campaignId":"786","cpc":"2.00","externalCampaignId":"","totalConnections":"400","accountName":"Enchiladas
59
+ Y Mas, Inc.","totalBilledConnections":"40","totalSpend":"80.00"}],"response":{"code":200,"message":"OK"}}'
60
60
  http_version: '1.1'
@@ -2,7 +2,7 @@
2
2
  - !ruby/struct:VCR::HTTPInteraction
3
3
  request: !ruby/struct:VCR::Request
4
4
  method: :post
5
- uri: http://api.qa.citygrid.com:80/advertising/performance/v2/campaign/actions
5
+ uri: http://sandbox-api.citygrid.com:80/advertising/performance/v2/campaign/actions
6
6
  body: ! '{"campaignId":786,"period":"last30Days"}'
7
7
  headers:
8
8
  accept:
@@ -10,14 +10,14 @@
10
10
  content-type:
11
11
  - Application/JSON
12
12
  authtoken:
13
- - 563da3d1cfa3a8e75f6a09e89f542d67
13
+ - 20f1918ababef692f0b7e71940acbe4b
14
14
  response: !ruby/struct:VCR::Response
15
15
  status: !ruby/struct:VCR::ResponseStatus
16
16
  code: 200
17
17
  message: OK
18
18
  headers:
19
19
  date:
20
- - Fri, 30 Dec 2011 01:06:14 GMT
20
+ - Sat, 31 Dec 2011 01:13:17 GMT
21
21
  server:
22
22
  - Apache-Coyote/1.1
23
23
  content-type:
@@ -26,11 +26,15 @@
26
26
  - Accept-Encoding
27
27
  transfer-encoding:
28
28
  - chunked
29
- body: ! '{"totalNumEntries":"6","userActions":[{"response":{"code":200,"message":"OK"},"campaignId":"786","cpc":"0.55","externalCampaignId":"","totalConnections":"25","totalSpend":"6.05","userAction":"View
30
- User Reviews","totalBillableConnections":"11"},{"response":{"code":200,"message":"OK"},"campaignId":"786","cpc":"0.00","externalCampaignId":"","totalConnections":"5","totalSpend":"0.00","userAction":"Request
31
- Driving Directions","totalBillableConnections":"0"},{"response":{"code":200,"message":"OK"},"campaignId":"786","cpc":"0.55","externalCampaignId":"","totalConnections":"105","totalSpend":"30.25","userAction":"View
32
- Profile Page","totalBillableConnections":"55"},{"response":{"code":200,"message":"OK"},"campaignId":"786","cpc":"0.00","externalCampaignId":"","totalConnections":"12","totalSpend":"0.00","userAction":"View
33
- Map","totalBillableConnections":"0"},{"response":{"code":200,"message":"OK"},"campaignId":"786","cpc":"0.00","externalCampaignId":"","totalConnections":"1","totalSpend":"0.00","userAction":"View
34
- Menu - MenuPages","totalBillableConnections":"0"},{"response":{"code":200,"message":"OK"},"campaignId":"786","cpc":"0.55","externalCampaignId":"","totalConnections":"34","totalSpend":"10.45","userAction":"Trackable
35
- Phone Call","totalBillableConnections":"19"}],"response":{"code":200,"message":"OK"}}'
29
+ body: ! '{"totalNumEntries":"10","userActions":[{"response":{"code":200,"message":"OK"},"campaignId":"786","cpc":"1.86","externalCampaignId":"","totalConnections":"860","totalSpend":"160.00","userAction":"Click
30
+ to website","totalBillableConnections":"86"},{"response":{"code":200,"message":"OK"},"campaignId":"786","cpc":"2.05","externalCampaignId":"","totalConnections":"660","totalSpend":"135.00","userAction":"View
31
+ Profile Page","totalBillableConnections":"66"},{"response":{"code":200,"message":"OK"},"campaignId":"786","cpc":"2.39","externalCampaignId":"","totalConnections":"460","totalSpend":"110.00","userAction":"View
32
+ menu - menu pages","totalBillableConnections":"46"},{"response":{"code":200,"message":"OK"},"campaignId":"786","cpc":"2.29","externalCampaignId":"","totalConnections":"720","totalSpend":"165.00","userAction":"Send
33
+ Profile Page to Email","totalBillableConnections":"72"},{"response":{"code":200,"message":"OK"},"campaignId":"786","cpc":"2.40","externalCampaignId":"","totalConnections":"750","totalSpend":"180.00","userAction":"View
34
+ Map","totalBillableConnections":"75"},{"response":{"code":200,"message":"OK"},"campaignId":"786","cpc":"1.92","externalCampaignId":"","totalConnections":"780","totalSpend":"150.00","userAction":"Watch
35
+ Video","totalBillableConnections":"78"},{"response":{"code":200,"message":"OK"},"campaignId":"786","cpc":"2.04","externalCampaignId":"","totalConnections":"810","totalSpend":"165.00","userAction":"Trackable
36
+ Phone Call","totalBillableConnections":"81"},{"response":{"code":200,"message":"OK"},"campaignId":"786","cpc":"2.14","externalCampaignId":"","totalConnections":"840","totalSpend":"180.00","userAction":"View
37
+ Offer","totalBillableConnections":"84"},{"response":{"code":200,"message":"OK"},"campaignId":"786","cpc":"2.24","externalCampaignId":"","totalConnections":"870","totalSpend":"195.00","userAction":"View
38
+ User Reviews","totalBillableConnections":"87"},{"response":{"code":200,"message":"OK"},"campaignId":"786","cpc":"2.33","externalCampaignId":"","totalConnections":"900","totalSpend":"210.00","userAction":"Request
39
+ Driving Directions","totalBillableConnections":"90"}],"response":{"code":200,"message":"OK"}}'
36
40
  http_version: '1.1'
@@ -2,7 +2,7 @@
2
2
  - !ruby/struct:VCR::HTTPInteraction
3
3
  request: !ruby/struct:VCR::Request
4
4
  method: :get
5
- uri: http://api.qa.citygrid.com:80/advertising/adgroup/v2/get?campaignId=2434702
5
+ uri: http://sandbox-api.citygrid.com:80/advertising/adgroup/v2/get?campaignId=2434702
6
6
  body: !!null
7
7
  headers:
8
8
  accept:
@@ -10,14 +10,14 @@
10
10
  content-type:
11
11
  - Application/JSON
12
12
  authtoken:
13
- - 563da3d1cfa3a8e75f6a09e89f542d67
13
+ - 20f1918ababef692f0b7e71940acbe4b
14
14
  response: !ruby/struct:VCR::Response
15
15
  status: !ruby/struct:VCR::ResponseStatus
16
16
  code: 200
17
17
  message: OK
18
18
  headers:
19
19
  date:
20
- - Fri, 30 Dec 2011 01:06:01 GMT
20
+ - Sat, 31 Dec 2011 01:12:26 GMT
21
21
  server:
22
22
  - Apache-Coyote/1.1
23
23
  content-type: