API connection seems to be working. Audiences are being created but I have an issue with specifying segment parameters that should include/exclude audience based on the ga:pagePath.
So my questions are:
What do I do wrong?
Can someone give a hint or an advice how to make it working?
I posted this issue earlier on Stack Overflow with table data example and script code.