Thanks for your reply.
This isn't what I'm looking for. The doc mentioned using API V13 to select
FlexibleRuleUserListInfo
will transform the list into the correct format. In my test, I can get
other user list rules by this way, but for a *CombinedRuleUserList which
ruleOperator is AND,* I couldn't get the rule detail from API V13
FlexibleRuleUserListInfo.
Need your help to get the rule from API V13.
There're results from API V12 and V13 for one same *CombinedRuleUserList
which ruleOperator is AND:*
Result from V12:
{
"userList":{
"resourceName":"customers/6719325552/userLists/982240039",
"type":"RULE_BASED",
"accessReason":"OWNED",
"ruleBasedUserList":{
"combinedRuleUserList":{
"leftOperand":{
"ruleType":"OR_OF_ANDS",
"ruleItemGroups":[
{
"ruleItems":[
{
"stringRuleItem":{
"operator":"CONTAINS",
"value":"aaa"
},
"name":"url__"
},
{
"stringRuleItem":{
"operator":"CONTAINS",
"value":"bbb"
},
"name":"url__"
}
]
},
{
"ruleItems":[
{
"stringRuleItem":{
"operator":"CONTAINS",
"value":"ccc"
},
"name":"url__"
}
]
}
]
},
"rightOperand":{
"ruleType":"OR_OF_ANDS",
"ruleItemGroups":[
{
"ruleItems":[
{
"stringRuleItem":{
"operator":"CONTAINS",
"value":"ddd"
},
"name":"url__"
}
]
},
{
"ruleItems":[
{
"stringRuleItem":{
"operator":"CONTAINS",
"value":"eee"
},
"name":"url__"
},
{
"stringRuleItem":{
"operator":"CONTAINS",
"value":"fff"
},
"name":"url__"
}
]
}
]
},
"ruleOperator":"*AND*"
}
},
"id":"982240039",
"readOnly":false,
"name":"CombinedRuleUserList1(AND)",
"description":"Description of CombinedRuleUserList1(AND)",
"membershipLifeSpan":"1"
}
}
Result from V13:
{
"userList": {
"resourceName": "customers/6719325552/userLists/982240039",
"type": "RULE_BASED",
"accessReason": "OWNED",
"accountUserListStatus": "ENABLED",
"ruleBasedUserList": {
"prepopulationStatus": "REQUESTED"
},
"id": "982240039",
"readOnly": false,
"name": "CombinedRuleUserList1(AND)",
"membershipLifeSpan": "1",
"eligibleForSearch": true,
"eligibleForDisplay": true
}
}
在2023年3月21日星期二 UTC+8 22:23:57<Google Ads API Forum Advisor> 写道:
> Hi Ye,
>
> Thank you for reaching out to us.
>
> Since *CombinedRuleUserListInfo*
> <https://developers.google.com/google-ads/api/reference/rpc/v12/CombinedRuleUserListInfo>
> and *ExpressionRuleUserListInfo*
> <https://developers.google.com/google-ads/api/reference/rpc/v12/ExpressionRuleUserListInfo>
> have
> been removed in v13 and you want to transform the CombinedRuleUserLists to
> FlexibleRuleUserListInfo by the process you saw *here*
> <https://developers.google.com/google-ads/api/docs/upgrade#v12-v13> and
> you are looking for a workaround to get the *CombinedRuleUserListInfo*
> <https://developers.google.com/google-ads/api/reference/rpc/v12/CombinedRuleUserListInfo>
> first,
> then I would suggest you retrieve first the resource name of the
> *CombinedRuleUserList*
> <https://developers.google.com/google-ads/api/reference/rpc/v12/CombinedRuleUserListInfo>
> in
> v12 while it is still not deprecated and sunsetted. After you do that, you
> may proceed with the guidance you saw *here*
> <https://developers.google.com/google-ads/api/docs/upgrade#v12-v13> to
> transform it to *FlexibleRuleUserListInfo*
> <https://developers.google.com/google-ads/api/reference/rpc/v13/FlexibleRuleUserListInfo>
> .
>
> Let me know if this is what you are looking for; if not, then I would be
> needing your help to kindly elaborate and provide more details on it, so
> that we could provide precise guidance accordingly.
> Best regards,
> [image: Google Logo] Google Ads API Team
>
> ref:_00D1U1174p._5004Q2k1HLI: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
"Google Ads API and AdWords 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/22379893-221b-49cf-aaf0-0066f2cd694dn%40googlegroups.com.