Hi Everyone,

Thanks for the pointers, it seems that we're experiencing this issue 
because of this update 
<https://ads-developers.googleblog.com/2021/07/updates-to-how-google-ads-api-smart.html>
.


*Starting on September 30, 2021, Google Ads API developers won’t be able to 
create new TargetCpa or TargetRoas standard bidding strategies in Search 
campaigns. This change will prevent creating new Search campaigns that use 
these strategies, as well as prevent updating existing Search campaigns to 
use these strategies. Instead, use the new optional target CPA field with 
MaximizeConversions, and the new target ROAS field with 
MaximizeConversionValue. This change will not affect portfolio (shared) 
bidding strategies.*
Best,

Julien
Le mardi 12 octobre 2021 à 08:55:14 UTC+2, Thanajiranaj Pattanasakpinyo a 
écrit :

> I found the solution to fix this, you can change the code following below
> *current code (C#)*
> campaign.TargetCpa = new TargetCpa
>                     {
>                         TargetCpaMicros = Convert.ToInt64(bidValue * 
> 1_000_000)
>                     };
> *new code (C#)*
> campaign.MaximizeConversions = new MaximizeConversions
>                     {
>                         TargetCpa = Convert.ToInt64(bidValue * 1_000_000)
>                     };
> On Monday, 11 October 2021 at 23:59:20 UTC+7 adsapi wrote:
>
>> Hi Julien,
>>
>> At the bottom of the page of Bidding Strategy Types 
>> <https://developers.google.com/google-ads/api/docs/campaigns/bidding/strategy-types>
>>  
>> it points out that a portfolio-only bidding scheme in the context of a 
>> standard strategy generates the error. The valid context of a TargetCPA 
>> bidding strategy type is only portfolio based and not campaign based.
>>
>> Regards,
>>
>> [image: Google Logo] 
>> Aryeh Baker 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2OVlFD: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/990d4843-d2a0-4271-aa1f-a3c0cb292b73n%40googlegroups.com.
  • Go... Zhe Lin
    • ... Thanajiranaj Pattanasakpinyo
      • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
        • ... Julien Stoeffler
          • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
            • ... Thanajiranaj Pattanasakpinyo
              • ... Julien Stoeffler
                • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum

Reply via email to