I have a question getting USER_INTEREST information using PHP library.

34 views
Skip to first unread message

harrison

unread,
Oct 30, 2020, 3:44:43 AM10/30/20
to AdWords API and Google Ads API Forum
Hi,
I want to get USER_INTEREST information using AdGroupCriticianService, but if you run the query statement below, no value will be returned.
Please let me know if there is a problem with my query statement. 
 
$adGroupCriterionService = $adWordsServices->get($session, AdGroupCriterionService::class);

$page = $adGroupCriterionService->query(
sprintf(
'SELECT UserInterestId WHERE AdGroupId="%d" '
. 'AND CriteriaType="USER_INTEREST" AND CriterionUse="BIDDABLE"',
$adgroupId
)
);

Thank you.

Google Ads API Forum Advisor Prod

unread,
Nov 3, 2020, 1:06:56 AM11/3/20
to style...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to our API support team. Could you try and use the type = USER_INTEREST filter instead?

If this does not work, could you provide your customer ID and the complete SOAP request and response logs so I can investigate further? You may send the requested details using the Reply privately to author option.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q275rOT:ref
Reply all
Reply to author
Forward
0 new messages