Report to get account-level negative keywords.

23 views
Skip to first unread message

Vytautas Gerulis

unread,
Oct 22, 2025, 7:45:16 PM (8 days ago) Oct 22
to Google Ads Scripts Forum
Currently, to get campaign negative keywords we use the CAMPAIGN_NEGATIVE_KEYWORDS_PERFORMANCE_REPORT

It is not possible to add account-level negative keywords via google ads.

In the report I mentioned we cannot see those keywords. What report should I use to get account-level negative keywords?

Google Ads Scripts Forum Advisor

unread,
Oct 23, 2025, 2:44:21 AM (8 days ago) Oct 23
to adwords...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads Scripts support team.

You can fetch the account level negative keyword using the customer_negative_criterion report. This can be accessible via AdsApp.search/AdsApp.report. For more details refer to this reporting document.

You may try the below sample code to fetch the account level negative Keywords : 
function main() {
  
  let report = AdsApp.report(
    "SELECT " +
    "customer.id,customer_negative_criterion.id, customer_negative_criterion.type, shared_set.id, shared_set.type " +
    "FROM  customer_negative_criterion " +
    "WHERE shared_set.type = 'ACCOUNT_LEVEL_NEGATIVE_KEYWORDS'");

let rows = report.rows();
while (rows.hasNext()) {
    let row = rows.next();
    let id = row["customer.id"];
    let criteria_type = row["customer_negative_criterion.type"];
    let shared_set_type = row["shared_set.type"];

  
  
  console.log("customer ID " + id, "with " +  " criteria type : " + criteria_type + "shared_set_type : " + shared_set_type );
}
  
} 
Additionally, you can utilize the Query Builder and Query Validator to build and validate your queries.

I hope this helps! Feel free to get back to us if you have any further questions. 

Thanks,
 
Google Logo Google Ads Scripts Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-10-23 06:43:55Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01vRa1D:ref" (ADR-00336294)



Vytautas Gerulis

unread,
Oct 23, 2025, 7:27:58 AM (8 days ago) Oct 23
to Google Ads Scripts Forum
Thanks.

Just want to say, as far as product support goes you guys are the best. Clear, concise and fast to respond.

Cheers
Reply all
Reply to author
Forward
0 new messages