Groups
Sign in
Groups
Google Ads API and AdWords API Forum
Conversations
Labels
About
Send feedback
Help
ENUMTYPE UNKNOWN
23 views
BasicOperations
CampaignManagement
google_ads_api
Skip to first unread message
cv
unread,
Mar 5, 2020, 8:49:02 AM
3/5/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API and Google Ads API Forum
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,
Google Ads API Forum Advisor Prod
unread,
Mar 5, 2020, 12:08:39 PM
3/5/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to chirag....@gmail.com, adwor...@googlegroups.com
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
cv
unread,
Mar 5, 2020, 11:38:15 PM
3/5/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API and Google Ads API Forum
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,
Reply all
Reply to author
Forward
0 new messages