--- - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :post uri: http://sandbox-api.citygrid.com:80/advertising/campaign/v2/mutate body: ! '{"mutateOperationListResource":[{"operator":"ADD","operand":{"name":"PleaseWork6","startDate":"20111231","endDate":"20120109","product":"PERFORMANCE","budget":{"amount":30000},"mopId":386742}}]}' headers: accept: - application/json content-type: - Application/JSON authtoken: - ea42560cc6365e5ad550e61bc6059471 response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: date: - Sat, 31 Dec 2011 01:13:03 GMT server: - Apache-Coyote/1.1 content-type: - application/json vary: - Accept-Encoding transfer-encoding: - chunked body: ! '{"campaigns":[{"name":"PleaseWork6","id":3668462,"response":{"message":"OK","code":200},"budgetAmount":"30000","startDate":"","endDate":"20120109","externalId":"","servingStatus":"PENDING"}]}' http_version: '1.1' - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :post uri: http://sandbox-api.citygrid.com:80/advertising/adgroup/v2/mutate body: ! '{"mutateOperationListResource":[{"operator":"ADD","operand":{"placeId":"10728522","campaignId":3668462,"contractTermMonths":"12","monthlyServiceFee":"19.95","bids":[{"actionTargetName":"map & directions","ppe":"1.80"}]}}]}' headers: accept: - application/json content-type: - Application/JSON authtoken: - ea42560cc6365e5ad550e61bc6059471 response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: date: - Sat, 31 Dec 2011 01:13:08 GMT server: - Apache-Coyote/1.1 content-type: - application/json vary: - Accept-Encoding transfer-encoding: - chunked body: ! '{"adGroups":[{"id":"32026532","placeId":"10728522","campaignId":"3668462","productId":"6","contractTermMonths":"12","monthlyServiceFee":"19.95","businessPhone":"","displayPhone":"","meteredPhoneType":"","recordCalls":"","email":"","assignMeteredLine":"","bids":[{"actionTargetName":"map & directions","ppe":"1.8"}],"name":"","status":"","responseStatus":{"message":"OK","code":200}}]}' http_version: '1.1' - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: http://sandbox-api.citygrid.com:80/advertising/adgroup/v2/get?adGroupIds=32026532 body: !!null headers: accept: - application/json content-type: - Application/JSON authtoken: - ea42560cc6365e5ad550e61bc6059471 response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: date: - Sat, 31 Dec 2011 01:13:12 GMT server: - Apache-Coyote/1.1 content-type: - application/json vary: - Accept-Encoding transfer-encoding: - chunked body: ! '{"totalNumEntries":1,"adGroups":[{"id":32026532,"placeId":10728522,"campaignId":3668462,"businessPhone":"","displayPhone":"","meteredPhoneType":"","recordCalls":"","email":"","name":"","status":"","bids":[{"actionTargetName":"map & directions","ppe":1.8}]}]}' http_version: '1.1'