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

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/zmiko000000000000000000000000000000000000000000000QFQQ2U00PmGTHJHkQ5-Jm_ikdilpLw%40sfdc.net.

Reply via email to