Hello, 

I need to use the Gender 
<https://developers.google.com/google-ads/api/rest/reference/rest/v15/customers.campaignCriteria?hl=fr>
 
and Age 
<https://developers.google.com/google-ads/api/rest/reference/rest/v15/customers.campaignCriteria?hl=fr>
 
criteria, but I can't create them without setting the *negative* value to 
*true*.

What's more, when I try to update the criterion to *negative false*, I 
always get an error.

I can provide you with more detailed functions if required.

Creation: 
        operations [
            create: {
                negative: true, // mandatory param with true value
                campaign: campaignResourceName,
                type: 'GENDER',
                gender: {
                    type: gender
                }
            }
        ]

Update:
                operations: [
                    {
                        updateMask: 'gender.type, negative',
                        update: {
                            negative: false, // Doesn't work if trying to 
update the negative param
                            resourceName: genderCriterionResourceName,
                        }
                    }
                ]

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/488e33e1-634f-4cd6-abf9-885dea4afc23n%40googlegroups.com.
  • Ge... Maxime Heurtevent
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Maxime Heurtevent

Reply via email to