Hello,

When creating a new userList the *membershipLifeSpan* parameter is always 
ignored.
I tried using the PHP library and the REST API. For your information the 
PHP code was working for many years and we didn't change it recently.
I tried using API version 13, 14, and 15 but I always get the same result.

Endpoint: 
https://googleads.googleapis.com/v15/customers/$CUSTOMER_ID/userLists:mutate

Request body:
{
    "operations": [
        {
            "create": {
                "name": "test api",
                "type": "RULE_BASED",
                "membershipLifeSpan": "42",
                "ruleBasedUserList": {
                    "flexibleRuleUserList": {
                        "inclusiveOperands": [
                            {
                                "rule": {
                                    "ruleItemGroups": [
                                        {
                                            "ruleItems": [
                                                {
                                                    "name": "url__",
                                                    "stringRuleItem": {
                                                        "operator": 
"CONTAINS",
                                                        "value": 
"https://www.google.com";
                                                    }
                                                }
                                            ]
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            }
        }
    ]
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f1959ab0-e4ef-49e5-b34e-27067a852d02n%40googlegroups.com.
  • me... Rémi CK
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to