Skip to content

Commit

Permalink
fix: Missing schema properties (#78)
Browse files Browse the repository at this point in the history
* Define `adGroupCriterion.systemServingStatus` property

* Define `customer_id` property

* Define `geographicView.resourceName` property

* Define `campaignCriterion.bidModifier` property
  • Loading branch information
ReubenFrankel authored Jan 6, 2025
1 parent d09089f commit 16993f7
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,15 @@
"type": "string"
}
}
},
"systemServingStatus": {
"type": "string",
"enum": [
"ELIGIBLE",
"RARELY_SERVED",
"UNKNOWN",
"UNSPECIFIED"
]
}
}
},
Expand Down
3 changes: 3 additions & 0 deletions tap_googleads/schemas/campaign_performance_by_location.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
"properties": {
"geoTargetConstant": {
"type": "string"
},
"bidModifier": {
"type": "number"
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions tap_googleads/schemas/geo_performance.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
"geographicView": {
"type": "object",
"properties": {
"resourceName": {
"type": "string"
},
"locationType": {
"type": "string"
},
Expand Down
3 changes: 3 additions & 0 deletions tap_googleads/schemas/geo_target_constant.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"type": "object",
"properties": {
"customer_id": {
"type": "string"
},
"geoTargetConstant": {
"type": "object",
"properties": {
Expand Down
1 change: 1 addition & 0 deletions tap_googleads/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def gaql(self):
replication_key = None
parent_stream_type = AccessibleCustomers
schema = th.PropertiesList(
th.Property("customer_id", th.StringType),
th.Property(
"customerClient",
th.ObjectType(
Expand Down

0 comments on commit 16993f7

Please sign in to comment.