How does targeting work?

faq

#1

Targeting is set at the line item level. Types of targeting criteria and their possible values can be found on the Targeting page. To set or modify targeting criteria, use the POST accounts/:account_id/targeting_criteria and PUT accounts/:account_id/targeting_criteria endpoints.

Requests to the PUT accounts/:account_id/targeting_criteria endpoint are considered full replaces for each targeting criteria type, so for instance if the line item is currently targeting broad_keywords of good, bad, happy, shiny, people, and you wish to add an additional keyword of beatles, you’ll need to make a call to the PUT accounts/:account_id/targeting_criteria endpoint to set broad_keywords to the full list of good, bad, happy, shiny, people, beatles. If you wish to delete all broad_keywords targeting, pass in either a null or empty string as the value for broad_keywords.

NOTE: If a line item is activated with no attached targeting criteria, it will target all ads-eligible users worldwide. For this reason, it is recommended that campaigns & line items are created in a paused state, and unpaused only after all targeting criteria has been added.


Ads API Frequently Asked Questions (FAQs)