Google released a new version of the DFP API in May 15, but a new update was announced yesterday for the same version. “Publishers using v201805 of the DFP API can now limit which line items are shown to users in the European Economic Area (EEA) by setting the LineItem.userConsentEligibility field,” wrote Donovan McMurray, from the DFP API Team.
This field only takes effect for publishers that 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