Hi Mike,

I tried the syntax as you suggested . It still gives  same error :


[image: googleadsquery.PNG] <about:invalid#zClosurez>





 File "test.py", line 68, in main
*    campaign.manual_cpm = client.get_type('ManualCpm', version='v1')*
*AttributeError: Assignment not allowed to field "manual_cpm" in protocol 
message object.*



Thanks and Regards,
Vinutha Nayak



On Wednesday, 3 July 2019 19:38:09 UTC+5:30, adsapiforumadvisor wrote:
>
> Hello,
>
> The manual_cpm type doesn't have any parameters. You simply have to 
> instantiate one like you would any other resource and then attach it to the 
> campaign. I'm not an expert at the Python library, but from looking at 
> other examples it looks like it would be something like this: 
>
> campaign.manual_cpm = client.get_type('ManualCpm', version='v1')
>
> Let me know if this works for you.
>
> Regards,
> Mike, Google Ads API Team
>
> ref:_00D1U1174p._5001UCZl6w: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 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2d7f5f39-6398-4561-93d7-776d7bb5f7d0%40googlegroups.com.

Reply via email to