Hello,
You may use the SelectiveOptimization to set the optimization settings in the
Google Ads UI. Please find below the code snippet to set the conversion tracker:
SelectiveOptimization optimize = new SelectiveOptimization();
optimize.setConversionTypeIds(new long[] {257993218L});
campaign.setSelectiveOptimization(optimize);
Could you please give it a try and let me know if you encounter any issues?
Thanks,
Bharani, Google Ads API Team
ref:_00D1U1174p._5001UEIH1s: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/B7reo000000000000000000000000000000000000000000000PVVXC1005cZx9zzhQQi5JUJYIgw-GQ%40sfdc.net.