Skip to content

Commit

Permalink
add video_play_curve_actions to ads_insights schemas (#80)
Browse files Browse the repository at this point in the history
* add `video_play_curve_actions` to ads_insights schemas

* add ads_histogram_stats.json shared schema
  • Loading branch information
nick-mccoy committed Jan 6, 2020
1 parent 8094419 commit 2739cca
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 0 deletions.
1 change: 1 addition & 0 deletions tap_facebook/schemas/ads_insights.json
Expand Up @@ -14,6 +14,7 @@
"video_p50_watched_actions": {"$ref": "ads_action_stats.json"},
"video_p75_watched_actions": {"$ref": "ads_action_stats.json"},
"video_p100_watched_actions": {"$ref": "ads_action_stats.json"},
"video_play_curve_actions": {"$ref": "ads_histogram_stats.json"},
"clicks": {
"type": [
"null",
Expand Down
1 change: 1 addition & 0 deletions tap_facebook/schemas/ads_insights_age_and_gender.json
Expand Up @@ -14,6 +14,7 @@
"video_p50_watched_actions": {"$ref": "ads_action_stats.json"},
"video_p75_watched_actions": {"$ref": "ads_action_stats.json"},
"video_p100_watched_actions": {"$ref": "ads_action_stats.json"},
"video_play_curve_actions": {"$ref": "ads_histogram_stats.json"},
"clicks": {
"type": [
"null",
Expand Down
1 change: 1 addition & 0 deletions tap_facebook/schemas/ads_insights_country.json
Expand Up @@ -14,6 +14,7 @@
"video_p50_watched_actions": {"$ref": "ads_action_stats.json"},
"video_p75_watched_actions": {"$ref": "ads_action_stats.json"},
"video_p100_watched_actions": {"$ref": "ads_action_stats.json"},
"video_play_curve_actions": {"$ref": "ads_histogram_stats.json"},
"clicks": {
"type": [
"null",
Expand Down
1 change: 1 addition & 0 deletions tap_facebook/schemas/ads_insights_dma.json
Expand Up @@ -11,6 +11,7 @@
"video_p50_watched_actions": { "$ref": "ads_action_stats.json" },
"video_p75_watched_actions": { "$ref": "ads_action_stats.json" },
"video_p100_watched_actions": { "$ref": "ads_action_stats.json" },
"video_play_curve_actions": {"$ref": "ads_histogram_stats.json"},
"clicks": {
"type": ["null", "integer"]
},
Expand Down
1 change: 1 addition & 0 deletions tap_facebook/schemas/ads_insights_platform_and_device.json
Expand Up @@ -14,6 +14,7 @@
"video_p50_watched_actions": {"$ref": "ads_action_stats.json"},
"video_p75_watched_actions": {"$ref": "ads_action_stats.json"},
"video_p100_watched_actions": {"$ref": "ads_action_stats.json"},
"video_play_curve_actions": {"$ref": "ads_histogram_stats.json"},
"impression_device": {
"type": [
"null",
Expand Down
1 change: 1 addition & 0 deletions tap_facebook/schemas/ads_insights_region.json
Expand Up @@ -14,6 +14,7 @@
"video_p50_watched_actions": {"$ref": "ads_action_stats.json"},
"video_p75_watched_actions": {"$ref": "ads_action_stats.json"},
"video_p100_watched_actions": {"$ref": "ads_action_stats.json"},
"video_play_curve_actions": {"$ref": "ads_histogram_stats.json"},
"clicks": {
"type": [
"null",
Expand Down
32 changes: 32 additions & 0 deletions tap_facebook/schemas/shared/ads_histogram_stats.json
@@ -0,0 +1,32 @@
{
"type": [
"null",
"array"
],
"items": {
"type": [
"null",
"object"
],
"properties": {
"action_type": {
"type": [
"null",
"string"
]
},
"value": {
"type": [
"null",
"array"
],
"items": {
"type": [
"null",
"integer"
]
}
}
}
}
}

0 comments on commit 2739cca

Please sign in to comment.