Groups
Groups
Sign in
Groups
Groups
(Deprecated) Google Ads API and AdWords API Forum
Conversations
Labels
About
Send feedback
Help
RE: Input in composite field
4 views
Skip to first unread message
Google Ads API Forum Advisor Prod
unread,
Aug 27, 2020, 4:55:02 PM
8/27/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to kasper...@mintmedia.as, adwor...@googlegroups.com
Hi Kasper,
The error is a bit misleading. This thread talks about the error a bit.
https://stackoverflow.com/questions/18376190/attributeerror-assignment-not-allowed-to-composite-field-task-in-protocol-mes
The issue is that the field
proposed_start_date_time
is a StringValue, so you cannot directly assign to it.
https://github.com/googleads/google-ads-python/blob/master/examples/basic_operations/add_campaigns.py#L86
for an example where the startdate of a campaign is set. The concept is similar on how to set the proposed_start_date_time field.
Cheers
Anash
ref:_00D1U1174p._5004Q23umGB:ref
Reply all
Reply to author
Forward
0 new messages