Files
2026-04-28 15:13:50 +02:00

69 lines
2.6 KiB
PHP

<?php
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/
namespace FacebookPixelPlugin\FacebookAds\Object\Fields;
use FacebookPixelPlugin\FacebookAds\Enum\AbstractEnum;
/**
* This class is auto-generated.
*
* For any issues or feature requests related to this class, please let us know
* on github and we'll fix in our codegen framework. We'll not be able to accept
* pull request for this class.
*
*/
class TargetingGeoLocationFields extends AbstractEnum {
const CITIES = 'cities';
const COUNTRIES = 'countries';
const COUNTRY_GROUPS = 'country_groups';
const CUSTOM_LOCATIONS = 'custom_locations';
const ELECTORAL_DISTRICTS = 'electoral_districts';
const GEO_MARKETS = 'geo_markets';
const LARGE_GEO_AREAS = 'large_geo_areas';
const LOCATION_CLUSTER_IDS = 'location_cluster_ids';
const LOCATION_TYPES = 'location_types';
const MEDIUM_GEO_AREAS = 'medium_geo_areas';
const METRO_AREAS = 'metro_areas';
const NEIGHBORHOODS = 'neighborhoods';
const PLACES = 'places';
const POLITICAL_DISTRICTS = 'political_districts';
const REGIONS = 'regions';
const SMALL_GEO_AREAS = 'small_geo_areas';
const SUBCITIES = 'subcities';
const SUBNEIGHBORHOODS = 'subneighborhoods';
const ZIPS = 'zips';
public function getFieldTypes() {
return array(
'cities' => 'list<TargetingGeoLocationCity>',
'countries' => 'list<string>',
'country_groups' => 'list<string>',
'custom_locations' => 'list<TargetingGeoLocationCustomLocation>',
'electoral_districts' => 'list<TargetingGeoLocationElectoralDistrict>',
'geo_markets' => 'list<TargetingGeoLocationMarket>',
'large_geo_areas' => 'list<TargetingGeoLocationGeoEntities>',
'location_cluster_ids' => 'list<TargetingGeoLocationLocationCluster>',
'location_types' => 'list<string>',
'medium_geo_areas' => 'list<TargetingGeoLocationGeoEntities>',
'metro_areas' => 'list<TargetingGeoLocationGeoEntities>',
'neighborhoods' => 'list<TargetingGeoLocationGeoEntities>',
'places' => 'list<TargetingGeoLocationPlace>',
'political_districts' => 'list<TargetingGeoLocationPoliticalDistrict>',
'regions' => 'list<TargetingGeoLocationRegion>',
'small_geo_areas' => 'list<TargetingGeoLocationGeoEntities>',
'subcities' => 'list<TargetingGeoLocationGeoEntities>',
'subneighborhoods' => 'list<TargetingGeoLocationGeoEntities>',
'zips' => 'list<TargetingGeoLocationZip>',
);
}
}