--- http_interactions: - request: method: get uri: https://graph.facebook.com/v2.8/6069436026057?access_token=TEST_ACCESS_TOKEN&fields=id,account_id,buying_type,can_use_spend_cap,configured_status,created_time,effective_status,name,objective,start_time,stop_time,updated_time,spend_cap body: encoding: US-ASCII string: '' headers: Accept: - "*/*" Accept-Encoding: - gzip, deflate User-Agent: - rest-client/2.0.0 (darwin16.3.0 x86_64) ruby/2.2.6p396 Host: - graph.facebook.com response: status: code: 200 message: OK headers: Access-Control-Allow-Origin: - "*" Etag: - '"3093fb2c3c70fd686df36b0d287b0e7bfb65cb68"' Pragma: - no-cache Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - v2.8 Expires: - Sat, 01 Jan 2000 00:00:00 GMT Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - DUi9h6Na23I X-Fb-Rev: - '2769824' Vary: - Accept-Encoding Content-Encoding: - gzip X-Fb-Debug: - PNBIKRQfFP8ih7Pci3/yzuOwZsjTBbk/ZgYMC/sy8EgEdnMFm95vMqyVgGtzmwkw5pszlRXz1qS1vkgDPDvtHw== Date: - Tue, 10 Jan 2017 07:38:21 GMT Connection: - keep-alive Content-Length: - '242' body: encoding: ASCII-8BIT string: !binary |- H4sIAAAAAAAAA22OwWrDMAyGX2X4vICUpk7iW8l66KUdS7odjZMoxYM6IbYL Zezdp2Sww+hN6Pv+X/oSthdKSJBltpGQStjm4lmYrhujC3qFCFssNwVigUVa wMLbeLfuosN9IhZ256o5nI6874zT0ZP2E7led2YSKsyRGIxusJc4U699MCF6 jr3uzvX+ZUnNZAKTYK9LXQooEygSSBtAhZnKygRyADZpGKgL9kYPWpxZ0x/U ehvoqRrdjWZvR+cZju3nb5CN6nR837/V/HHNhIvm8Ph0KhX+nY5T/+/JPAFk uUE2Ua0zm98/F4f8j1MBAAA= http_version: recorded_at: Tue, 10 Jan 2017 07:38:21 GMT - request: method: post uri: https://graph.facebook.com/v2.8/act_1051938118182807/adsets body: encoding: UTF-8 string: campaign_id=6069436026057&name=Test&targeting=%7B%22age_max%22%3A65%2C%22age_min%22%3A18%2C%22app_install_state%22%3A%22not_installed%22%2C%22excluded_custom_audiences%22%3A%5B%7B%22name%22%3A%22All-Users-2016-07-28%22%2C%22id%22%3A%226068994792257%22%7D%5D%2C%22genders%22%3A%5B2%5D%2C%22geo_locations%22%3A%7B%22countries%22%3A%5B%22US%22%5D%2C%22location_types%22%3A%5B%22home%22%2C%22recent%22%5D%7D%2C%22locales%22%3A%5B24%2C6%5D%2C%22publisher_platforms%22%3A%5B%22facebook%22%2C%22instagram%22%2C%22audience_network%22%5D%2C%22device_platforms%22%3A%5B%22desktop%22%5D%2C%22facebook_positions%22%3A%5B%22feed%22%2C%22right_hand_column%22%5D%7D&promoted_object=%7B%22pixel_id%22%3A%221472889202927380%22%2C%22custom_event_type%22%3A%22PURCHASE%22%7D&optimization_goal=OFFSITE_CONVERSIONS&daily_budget=1000&billing_event=IMPRESSIONS&status=ACTIVE&is_autobid=true&access_token=TEST_ACCESS_TOKEN headers: Accept: - "*/*" Accept-Encoding: - gzip, deflate User-Agent: - rest-client/2.0.0 (darwin16.3.0 x86_64) ruby/2.2.6p396 Content-Length: - '1061' Content-Type: - application/x-www-form-urlencoded Host: - graph.facebook.com response: status: code: 200 message: OK headers: P3p: - 'CP="Facebook does not have a P3P policy. Learn why here: http://fb.me/p3p"' Access-Control-Allow-Origin: - "*" Pragma: - no-cache Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - v2.8 Expires: - Sat, 01 Jan 2000 00:00:00 GMT Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - AwRM00wrgYX X-Fb-Rev: - '2769824' Set-Cookie: - sW=1484033901%3AAaBh0wN0r79WkD0T; path=/; domain=.graph.facebook.com; secure X-Fb-Debug: - qPat9POKPd9oGXI3rw0jKoygmTYkHzHEW3Lz10stQiKAoK3uXN0J7bB2FrbNcgnoHZLfHnN0m7oXnSpa0LDK2Q== Date: - Tue, 10 Jan 2017 07:38:22 GMT Connection: - keep-alive Content-Length: - '22' body: encoding: UTF-8 string: '{"id":"6081945233457"}' http_version: recorded_at: Tue, 10 Jan 2017 07:38:22 GMT - request: method: get uri: https://graph.facebook.com/v2.8/6081945233457?access_token=TEST_ACCESS_TOKEN&fields=id,account_id,campaign_id,name,status,configured_status,effective_status,bid_amount,billing_event,optimization_goal,pacing_type,daily_budget,budget_remaining,lifetime_budget,promoted_object,targeting,created_time,updated_time body: encoding: US-ASCII string: '' headers: Accept: - "*/*" Accept-Encoding: - gzip, deflate User-Agent: - rest-client/2.0.0 (darwin16.3.0 x86_64) ruby/2.2.6p396 Host: - graph.facebook.com response: status: code: 200 message: OK headers: Access-Control-Allow-Origin: - "*" Etag: - '"0983c34785b31e38d0cf8f37ed607f5a8291d0cd"' Pragma: - no-cache Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - v2.8 Expires: - Sat, 01 Jan 2000 00:00:00 GMT Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - AM3sukRLuz3 X-Fb-Rev: - '2769824' Vary: - Accept-Encoding Content-Encoding: - gzip X-Fb-Debug: - wluPtKeCIEfsitUpt6Q66u1Q4wvfvEno0Nm4AvxgyjpQ7yBYG4oBOq83X8Bgjun4quG/9QYEgHrHu7fVPqHR7A== Date: - Tue, 10 Jan 2017 07:38:22 GMT Connection: - keep-alive Content-Length: - '578' body: encoding: ASCII-8BIT string: !binary |- H4sIAAAAAAAAA41SwW7iMBD9F59BShwICTfE0l0OpaiBXqrKMs4QvDi25Thd uoh/37EBtau97M0z82bem+c5E1mTKcmTIi1HY5plo/GEDAgXwvTas1hMk3Fa ZkWaFmlBiyTUBW8tl41mt+68HGV5QvMkdmveAqY30HmMOs9932E8m2+WL4vQ bfReNr2Dmv1bhP0ehJfv8Fmbzx7Xs+X3FVvPttXiG4J2UimpGwbvoD0ilo/r 50VVLZ9WFVaN9bKVv7mXRrPGcIWIp4eHarlZsPnT6mXxfEdaLsIY/2FR8GuQ qmvuavI2IDWX6oPt+roBH01IkkAcY+ag5VJja6iMMa/kHpAUPhsC2jrTGo9r mt1PXIpMz8TKE6ibr6MJLYqSJrSkk6wIDaLvvGmva91UkfX2ef5jVi3IZUA8 dzg98p4Jb4C1/ESm+XhwDaQm07TAwFomNW6jVHQxjNHG33NQB59PQvU1artx 8r6WoAWg4a/n+1XkRVmOJiWlX/91ptRw24HrhjRJ82FKh0lKLmhZA7rGNA6g MTJMGRF/oQt640k5GRnItgom3+tx15g/GOQYEAci/Ozb5YpRsUhHg/ztiwns 60ejMDhZrrswDpcM9vc7JbsDOGYV93vj2kix5wJ2xhwREQ1pHG/Dzd8MYBr8 L+OOQd8dyqzp5G0RHADRQSebg2cHPBkmjOpbHc8G3iXO+Iuwhu7ojY3bCAc8 XEQ4FpSMDk7QvmFSbmg2zYopxXcRT6239X8hL38ARmr8p8QDAAA= http_version: recorded_at: Tue, 10 Jan 2017 07:38:22 GMT recorded_with: VCR 3.0.3