Limit line item serving with userConsentEligibility in the DFP API

Using v201805 of the DFP API, publishers can now limit which line items are shown to users in the European Economic Area (EEA) by setting the LineItem.userConsentEligibility field. (Note: this field only takes effect if you have elected to “Limit line items” on the “EU user consent” page.) The userConsentEligibility field can be set to one of three values:

  • NONE (default) - Don’t serve for any EEA ad requests
  • CONSENTED_ONLY - Don’t serve for non-personalized ad requests
  • CONSENTED_OR_NPA - Don’t limit serving

As always, if you have any questions or suggestions, feel free to reach out to us on our forum.