{"action":"created","issue":{"url":"https://api.github.com/repos/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/issues/8","labels_url":"https://api.github.com/repos/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/issues/8/comments","events_url":"https://api.github.com/repos/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/issues/8/events","html_url":"https://github.com/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/issues/8","id":47038995,"number":8,"title":"Segment - Using search with contain","user":{"login":"dresenhista","id":3507714,"avatar_url":"https://avatars.githubusercontent.com/u/3507714?v=3","gravatar_id":"","url":"https://api.github.com/users/dresenhista","html_url":"https://github.com/dresenhista","followers_url":"https://api.github.com/users/dresenhista/followers","following_url":"https://api.github.com/users/dresenhista/following{/other_user}","gists_url":"https://api.github.com/users/dresenhista/gists{/gist_id}","starred_url":"https://api.github.com/users/dresenhista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dresenhista/subscriptions","organizations_url":"https://api.github.com/users/dresenhista/orgs","repos_url":"https://api.github.com/users/dresenhista/repos","events_url":"https://api.github.com/users/dresenhista/events{/privacy}","received_events_url":"https://api.github.com/users/dresenhista/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-10-28T15:21:12Z","updated_at":"2015-02-03T10:52:50Z","closed_at":null,"body":"I'm trying to create a segment using contain. But I'm not able to.\r\nI'm using the same logic in this post https://github.com/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/issues/4 combined with adobe documentation https://marketing.adobe.com/developer/en_US/documentation/sitecatalyst-reporting/c-segments, and I'm not able to.\r\n\r\n'segments' => array(\r\n       array(\r\n            'id'=>\"trackingcode\", \r\n            'search'=>array('type'=>'AND', 'keywords'=>array('ca_1'))\r\n          \r\n         )\r\n)\r\nThe error that I'm getting is the invalid segment: PHP Fatal error:  Uncaught exception 'Exception' with message 'rp_queueAndGetReport(): error 5026 - Invalid segment'\r\nHas anyone used the contain filter in segment with PHP?\r\n"},"comment":{"url":"https://api.github.com/repos/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/issues/comments/72630861","html_url":"https://github.com/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/issues/8#issuecomment-72630861","issue_url":"https://api.github.com/repos/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/issues/8","id":72630861,"user":{"login":"bshaffer","id":103941,"avatar_url":"https://avatars.githubusercontent.com/u/103941?v=3","gravatar_id":"","url":"https://api.github.com/users/bshaffer","html_url":"https://github.com/bshaffer","followers_url":"https://api.github.com/users/bshaffer/followers","following_url":"https://api.github.com/users/bshaffer/following{/other_user}","gists_url":"https://api.github.com/users/bshaffer/gists{/gist_id}","starred_url":"https://api.github.com/users/bshaffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bshaffer/subscriptions","organizations_url":"https://api.github.com/users/bshaffer/orgs","repos_url":"https://api.github.com/users/bshaffer/repos","events_url":"https://api.github.com/users/bshaffer/events{/privacy}","received_events_url":"https://api.github.com/users/bshaffer/received_events","type":"User","site_admin":false},"created_at":"2015-02-03T10:52:50Z","updated_at":"2015-02-03T10:52:50Z","body":"If you're using version 1.4, \"id\" should be \"element\". Try changing this and see if it fixes your request "}}