containsEuPoliticalAds property

String? containsEuPoliticalAds
getter/setter pair

Whether this line item will serve European Union political ads.

If contains_eu_political_ads has been set to DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING in the parent advertiser, then this field will be assigned DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING if not otherwise specified. This field can then be updated using the UI, API, or Structured Data Files. Warning: Starting September 8, 2025, this field must be set when creating a new line item. If not, either the value DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING will be assigned if the parent advertiser has declared that it does not serve EU political ads, or the advertisers.lineItems.create request will fail. Possible string values are:

  • "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN" : Unknown.
  • "CONTAINS_EU_POLITICAL_ADVERTISING" : Contains EU political advertising.
  • "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING" : Does not contain EU political advertising.

Implementation

core.String? containsEuPoliticalAds;