Hi,

Thank you for raising this concern to the Google Ads API support team. 

I am glad to hear that you are able to find the correct setting. I would 
also suggest referring to our Conversion goals 
(https://developers.google.com/google-ads/api/docs/conversions/goals/overview) 
and Conversion action settings 
(https://developers.google.com/google-ads/api/docs/conversions/goals/overview#conversion_action_settings)
 
for more informations about this.

Regards,
Google Ads API Team
On Wednesday, April 12, 2023 at 5:23:38 AM UTC+8 jo...@adlinks.io wrote:

> Just found the correct setting for anyone else with the same problem:
>
> conversion_action.primary_for_goal = False
>
>
>
> On Tuesday, April 11, 2023 at 2:34:07 PM UTC-6 Josh Lee wrote:
>
>> [image: optimization type.PNG]
>> This is what I'm referring to. The conversion action optimization is set 
>> to Primary by default. I want to set it secondary when I create the 
>> conversion type with the API.
>> On Tuesday, April 11, 2023 at 2:31:11 PM UTC-6 Josh Lee wrote:
>>
>>> I am trying to create a conversion action using the Google Ads API. I've 
>>> found that when I create the conversion action, it is automatically set as 
>>> a "Primary" Optimization Type. However, I'd like to create the conversion 
>>> action and set the Optimization type to "Secondary". The only thing that 
>>> looks remotely close to achieving this is this code:
>>>
>>> conversion_action.include_in_conversions_metric = False
>>>
>>> However, when I try to send a request to create the conversion action 
>>> with this metric set to False, I receive a response from Google that says:
>>>
>>> message: "The field attempted to be mutated is immutable."
>>>
>>> Does anyone know how to create the conversion action while setting this 
>>> Conversion Type to Secondary?
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/5fc5bc27-6486-4a5b-bef0-5ad96d33aaf9n%40googlegroups.com.
  • Set Optimization Type ... 'Josh Lee' via Google Ads API and AdWords API Forum
    • Re: Set Optimizat... Google Ads API and AdWords API Forum

Reply via email to