<s> from facebookads . adobjects . abstractobject import AbstractObject <EOL> """<STR_LIT>""" <EOL> class AdActivity ( <EOL> AbstractObject , <EOL> ) : <EOL> def __init__ ( self , api = None ) : <EOL> super ( AdActivity , self ) . __init__ ( ) <EOL> self . _isAdActivity = True <EOL> self . _api = api <EOL> class Field ( AbstractObject . Field ) : <EOL> actor_id = '<STR_LIT>' <EOL> actor_name = '<STR_LIT>' <EOL> application_id = '<STR_LIT>' <EOL> application_name = '<STR_LIT>' <EOL> date_time_in_timezone = '<STR_LIT>' <EOL> event_time = '<STR_LIT>' <EOL> event_type = '<STR_LIT>' <EOL> extra_data = '<STR_LIT>' <EOL> object_id = '<STR_LIT>' <EOL> object_name = '<STR_LIT:object_name>' <EOL> translated_event_type = '<STR_LIT>' <EOL> class EventType : <EOL> ad_account_update_spend_limit = '<STR_LIT>' <EOL> ad_account_reset_spend_limit = '<STR_LIT>' <EOL> ad_account_remove_spend_limit = '<STR_LIT>' <EOL> ad_account_set_business_information = '<STR_LIT>' <EOL> ad_account_update_status = '<STR_LIT>' <EOL> ad_account_add_user_to_role = '<STR_LIT>' <EOL> ad_account_remove_user_from_role = '<STR_LIT>' <EOL> add_images = '<STR_LIT>' <EOL> edit_images = '<STR_LIT>' <EOL> delete_images = '<STR_LIT>' <EOL> ad_account_billing_charge = '<STR_LIT>' <EOL> ad_account_billing_charge_failed = '<STR_LIT>' <EOL> ad_account_billing_chargeback = '<STR_LIT>' <EOL> ad_account_billing_chargeback_reversal = '<STR_LIT>' <EOL> ad_account_billing_decline = '<STR_LIT>' <EOL> ad_account_billing_refund = '<STR_LIT>' <EOL> billing_event = '<STR_LIT>' <EOL> add_funding_source = '<STR_LIT>' <EOL> remove_funding_source = '<STR_LIT>' <EOL> create_campaign_group = '<STR_LIT>' <EOL> update_campaign_name = '<STR_LIT>' <EOL> update_campaign_run_status = '<STR_LIT>' <EOL> update_campaign_group_spend_cap = '<STR_LIT>' <EOL> create_campaign = '<STR_LIT>' <EOL> create_campaign_legacy = '<STR_LIT>' <EOL> update_campaign_budget = '<STR_LIT>' <EOL> update_campaign_duration = '<STR_LIT>' <EOL> create_ad_set = '<STR_LIT>' <EOL> update_ad_set_bidding = '<STR_LIT>' <EOL> update_ad_set_budget = '<STR_LIT>' <EOL> update_ad_set_duration = '<STR_LIT>' <EOL> update_ad_set_run_status = '<STR_LIT>' <EOL> update_ad_set_name = '<STR_LIT>' <EOL> create_ad = '<STR_LIT>' <EOL> update_ad_creative = '<STR_LIT>' <EOL> edit_and_update_ad_creative = '<STR_LIT>' <EOL> update_ad_bid_info = '<STR_LIT>' <EOL> update_ad_bid_type = '<STR_LIT>' <EOL> update_ad_run_status = '<STR_LIT>' <EOL> update_ad_friendly_name = '<STR_LIT>' <EOL> update_ad_targets_spec = '<STR_LIT>' <EOL> update_ad_set_target_spec = '<STR_LIT>' <EOL> ad_review_approved = '<STR_LIT>' <EOL> ad_review_declined = '<STR_LIT>' <EOL> first_delivery_event = '<STR_LIT>' <EOL> create_audience = '<STR_LIT>' <EOL> update_audience = '<STR_LIT>' <EOL> delete_audience = '<STR_LIT>' <EOL> share_audience = '<STR_LIT>' <EOL> receive_audience = '<STR_LIT>' <EOL> unshare_audience = '<STR_LIT>' <EOL> remove_shared_audience = '<STR_LIT>' <EOL> unknown = '<STR_LIT>' <EOL> funding_event_initiated = '<STR_LIT>' <EOL> funding_event_successful = '<STR_LIT>' <EOL> update_ad_labels = '<STR_LIT>' <EOL> class Category : <EOL> account = '<STR_LIT>' <EOL> ad = '<STR_LIT>' <EOL> ad_set = '<STR_LIT>' <EOL> audience = '<STR_LIT>' <EOL> bid = '<STR_LIT>' <EOL> budget = '<STR_LIT>' <EOL> campaign = '<STR_LIT>' <EOL> date = '<STR_LIT>' <EOL> status = '<STR_LIT>' <EOL> targeting = '<STR_LIT>' <EOL> _field_types = { <EOL> '<STR_LIT>' : '<STR_LIT:string>' , <EOL> '<STR_LIT>' : '<STR_LIT:string>' , <EOL> '<STR_LIT>' : '<STR_LIT:string>' , <EOL> '<STR_LIT>' : '<STR_LIT:string>' , <EOL> '<STR_LIT>' : '<STR_LIT:string>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT:string>' , <EOL> '<STR_LIT>' : '<STR_LIT:string>' , <EOL> '<STR_LIT:object_name>' : '<STR_LIT:string>' , <EOL> '<STR_LIT>' : '<STR_LIT:string>' , <EOL> } <EOL> @ classmethod <EOL> def _get_field_enum_info ( cls ) : <EOL> field_enum_info = { } <EOL> field_enum_info [ '<STR_LIT>' ] = AdActivity . EventType . __dict__ . values ( ) <EOL> field_enum_info [ '<STR_LIT>' ] = AdActivity . Category . __dict__ . values ( ) <EOL> return field_enum_info </s>
