Hi Mike, Thanks for responding back .
What should be the value of "campaign.manual_cpm" be set to ? I tried several combinations but none seems to work . If I set it to : campaign.manual_cpm = True or campaign.manual_cpm = "ManualCpm" I get following error AttributeError: Assignment not allowed to field "manual_cpm" in protocol message object. I have referred to this documentation "https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v2.resources#campaign" wherever I have done the setting for different parameters. >From the documentation also it's not clear what should be used. Could you >guide me there please ? Thanks and Regards, Vinutha Nayak On Tuesday, 2 July 2019 14:48:32 UTC+5:30, adsapiforumadvisor wrote: > > Hello, > > It appears my response may have gotten lost. I've reproduced it below: > > From the code you shared: > > campaign.manual_cpc.enhanced_cpc_enabled.value = False > campaign.campaign_budget.value = > campaign_budget_response.results[0].resource_name > campaign.bidding_strategy_type = client.get_type('BiddingStrategyTypeEnum', > version='v1').MANUAL_CPM > > You are using "campaign.manual_cpc", which is why the campaign is being > created as MANUAL_CPC. You should instead use campaign.manual_cpm. Looking > through the campaign.proto file > <https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v1/resources/campaign.proto#L307>, > > you can see that these two fields are part of the same "oneof" definition, > which means that these fields are mutually exclusive. > > Additionally, I think the bidding strategy type is determined by the > campaign bidding strategy, so whatever you sent to the server is ignored > and rather the one that is specified by the campaign_bidding_strategy oneof > is used instead. Please try fixing the first line in the snippet above to > use manual_cpm as intended and let me know how that goes. > > 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/6fa4eeee-1e39-49e2-a30f-ca8fa14258a0%40googlegroups.com.