Closed elcct closed 10 years ago
Just to update. I managed to get it working.
As in the example:
.getCampaignsByCriteria({})
Call above will not work with empty criteria. I didn't have any campaigns to search for so first I tried different method:
dfa_client.GetService('size').getSizes({})
It gave me the same error as in my first post, but same kind of call works with legacy lib.
When changed to:
dfa_client.GetService('size').getSizes({'ids': [0]})
It worked, but then I got error:
suds.WebFault: Server raised fault: '1071 - Failed to authenticate. User profile name xxx@yyy.com not found.
After I put USER_PROFILE_NAME = 'xxx'
omitting domain name it worked.
I hope that helps...
I ended up using legacy lib for now.
Hey there,
Thanks for reporting this. There's a few problems here that I'm fixing right now.
I'll make a release to fix this in about an hour.
The release fixing these issues it out.
Login issue was a mix-up - I have DFA username same as Google account username I used to authenticate with OAuth.
I hope this will change in future - use of two accounts to operate the API seems really weird.
Thank you.
First of all:
isn't right, because there is no 'CampaignService':
Calling:
Results in:
It seems like this library doesn't work at all - whatever call I make I get:
I tried it with Python 2.7.