Hello.
Thanks a lot about your answer. However, I think it is still insufficient 
to set campaign's bidding strategy to MANUAL_CPM or MAXIMIZE_CONVERSION in 
Google Ads API with Python.(Actually, I already did it with Adwords API but 
I want to migrate it to Ads API). Since both 
MANUAL_CPM(https://developers.google.com/google-ads/api/reference/rpc/v5/ManualCpm)
 
and 
MAXIMIZE_CONVERSION(https://developers.google.com/google-ads/api/reference/rpc/v5/MaximizeConversions)has
 
no fileds to fill, I have no idea to setting campaign's bidding strategy to 
those of them.

I tried to change "campaign.manual_cpm" or "campaign.maximize_conversion" 
directly, but it seems impossible becuase "AttributeError: Assignment not 
allowed to composite field "manual_cpm" in protocol message object." 
occured.

Thanks and regards.

2020년 10월 30일 금요일 오전 1시 17분 25초 UTC+9에 adsapiforumadvisor님이 작성:

> Hi Wonkeun,
>
> Thank you for reaching out. The MANUAL_CPM and MAXIMIZE_CONVERSION are 
> available in both AdWords API and Google Ads API. Please refer to this 
> guide 
> <https://developers.google.com/adwords/api/docs/guides/bidding#strategy_types>
>  
> for restrictions in AdWords API and this guide 
> <https://developers.google.com/google-ads/api/docs/campaigns/bidding/strategy-types>
>  
> for restrictions in Google Ads API. You could refer to these lines of code 
> <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201809/basicoperations/AddCampaigns.java#L163-L170>
>  
> on how to set the bidding strategy to MANUAL_CPM or MAXIMIZE_CONVERSION in 
> AdWords API. Alternatively, you could refer to this line of code 
> <https://github.com/googleads/google-ads-java/blob/master/google-ads-examples/src/main/java/com/google/ads/googleads/examples/basicoperations/AddCampaigns.java#L158>
>  
> on how to set these bidding strategies in Google Ads API.
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
> [image: Google Logo] 
> Xiaoming 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q275YNJ: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/4315e7b1-ff21-43bc-a185-12b0a65239c0n%40googlegroups.com.

Reply via email to