Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Neil Chen
committed
Nov 8, 2017
1 parent
c0704f5
commit 2665b71
Showing
62 changed files
with
2,502 additions
and
398 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# Copyright 2014 Facebook, Inc. | ||
|
||
# You are hereby granted a non-exclusive, worldwide, royalty-free license to | ||
# use, copy, modify, and distribute this software in source code or binary | ||
# form for use in connection with the web services and APIs provided by | ||
# Facebook. | ||
|
||
# As with any software that integrates with the Facebook platform, your use | ||
# of this software is subject to the Facebook Developer Principles and | ||
# Policies [http://developers.facebook.com/policy/]. This copyright notice | ||
# shall be included in all copies or substantial portions of the software. | ||
|
||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | ||
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | ||
# DEALINGS IN THE SOFTWARE. | ||
|
||
from facebookads.adobjects.abstractobject import AbstractObject | ||
|
||
""" | ||
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 AdAccountAdRulesHistory( | ||
AbstractObject, | ||
): | ||
|
||
def __init__(self, api=None): | ||
super(AdAccountAdRulesHistory, self).__init__() | ||
self._isAdAccountAdRulesHistory = True | ||
self._api = api | ||
|
||
class Field(AbstractObject.Field): | ||
evaluation_spec = 'evaluation_spec' | ||
exception_code = 'exception_code' | ||
exception_message = 'exception_message' | ||
execution_spec = 'execution_spec' | ||
is_manual = 'is_manual' | ||
results = 'results' | ||
rule_id = 'rule_id' | ||
schedule_spec = 'schedule_spec' | ||
timestamp = 'timestamp' | ||
|
||
_field_types = { | ||
'evaluation_spec': 'AdRuleEvaluationSpec', | ||
'exception_code': 'int', | ||
'exception_message': 'string', | ||
'execution_spec': 'AdRuleExecutionSpec', | ||
'is_manual': 'bool', | ||
'results': 'list<AdRuleHistoryResult>', | ||
'rule_id': 'int', | ||
'schedule_spec': 'AdRuleScheduleSpec', | ||
'timestamp': 'datetime', | ||
} | ||
|
||
@classmethod | ||
def _get_field_enum_info(cls): | ||
field_enum_info = {} | ||
return field_enum_info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.