-
Notifications
You must be signed in to change notification settings - Fork 159
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
1 parent
b5b6634
commit a366672
Showing
50 changed files
with
678 additions
and
53 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
63 changes: 63 additions & 0 deletions
63
lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb
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,63 @@ | ||
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved. | ||
# | ||
# 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 Platform Policy | ||
# [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. | ||
|
||
# FB:AUTOGEN | ||
|
||
module FacebookAds | ||
# This class is auto-genereated. | ||
|
||
# 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 AdAccountDeliveryEstimate < AdObject | ||
OPTIMIZATION_GOAL = [ | ||
"NONE", | ||
"APP_INSTALLS", | ||
"BRAND_AWARENESS", | ||
"CLICKS", | ||
"ENGAGED_USERS", | ||
"EVENT_RESPONSES", | ||
"IMPRESSIONS", | ||
"LEAD_GENERATION", | ||
"LINK_CLICKS", | ||
"OFFER_CLAIMS", | ||
"OFFSITE_CONVERSIONS", | ||
"PAGE_ENGAGEMENT", | ||
"PAGE_LIKES", | ||
"POST_ENGAGEMENT", | ||
"REACH", | ||
"SOCIAL_IMPRESSIONS", | ||
"VIDEO_VIEWS", | ||
"APP_DOWNLOADS", | ||
"LANDING_PAGE_VIEWS", | ||
] | ||
|
||
|
||
field :bid_estimate, 'object' | ||
field :daily_outcomes_curve, { list: 'OutcomePredictionPoint' } | ||
field :estimate_dau, 'object' | ||
field :estimate_mau, 'object' | ||
field :estimate_ready, 'bool' | ||
has_no_id | ||
has_no_get | ||
has_no_post | ||
has_no_delete | ||
|
||
end | ||
end |
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
63 changes: 63 additions & 0 deletions
63
lib/facebook_ads/ad_objects/ad_campaign_delivery_estimate.rb
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,63 @@ | ||
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved. | ||
# | ||
# 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 Platform Policy | ||
# [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. | ||
|
||
# FB:AUTOGEN | ||
|
||
module FacebookAds | ||
# This class is auto-genereated. | ||
|
||
# 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 AdCampaignDeliveryEstimate < AdObject | ||
OPTIMIZATION_GOAL = [ | ||
"NONE", | ||
"APP_INSTALLS", | ||
"BRAND_AWARENESS", | ||
"CLICKS", | ||
"ENGAGED_USERS", | ||
"EVENT_RESPONSES", | ||
"IMPRESSIONS", | ||
"LEAD_GENERATION", | ||
"LINK_CLICKS", | ||
"OFFER_CLAIMS", | ||
"OFFSITE_CONVERSIONS", | ||
"PAGE_ENGAGEMENT", | ||
"PAGE_LIKES", | ||
"POST_ENGAGEMENT", | ||
"REACH", | ||
"SOCIAL_IMPRESSIONS", | ||
"VIDEO_VIEWS", | ||
"APP_DOWNLOADS", | ||
"LANDING_PAGE_VIEWS", | ||
] | ||
|
||
|
||
field :bid_estimate, 'object' | ||
field :daily_outcomes_curve, { list: 'OutcomePredictionPoint' } | ||
field :estimate_dau, 'object' | ||
field :estimate_mau, 'object' | ||
field :estimate_ready, 'bool' | ||
has_no_id | ||
has_no_get | ||
has_no_post | ||
has_no_delete | ||
|
||
end | ||
end |
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
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.