129 lines
5.0 KiB
PHP
129 lines
5.0 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 CampaignFields extends AbstractEnum {
|
|
|
|
const ACCOUNT_ID = 'account_id';
|
|
const ADLABELS = 'adlabels';
|
|
const ADVANTAGE_STATE_INFO = 'advantage_state_info';
|
|
const BID_STRATEGY = 'bid_strategy';
|
|
const BOOSTED_OBJECT_ID = 'boosted_object_id';
|
|
const BRAND_LIFT_STUDIES = 'brand_lift_studies';
|
|
const BUDGET_REBALANCE_FLAG = 'budget_rebalance_flag';
|
|
const BUDGET_REMAINING = 'budget_remaining';
|
|
const BUYING_TYPE = 'buying_type';
|
|
const CAMPAIGN_GROUP_ACTIVE_TIME = 'campaign_group_active_time';
|
|
const CAN_CREATE_BRAND_LIFT_STUDY = 'can_create_brand_lift_study';
|
|
const CAN_USE_SPEND_CAP = 'can_use_spend_cap';
|
|
const CONFIGURED_STATUS = 'configured_status';
|
|
const CREATED_TIME = 'created_time';
|
|
const DAILY_BUDGET = 'daily_budget';
|
|
const EFFECTIVE_STATUS = 'effective_status';
|
|
const HAS_SECONDARY_SKADNETWORK_REPORTING = 'has_secondary_skadnetwork_reporting';
|
|
const ID = 'id';
|
|
const IS_ADSET_BUDGET_SHARING_ENABLED = 'is_adset_budget_sharing_enabled';
|
|
const IS_BUDGET_SCHEDULE_ENABLED = 'is_budget_schedule_enabled';
|
|
const IS_DIRECT_SEND_CAMPAIGN = 'is_direct_send_campaign';
|
|
const IS_MESSAGE_CAMPAIGN = 'is_message_campaign';
|
|
const IS_SKADNETWORK_ATTRIBUTION = 'is_skadnetwork_attribution';
|
|
const ISSUES_INFO = 'issues_info';
|
|
const LAST_BUDGET_TOGGLING_TIME = 'last_budget_toggling_time';
|
|
const LIFETIME_BUDGET = 'lifetime_budget';
|
|
const NAME = 'name';
|
|
const OBJECTIVE = 'objective';
|
|
const PACING_TYPE = 'pacing_type';
|
|
const PRIMARY_ATTRIBUTION = 'primary_attribution';
|
|
const PROMOTED_OBJECT = 'promoted_object';
|
|
const RECOMMENDATIONS = 'recommendations';
|
|
const SMART_PROMOTION_TYPE = 'smart_promotion_type';
|
|
const SOURCE_CAMPAIGN = 'source_campaign';
|
|
const SOURCE_CAMPAIGN_ID = 'source_campaign_id';
|
|
const SOURCE_RECOMMENDATION_TYPE = 'source_recommendation_type';
|
|
const SPECIAL_AD_CATEGORIES = 'special_ad_categories';
|
|
const SPECIAL_AD_CATEGORY = 'special_ad_category';
|
|
const SPECIAL_AD_CATEGORY_COUNTRY = 'special_ad_category_country';
|
|
const SPEND_CAP = 'spend_cap';
|
|
const START_TIME = 'start_time';
|
|
const STATUS = 'status';
|
|
const STOP_TIME = 'stop_time';
|
|
const TOPLINE_ID = 'topline_id';
|
|
const UPDATED_TIME = 'updated_time';
|
|
const ADBATCH = 'adbatch';
|
|
const BUDGET_SCHEDULE_SPECS = 'budget_schedule_specs';
|
|
const EXECUTION_OPTIONS = 'execution_options';
|
|
const ITERATIVE_SPLIT_TEST_CONFIGS = 'iterative_split_test_configs';
|
|
|
|
public function getFieldTypes() {
|
|
return array(
|
|
'account_id' => 'string',
|
|
'adlabels' => 'list<AdLabel>',
|
|
'advantage_state_info' => 'AdCampaignGroupAdvantageState',
|
|
'bid_strategy' => 'BidStrategy',
|
|
'boosted_object_id' => 'string',
|
|
'brand_lift_studies' => 'list<AdStudy>',
|
|
'budget_rebalance_flag' => 'bool',
|
|
'budget_remaining' => 'string',
|
|
'buying_type' => 'string',
|
|
'campaign_group_active_time' => 'string',
|
|
'can_create_brand_lift_study' => 'bool',
|
|
'can_use_spend_cap' => 'bool',
|
|
'configured_status' => 'ConfiguredStatus',
|
|
'created_time' => 'datetime',
|
|
'daily_budget' => 'string',
|
|
'effective_status' => 'EffectiveStatus',
|
|
'has_secondary_skadnetwork_reporting' => 'bool',
|
|
'id' => 'string',
|
|
'is_adset_budget_sharing_enabled' => 'bool',
|
|
'is_budget_schedule_enabled' => 'bool',
|
|
'is_direct_send_campaign' => 'bool',
|
|
'is_message_campaign' => 'bool',
|
|
'is_skadnetwork_attribution' => 'bool',
|
|
'issues_info' => 'list<AdCampaignIssuesInfo>',
|
|
'last_budget_toggling_time' => 'datetime',
|
|
'lifetime_budget' => 'string',
|
|
'name' => 'string',
|
|
'objective' => 'string',
|
|
'pacing_type' => 'list<string>',
|
|
'primary_attribution' => 'string',
|
|
'promoted_object' => 'AdPromotedObject',
|
|
'recommendations' => 'list<AdRecommendation>',
|
|
'smart_promotion_type' => 'string',
|
|
'source_campaign' => 'Campaign',
|
|
'source_campaign_id' => 'string',
|
|
'source_recommendation_type' => 'string',
|
|
'special_ad_categories' => 'list<string>',
|
|
'special_ad_category' => 'string',
|
|
'special_ad_category_country' => 'list<string>',
|
|
'spend_cap' => 'string',
|
|
'start_time' => 'datetime',
|
|
'status' => 'Status',
|
|
'stop_time' => 'datetime',
|
|
'topline_id' => 'string',
|
|
'updated_time' => 'datetime',
|
|
'adbatch' => 'list<Object>',
|
|
'budget_schedule_specs' => 'list<Object>',
|
|
'execution_options' => 'list<ExecutionOptions>',
|
|
'iterative_split_test_configs' => 'list<Object>',
|
|
);
|
|
}
|
|
}
|