GithubHelp home page GithubHelp logo

Comments (4)

seattlecyclist avatar seattlecyclist commented on April 20, 2024

Closing. Found this document. https://developers.facebook.com/ads/blog/post/2018/06/13/sharing-custom-audiences/
I need to provide the relationship_type

from facebook-ruby-business-sdk.

shakeelm99x avatar shakeelm99x commented on April 20, 2024

Hi @seattlecyclist,

Could you please provide me an example of how to provide "relationship_type"? Thank you

from facebook-ruby-business-sdk.

TheTamFamily avatar TheTamFamily commented on April 20, 2024

Hi @seattlecyclist,

Did you manage to view the rule that was set via API in the Audience Manager. After using the relationship_type I'm still unable to view the rule. Could you paste the json in this message.

Thanks,

David

from facebook-ruby-business-sdk.

souldeux avatar souldeux commented on April 20, 2024

Hello, people of the past and future. If you're anything like me then this issue was one of the most useful results you found when searching for this error.

If you're anything like me, relationship_type was not the issue and your hope quickly dissolved.

My issue, which I also see in the initial code snippet, was providing event_sources but no filter that indicated which event I wanted to filter on from those sources.

"rules": [
   {"event_sources":[
       {"type":"pixel","id": pixel_id}
   ],
    "retention_seconds":2592000,
    "filter":{
        "operator":"and",
        "filters":[
            {"field": "event", "operator": "eq", "value": "PageView"}, # This is new!
            {"operator":"or",
             "filters":[
                 {"field":"url",
                  "operator":"i_contains",
                  "value":"lifting"
                 },
                 {"field":"url",
                  "operator":"i_contains",
                  "value":"Crossfit"
                 }
             ]
            }]
    },"template":"VISITORS_BY_URL"}]
}

I tinkered around with relationship_type along with several other fields I found mentioned elsewhere: sub_type and customer_data_source. Including them doesn't break anything, but it doesn't fix anything either (in my case, at least).

from facebook-ruby-business-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.