Hello,
Yes, just wanted to confirm that the UNKNOWN enum you are using is causing
errors because it is only used for return values. If you have any other issues
with using other genders with this demographic, please let me know.
Cheers,
Anthony
Google Ads API Team
ref:_00D1U1174p._5001UXUBfZ:re
Hi Anthony,
I was trying to Demographics enable for UNKNOWN
$unknownAdGroupCriterion = new AdGroupCriterion([
'ad_group' => $adGroupResourceName,
// Targets Unknown.
'gender' => new GenderInfo([
'type' => GenderType::UNKNOWN
])
]);
Thanks,
On Thursday, 5 March 2020 22:38:39 UTC+5:30, adsapiforu
Hello,
Did you include UNKNOWN in a predicate filter? As you can see here, the value
UNKNOWN is used for return value only.
Regards,
Anthony
Google Ads API Team
ref:_00D1U1174p._5001UXUBfZ:ref
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsde
Hi,
I am getting error while enabling the UNKNOWN genderType.
request_error: Enum value 'UNKNOWN' cannot be used.
Can you please help how I can do same?
Thanks,
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~