How to find Negative Audience in AdGroup and Campaign Level?

22 views
Skip to first unread message

Anurag Sinha

unread,
Sep 6, 2021, 5:50:12 AM9/6/21
to AdWords API and Google Ads API Forum
Hi Team,

1)Can you please let me know what IsNegative= true returns , does this returns Negative Audience(Exclusions) at Campaign Level?
CampaignCriterionServiceInterface
Selector selector = builder.fields("CampaignId","UserListName","UserListId")
                .equals("CriteriaType",CriterionType._USER_LIST)
                .equals("IsNegative","true")
                .offset(offset).limit(PAGE_SIZE).build();

2)And also please let me know how can I get Exclusion List(Negative Audience) of UserListId at AdGroup Level as I did not get any Attribute in https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201809-AdGroupCriterionService. Similar to CampaignCriterionServiceInterface. 

Regards, 
Anurag Sinha

Google Ads API Forum Advisor

unread,
Sep 7, 2021, 4:33:58 AM9/7/21
to anuragku...@in.pega.com, adwor...@googlegroups.com

Hi Anurag,

Thanks for reaching out to us.

Yes, Audience is excluded by setting IsNegative= true.

As for your second question, if you just want to get the negative audience user list at AdGroup Level, then you can use the get() method of the AdGroupCriterionService and filter it by isNegative = true and NegativeAdGroupCriterion.

If you encounter issue while getting user list excluded at ad group level, we request that you provide us with the complete SOAP request and response logs generated on your end via the Reply privately to author option or directly to our googleadsa...@google.com alias, in order for us to investigate further.

In the AdWords API, you can enable logging by going to the steps discussed in the respective Github documentation of your chosen client library.

Let us know if you have any further questions.

Regards,

Google Logo
Yasar
Google Ads API Team
 


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