Hi
Have tested but produces below error, 

CampaignError.SELECTIVE_OPTIMIZATION_CONVERSION_TYPE_INVALID @ 
operations[0].operand.selectiveOptimization.conversionTypeIds; 
trigger:'ConversionTypeId: 469825417', 
CampaignError.SELECTIVE_OPTIMIZATION_CONVERSION_TYPE_INVALID @ 
operations[0].operand.selectiveOptimization.conversionTypeIds; 
trigger:'ConversionTypeId: 469821067

Sample code:
case 'OPTIMIZE_FOR_IN_APP_CONVERSION_VOLUME':
                                
$universalAppSetting->setBiddingStrategyGoalType(UniversalAppBiddingStrategyGoalType::OPTIMIZE_FOR_IN_APP_CONVERSION_VOLUME);
                                // If you select bidding strategy goal type 
as
                                // OPTIMIZE_FOR_IN_APP_CONVERSION_VOLUME, 
then you may specify a set of
                                // conversion types for in-app actions to 
optimize the campaign towards.
                                $selectiveOptimization = new 
SelectiveOptimization();
                                
$selectiveOptimization->setconversionTypeIds([
                                    '469821067',
                                    '469825417'
                                ]);

                                
$campaign->setSelectiveOptimization($selectiveOptimization);
                                break;

On Wednesday, October 7, 2020 at 1:28:38 AM UTC+5:30 adsapiforumadvisor 
wrote:

> Hello,
>
> If you are looking to focus bidding on In-app actions, you can select your 
> bidding strategy goal type as OPTIMIZE_FOR_INSTALL_CONVERSION_VOLUME as 
> mentioned in this 
> <https://developers.google.com/adwords/api/docs/guides/mobile-app-campaigns#4_optimize_your_campaign>
>  documentation. 
> You can then optimize for a set of in-app conversion types using the 
> campaign's selectiveOptimization 
> <https://developers.google.com/adwords/api/docs/reference/v201809/CampaignService.SelectiveOptimization>
>  field.
>
> Regards,
> [image: Google Logo] 
> Danica 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q25ZWEd: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/c0eff2b2-1bb5-4ed8-ae89-aa8700dbeb5en%40googlegroups.com.

Reply via email to