Re: Error while trying to add a LogicalUserList

2018-03-02 Thread iukhnovychv
hi, what you exactly changed in your pythone code?

W dniu poniedziałek, 20 lipca 2015 19:50:01 UTC+2 użytkownik Damien napisał:
>
> Hi Josh,
>
> Thank you very much, this solved my problem and I've been able to 
> successfully create my LogicalUserList.
>
> Damien
>
> On Monday, July 20, 2015 at 10:24:21 AM UTC-4, Josh Radcliff (AdWords API 
> Team) wrote:
>>
>> Hi Damien,
>>
>> I think the issue here is your ruleOperands 
>> .
>>  
>> This attribute should be a list of LogicalUserListOperand 
>> s,
>>  
>> each of which in turn has a *child* UserList element.
>>
>> So instead of:
>>   
>> ALL
>> 
>>   102489659
>>
>> your request should look like:
>>   
>> ALL
>> 
>>   
>> 102489659
>> 
>> Please give that a try and let me know if you run into any other issues.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Friday, July 17, 2015 at 2:36:37 PM UTC-4, Damien wrote:
>>>
>>> Hi Josh,
>>>
>>> Here is the Python logger output, you can find the XML request below 
>>> (all sensitive information replaced by "[removed]"):
>>>
>>> DEBUG:suds.transport.http:opening (https://
>>> adwords.google.com/api/adwords/rm/v201502/AdwordsUserListService?wsdl)
>>> DEBUG:suds.transport.http:sending:
>>> URL: https://
>>> adwords.google.com/api/adwords/rm/v201502/AdwordsUserListService
>>> HEADERS: {'Content-Type': 'text/xml; charset=utf-8', 'Authorization': 
>>> 'Bearer 
>>> [removed]', 'SOAPAction': b'""', 'Content-type': 'text/xml; 
>>> charset=utf-8', 'Soapaction': b'""'}
>>> MESSAGE:
>>> b'>> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/; xmlns:tns="
>>> https://adwords.google.com/api/adwords/rm/v201502; xmlns:ns2="
>>> https://adwords.google.com/api/adwords/cm/v201502; xmlns:ns0="
>>> http://schemas.xmlsoap.org/soap/envelope/; xmlns:ns1="
>>> https://adwords.google.com/api/adwords/rm/v201502; xmlns:xsi="
>>> http://www.w3.org/2001/XMLSchema-instance;>>>  
>>> xmlns:tns="https://adwords.google.com/api/adwords/cm/v201502;>[removed]>>  
>>> xmlns:tns="https://adwords.google.com/api/adwords/cm/v201502;>[removed]>>  
>>> xmlns:tns="https://adwords.google.com/api/adwords/cm/v201502;>[removed] 
>>> (AwApi-Python, googleads/3.5.0, 
>>> Python/3.4.3)https://adwords.google.com/api/adwords/cm/v201502;>false>>  
>>> xmlns:tns="https://adwords.google.com/api/adwords/cm/v201502;>falseADD>>  
>>> xsi:type="ns1:LogicalUserList">[removed] list created at 20150717 
>>> 14:18:00Users who visited list A but not B, C 
>>> and 
>>> DLogicalUserListALL>>  
>>> xsi:type="ns1:ExpressionRuleUserList">102489659falseList
>>>  
>>> A created at 20150717 14:17:57Users who visited 
>>> a page where URL contains 
>>> [removed]OPENOWNEDACTIVE30RULE_BASEDExpressionRuleUserListurl__CONTAINS[removed]NONE>>  
>>> xsi:type="ns1:ExpressionRuleUserList">102489779falseList
>>>  
>>> B created at 20150717 14:17:58Users who visited 
>>> a page where URL contains 
>>> [removed]OPENOWNEDACTIVE30RULE_BASEDExpressionRuleUserListurl__CONTAINS[removed]>>  
>>> xsi:type="ns1:ExpressionRuleUserList">102489899falseList
>>>  
>>> C created at 20150717 14:17:58Users who visited 
>>> a page where URL contains 
>>> [removed]OPENOWNEDACTIVE30RULE_BASEDExpressionRuleUserListurl__CONTAINS[removed]>>  
>>> xsi:type="ns1:ExpressionRuleUserList">102490019falseList
>>>  
>>> D created at 20150717 14:17:59Users who visited 
>>> a page where URL contains 
>>> [removed]OPENOWNEDACTIVE30RULE_BASEDExpressionRuleUserListurl__CONTAINS[removed]'
>>> ERROR:suds.client:
>>>
>>> Thank you for your help,
>>>
>>> Damien
>>>
>>> On Friday, July 17, 2015 at 9:26:44 AM UTC-4, Josh Radcliff (AdWords API 
>>> Team) wrote:

 Hi Damien,

 In the past, I've seen this error when the SOAP XML was malformed. 
 Could you post your request XML with sensitive information removed (such 
 as 
 your developer token) so I can check it?

 Thanks,
 Josh, AdWords API Team

 On Thursday, July 16, 2015 at 8:56:54 AM UTC-4, Damien wrote:
>
> Hi,
>
> I am currently working on creating Remarketing lists. I am using the 
> Google AdWords API's Python libraries.
>
> I needed to create a LogicalUserList combining two 
> ExpressionRuleUserList. This is the error I got:
> suds.WebFault: Server raised fault: 'Cannot construct an instance of 
> com.google.ads.api.services.datax.userlists.LogicalUserListOperand 
> because 
> it is abstract.  You are probably missing an @Uses annotation while 
> invoking public abstract 
> com.google.ads.api.services.datax.userlists.UserListReturnValue 
> 

Ad Schedule Id not found

2017-08-20 Thread iukhnovychv
Hi,

I want to change bid adjustment in Schedule by API and whan i am creating 
in Python script and i have an error: RequiredError.REQUIRED @ 
operations[0].operand.criterion.id 
'xsi_type': 'AdSchedule',
'dayOfWeek': 'TUESDAY',
'startHour': "0",
'endHour': "24",
'startMinute': "ZERO",
'endMinute': "ZERO"
  }

So as I understand i need to add also id of schedule. Could you help me 
where i can find it? Thanks

https://developers.google.com/adwords/api/docs/reference/v201708/CampaignCriterionService.AdSchedule

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1e6e125b-95ea-4c97-800a-c71d03022683%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Ad Schedule id

2017-08-20 Thread iukhnovychv
Hy, where I can find Schedule Id, I need it for change bid adjustment on 
schedules

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d47455b3-cfba-4338-9d4a-b65750f51e5d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.