Sha256: c97cd05baa0d9b143987b4bff650135c792317900f60411f04befa0fbef056f4

Contents?: true

Size: 1.96 KB

Versions: 3

Compression:

Stored size: 1.96 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://graph.facebook.com/v<api_version>/act_10152335766987003/campaigns?access_token=<access_token>&appsecret_proof=<appsecret_proof>&effective_status%5B%5D=ACTIVE&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&limit=100
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - identity
      User-Agent:
      - rest-client/2.0.2 (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:
      - '"bef5c8022e30c0db14d45a5eff8f380b2e9be4a5"'
      Pragma:
      - no-cache
      Cache-Control:
      - private, no-cache, no-store, must-revalidate
      X-Fb-Rev:
      - '2980367'
      Content-Type:
      - application/json
      X-Fb-Trace-Id:
      - A8QPcCBBVRP
      Facebook-Api-Version:
      - v<api_version>
      Expires:
      - Sat, 01 Jan 2000 00:00:00 GMT
      Vary:
      - Accept-Encoding
      X-Fb-Debug:
      - kAfkCio2n0OjsFS7X2WkHoHAR4NqjbgCOBZVeB4NwkjbDflBEDTBndjGiZVFIY/yDeLHc8nuchE3vYnAyLWX6w==
      Date:
      - Wed, 26 Apr 2017 00:48:41 GMT
      Connection:
      - keep-alive
      Content-Length:
      - '434'
    body:
      encoding: UTF-8
      string: '{"data":[{"id":"6076261167842","account_id":"10152335766987003","buying_type":"AUCTION","can_use_spend_cap":true,"configured_status":"ACTIVE","created_time":"2017-04-25T16:54:27-0700","effective_status":"ACTIVE","name":"Test","objective":"APP_INSTALLS","start_time":"1969-12-31T15:59:59-0800","updated_time":"2017-04-25T16:54:27-0700"}],"paging":{"cursors":{"before":"NjA3NjI2MTE2Nzg0MgZDZD","after":"NjA3NjI2MTE2Nzg0MgZDZD"}}}'
    http_version:
  recorded_at: Wed, 26 Apr 2017 00:48:41 GMT
recorded_with: VCR 3.0.3

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
facebook_ads-0.6.3 spec/fixtures/cassettes/FacebookAds_AdAccount/_ad_campaigns/lists_campaigns.yml
facebook_ads-0.6.2 spec/fixtures/cassettes/FacebookAds_AdAccount/_ad_campaigns/lists_campaigns.yml
facebook_ads-0.6.0 spec/fixtures/cassettes/FacebookAds_AdAccount/_ad_campaigns/lists_campaigns.yml