how to use getUserInterestCriterion in AdGroupCriterionOperation

45 views
Skip to first unread message

Necati Demir

unread,
Dec 26, 2017, 9:17:16 AM12/26/17
to AdWords API Forum
Hi,

I am using python SDK.
I can use the output of getVerticalCriterion in AdGroupCriterionOperation like this:

constant_data_service = client.GetService('ConstantDataService', version='v201708')
criterias = constant_data_service.getVerticalCriterion()
and, then, ...

{
 'xsi_type': 'BiddableAdGroupCriterion',
 'adGroupId': adGroupId,
 'criterion': {
   'xsi_type': 'Vertical',
   'path': ....
 }
}

How will I use the output of constant_data_service.getUserInterestCriterion('BRAND')?

Best,
Necati


Bharani Cherukuri (AdWords API Team)

unread,
Dec 27, 2017, 11:54:22 AM12/27/17
to AdWords API Forum
Hi Necati, 

The getUserInterestCriterion will return a list of user interests depending on the criteria. In this scenario, this API call will return the user interests based on Brand. The CriterionUserInterest represents the particular interest based vertical to be targeted. Let me know if you have any other questions. 

Regards,
Bharani, AdWords API Team
Reply all
Reply to author
Forward
0 new messages