Hello Peter

your code really helped me.
But I can not go live without testing this code.
I need to meet the eligibility requirement of target roas on test accounts.
Please say you have the method.

Thank you

On Tuesday, July 2, 2019 at 12:03:09 PM UTC+5, adsapiforumadvisor wrote:
>
> Hi Faizan,
>
> I'm afraid we currently have no exact sample code of what you are looking 
> for. Moving forward, in order to change the bidding strategy of your 
> campaign to TargetRoasBiddingScheme 
> <https://developers.google.com/adwords/api/docs/reference/v201809/BiddingStrategyService.TargetRoasBiddingScheme>,
>  
> you can follow this AddCampaigns example 
> <https://developers.google.com/adwords/api/docs/samples/java/basic-operations#add-campaigns>
>  
> (also available in other languages), except you would need to use the SET 
> operator instead of the ADD one. You should also only pass the campaign 
> fields you wish to modify.
>
> In your code, you can add something similar to the Java code below :
>
>
>
>
>
>
>
> *BiddingStrategyConfiguration biddingStrategyConfiguration = new 
> BiddingStrategyConfiguration(); 
> biddingStrategyConfiguration.setBiddingStrategyType(BiddingStrategyType.TARGET_ROAS);
>  
> TargetRoasBiddingScheme targetRoasBiddingScheme = new 
> TargetRoasBiddingScheme(); 
> targetRoasBiddingScheme.setTargetRoas((double)50); // this is required 
> biddingStrategyConfiguration.setBiddingScheme(targetRoasBiddingScheme); 
> campaign.setBiddingStrategyConfiguration(biddingStrategyConfiguration);*
>
> As for using this bidding scheme in test accounts, I'm afraid that this is 
> not possible due to the eligibility requirements 
> <https://support.google.com/google-ads/answer/6268637>. 
>
> Thanks and regards,
> Peter
> Google Ads API Team
>
> ref:_00D1U1174p._5001UCaNvx: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/810f2625-c067-45d9-881d-2bdf47e42679%40googlegroups.com.

Reply via email to