Hi Zhe, 

Could you provide the complete request and response logs for your API call 
using the *Reply privately to author option* so I can investigate this more?

If you haven't turned on SOAP logging yet, you may refer to this guide 
<https://github.com/googleads/googleads-python-lib/blob/master/README.md#how-do-i-log-soap-interactions>
. 

Regards,
Dannison
AdWords API Team

On Tuesday, January 8, 2019 at 8:57:44 AM UTC+8, Zhe Lin wrote:
>
> Hi there,
>
> I'm trying to reset the `biddingStrategyConfiguration.bids` of a keyword 
> (ad group biddable criterion) by API.
>
> I think after I do that the `cpcBidSource` of the keyword should be reset 
> from 'CRITERION' to 'ADGROUP'. (Please let me know if it's not true)
>
> Since "BidSource" is a read only field I tried something else, like 
> setting its 'biddingStrategyConfiguration.biddingStrategyType' to 'NONE',
> as in the reference 
> <https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupCriterionService.BiddingStrategyConfiguration>
>  
> it says 'NONE' is a *special bidding strategy type used to reset the 
> bidding strategy at AdGroup and AdGroupCriterion*.
> It did have some effects but not what I expected.
>
> Before change: (I'm using Python and this dict is what I got from the API)
>
>     'biddingStrategyConfiguration': {
>         'biddingStrategyId': None,
>         'biddingStrategyName': None,
>         'biddingStrategyType': 'MANUAL_CPC',
>         'biddingStrategySource': None,
>         'biddingScheme': None,
>         'bids': [
>             {
>                 'Bids.Type': 'CpcBid',
>                 'bid': {
>                     'ComparableValue.Type': 'Money',
>                     'microAmount': 11000000
>                 },
>                 'cpcBidSource': 'CRITERION'
>             }
>         ],
>         'targetRoasOverride': None
>     },
>
>
> After change:
>
>     'biddingStrategyConfiguration': {
>         'biddingStrategyId': None,
>         'biddingStrategyName': None,
>         'biddingStrategyType': 'MANUAL_CPC',
>         'biddingStrategySource': 'CAMPAIGN',
>         'biddingScheme': {
>             'BiddingScheme.Type': 'ManualCpcBiddingScheme',
>             'enhancedCpcEnabled': True
>         },
>         'bids': [
>             {
>                 'Bids.Type': 'CpcBid',
>                 'bid': {
>                     'ComparableValue.Type': 'Money',
>                     'microAmount': 11000000
>                 },
>                 'cpcBidSource': 'CRITERION' # the cpcBidSource is still 
> 'CRITERION'
>             },
>             {
>                 'Bids.Type': 'CpmBid',
>                 'bid': {
>                     'ComparableValue.Type': 'Money',
>                     'microAmount': 1000000
>                 },
>                 'cpmBidSource': 'ADGROUP'   # this bid value appears 
> after change
>             }
>         ],
>         'targetRoasOverride': None
>     },
>
>
> I also tried passing an empty "biddingStrategyConfiguration.bids" list but 
> it doesn't help too.
>
> Can you tell me what I'm supposed to do? Thanks in advance.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/46214378-6d7b-4b27-9337-956ceb30c184%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Zhe Lin
    • ... 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to