Ad Schedule Id not found

37 views
Skip to first unread message

iukhn...@gmail.com

unread,
Aug 21, 2017, 1:50:08 AM8/21/17
to AdWords API Forum
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

Peter Oliquino

unread,
Aug 21, 2017, 3:04:54 AM8/21/17
to AdWords API Forum
Hi,

In order to get the Id of your AdSchedule, you will need to use the CampaignCriterionService.get. If this is not what you are looking for, could you provide the SOAP request and response so I can better investigate your issue? 

If you haven't enabled SOAP logging yet, you may refer to this guide for Python as to how. You may then reply using Reply privately to author.

Best regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages