Skip to content

Commit

Permalink
feat(searchads360): update the API
Browse files Browse the repository at this point in the history
#### searchads360:v0

The following keys were added:
- schemas.GoogleAdsSearchads360V0Resources__AdGroupAd.properties.effectiveLabels.description
- schemas.GoogleAdsSearchads360V0Resources__AdGroupAd.properties.effectiveLabels.items.type
- schemas.GoogleAdsSearchads360V0Resources__AdGroupAd.properties.effectiveLabels.readOnly
- schemas.GoogleAdsSearchads360V0Resources__AdGroupAd.properties.effectiveLabels.type
- schemas.GoogleAdsSearchads360V0Resources__AdGroupAdEffectiveLabel.description
- schemas.GoogleAdsSearchads360V0Resources__AdGroupAdEffectiveLabel.id
- schemas.GoogleAdsSearchads360V0Resources__AdGroupAdEffectiveLabel.properties.adGroupAd.description
- schemas.GoogleAdsSearchads360V0Resources__AdGroupAdEffectiveLabel.properties.adGroupAd.type
- schemas.GoogleAdsSearchads360V0Resources__AdGroupAdEffectiveLabel.properties.label.description
- schemas.GoogleAdsSearchads360V0Resources__AdGroupAdEffectiveLabel.properties.label.type
- schemas.GoogleAdsSearchads360V0Resources__AdGroupAdEffectiveLabel.properties.ownerCustomerId.description
- schemas.GoogleAdsSearchads360V0Resources__AdGroupAdEffectiveLabel.properties.ownerCustomerId.format
- schemas.GoogleAdsSearchads360V0Resources__AdGroupAdEffectiveLabel.properties.ownerCustomerId.readOnly
- schemas.GoogleAdsSearchads360V0Resources__AdGroupAdEffectiveLabel.properties.ownerCustomerId.type
- schemas.GoogleAdsSearchads360V0Resources__AdGroupAdEffectiveLabel.properties.resourceName.description
- schemas.GoogleAdsSearchads360V0Resources__AdGroupAdEffectiveLabel.properties.resourceName.type
- schemas.GoogleAdsSearchads360V0Resources__AdGroupAdEffectiveLabel.type
- schemas.GoogleAdsSearchads360V0Resources__AdGroupCriterion.properties.effectiveLabels.description
- schemas.GoogleAdsSearchads360V0Resources__AdGroupCriterion.properties.effectiveLabels.items.type
- schemas.GoogleAdsSearchads360V0Resources__AdGroupCriterion.properties.effectiveLabels.readOnly
- schemas.GoogleAdsSearchads360V0Resources__AdGroupCriterion.properties.effectiveLabels.type
- schemas.GoogleAdsSearchads360V0Resources__AdGroupCriterionEffectiveLabel.description
- schemas.GoogleAdsSearchads360V0Resources__AdGroupCriterionEffectiveLabel.id
- schemas.GoogleAdsSearchads360V0Resources__AdGroupCriterionEffectiveLabel.properties.adGroupCriterion.description
- schemas.GoogleAdsSearchads360V0Resources__AdGroupCriterionEffectiveLabel.properties.adGroupCriterion.type
- schemas.GoogleAdsSearchads360V0Resources__AdGroupCriterionEffectiveLabel.properties.label.description
- schemas.GoogleAdsSearchads360V0Resources__AdGroupCriterionEffectiveLabel.properties.label.type
- schemas.GoogleAdsSearchads360V0Resources__AdGroupCriterionEffectiveLabel.properties.ownerCustomerId.description
- schemas.GoogleAdsSearchads360V0Resources__AdGroupCriterionEffectiveLabel.properties.ownerCustomerId.format
- schemas.GoogleAdsSearchads360V0Resources__AdGroupCriterionEffectiveLabel.properties.ownerCustomerId.readOnly
- schemas.GoogleAdsSearchads360V0Resources__AdGroupCriterionEffectiveLabel.properties.ownerCustomerId.type
- schemas.GoogleAdsSearchads360V0Resources__AdGroupCriterionEffectiveLabel.properties.resourceName.description
- schemas.GoogleAdsSearchads360V0Resources__AdGroupCriterionEffectiveLabel.properties.resourceName.type
- schemas.GoogleAdsSearchads360V0Resources__AdGroupCriterionEffectiveLabel.type
- schemas.GoogleAdsSearchads360V0Resources__UserLocationView.description
- schemas.GoogleAdsSearchads360V0Resources__UserLocationView.id
- schemas.GoogleAdsSearchads360V0Resources__UserLocationView.properties.countryCriterionId.description
- schemas.GoogleAdsSearchads360V0Resources__UserLocationView.properties.countryCriterionId.format
- schemas.GoogleAdsSearchads360V0Resources__UserLocationView.properties.countryCriterionId.readOnly
- schemas.GoogleAdsSearchads360V0Resources__UserLocationView.properties.countryCriterionId.type
- schemas.GoogleAdsSearchads360V0Resources__UserLocationView.properties.resourceName.description
- schemas.GoogleAdsSearchads360V0Resources__UserLocationView.properties.resourceName.readOnly
- schemas.GoogleAdsSearchads360V0Resources__UserLocationView.properties.resourceName.type
- schemas.GoogleAdsSearchads360V0Resources__UserLocationView.properties.targetingLocation.description
- schemas.GoogleAdsSearchads360V0Resources__UserLocationView.properties.targetingLocation.readOnly
- schemas.GoogleAdsSearchads360V0Resources__UserLocationView.properties.targetingLocation.type
- schemas.GoogleAdsSearchads360V0Resources__UserLocationView.type
- schemas.GoogleAdsSearchads360V0Services__SearchAds360Row.properties.adGroupAdEffectiveLabel.$ref
- schemas.GoogleAdsSearchads360V0Services__SearchAds360Row.properties.adGroupAdEffectiveLabel.description
- schemas.GoogleAdsSearchads360V0Services__SearchAds360Row.properties.adGroupCriterionEffectiveLabel.$ref
- schemas.GoogleAdsSearchads360V0Services__SearchAds360Row.properties.adGroupCriterionEffectiveLabel.description
- schemas.GoogleAdsSearchads360V0Services__SearchAds360Row.properties.userLocationView.$ref
- schemas.GoogleAdsSearchads360V0Services__SearchAds360Row.properties.userLocationView.description
  • Loading branch information
yoshi-automation authored and sofisl committed Jan 29, 2025
1 parent 8c8c86e commit 340ca02
Show file tree
Hide file tree
Showing 2 changed files with 181 additions and 1 deletion.
103 changes: 102 additions & 1 deletion discovery/searchads360-v0.json
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@
}
}
},
"revision": "20241002",
"revision": "20241108",
"rootUrl": "https://searchads360.googleapis.com/",
"schemas": {
"GoogleAdsSearchads360V0Common__AdScheduleInfo": {
Expand Down Expand Up @@ -4225,6 +4225,14 @@
"readOnly": true,
"type": "string"
},
"effectiveLabels": {
"description": "Output only. The resource names of effective labels attached to this ad. An effective label is a label inherited or directly assigned to this ad.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"engineId": {
"description": "Output only. ID of the ad in the external engine account. This field is for Search Ads 360 account only, for example, Yahoo Japan, Microsoft, Baidu etc. For non-Search Ads 360 entity, use \"ad_group_ad.ad.id\" instead.",
"readOnly": true,
Expand Down Expand Up @@ -4336,6 +4344,31 @@
},
"type": "object"
},
"GoogleAdsSearchads360V0Resources__AdGroupAdEffectiveLabel": {
"description": "A relationship between an ad group ad and an effective label. An effective label is a label inherited or directly assigned to this ad group ad.",
"id": "GoogleAdsSearchads360V0Resources__AdGroupAdEffectiveLabel",
"properties": {
"adGroupAd": {
"description": "Immutable. The ad group ad to which the effective label is attached.",
"type": "string"
},
"label": {
"description": "Immutable. The effective label assigned to the ad group ad.",
"type": "string"
},
"ownerCustomerId": {
"description": "Output only. The ID of the Customer which owns the effective label.",
"format": "int64",
"readOnly": true,
"type": "string"
},
"resourceName": {
"description": "Immutable. The resource name of the ad group ad effective label. Ad group ad effective label resource names have the form: `customers/{customer_id}/adGroupAdEffectiveLabels/{ad_group_id}~{ad_id}~{label_id}`",
"type": "string"
}
},
"type": "object"
},
"GoogleAdsSearchads360V0Resources__AdGroupAdLabel": {
"description": "A relationship between an ad group ad and a label.",
"id": "GoogleAdsSearchads360V0Resources__AdGroupAdLabel",
Expand Down Expand Up @@ -4505,6 +4538,14 @@
"readOnly": true,
"type": "string"
},
"effectiveLabels": {
"description": "Output only. The resource names of effective labels attached to this ad group criterion. An effective label is a label inherited or directly assigned to this ad group criterion.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"engineId": {
"description": "Output only. ID of the ad group criterion in the external engine account. This field is for non-Google Ads account only, for example, Yahoo Japan, Microsoft, Baidu etc. For Google Ads entity, use \"ad_group_criterion.criterion_id\" instead.",
"readOnly": true,
Expand Down Expand Up @@ -4764,6 +4805,31 @@
},
"type": "object"
},
"GoogleAdsSearchads360V0Resources__AdGroupCriterionEffectiveLabel": {
"description": "A relationship between an ad group criterion and an effective label. An effective label is a label inherited or directly assigned to this ad group criterion.",
"id": "GoogleAdsSearchads360V0Resources__AdGroupCriterionEffectiveLabel",
"properties": {
"adGroupCriterion": {
"description": "Immutable. The ad group criterion to which the effective label is attached.",
"type": "string"
},
"label": {
"description": "Immutable. The effective label assigned to the ad group criterion.",
"type": "string"
},
"ownerCustomerId": {
"description": "Output only. The ID of the Customer which owns the effective label.",
"format": "int64",
"readOnly": true,
"type": "string"
},
"resourceName": {
"description": "Immutable. The resource name of the ad group criterion effective label. Ad group criterion effective label resource names have the form: `customers/{customer_id}/adGroupCriterionEffectiveLabels/{ad_group_id}~{criterion_id}~{label_id}`",
"type": "string"
}
},
"type": "object"
},
"GoogleAdsSearchads360V0Resources__AdGroupCriterionLabel": {
"description": "A relationship between an ad group criterion and a label.",
"id": "GoogleAdsSearchads360V0Resources__AdGroupCriterionLabel",
Expand Down Expand Up @@ -8099,6 +8165,29 @@
},
"type": "object"
},
"GoogleAdsSearchads360V0Resources__UserLocationView": {
"description": "A user location view. User Location View includes all metrics aggregated at the country level, one row per country. It reports metrics at the actual physical location of the user by targeted or not targeted location. If other segment fields are used, you may get more than one row per country.",
"id": "GoogleAdsSearchads360V0Resources__UserLocationView",
"properties": {
"countryCriterionId": {
"description": "Output only. Criterion Id for the country.",
"format": "int64",
"readOnly": true,
"type": "string"
},
"resourceName": {
"description": "Output only. The resource name of the user location view. UserLocation view resource names have the form: `customers/{customer_id}/userLocationViews/{country_criterion_id}~{targeting_location}`",
"readOnly": true,
"type": "string"
},
"targetingLocation": {
"description": "Output only. Indicates whether location was targeted or not.",
"readOnly": true,
"type": "boolean"
}
},
"type": "object"
},
"GoogleAdsSearchads360V0Resources__Visit": {
"description": "A visit.",
"id": "GoogleAdsSearchads360V0Resources__Visit",
Expand Down Expand Up @@ -8397,6 +8486,10 @@
"$ref": "GoogleAdsSearchads360V0Resources__AdGroupAd",
"description": "The ad referenced in the query."
},
"adGroupAdEffectiveLabel": {
"$ref": "GoogleAdsSearchads360V0Resources__AdGroupAdEffectiveLabel",
"description": "The ad group ad effective label referenced in the query."
},
"adGroupAdLabel": {
"$ref": "GoogleAdsSearchads360V0Resources__AdGroupAdLabel",
"description": "The ad group ad label referenced in the query."
Expand All @@ -8421,6 +8514,10 @@
"$ref": "GoogleAdsSearchads360V0Resources__AdGroupCriterion",
"description": "The criterion referenced in the query."
},
"adGroupCriterionEffectiveLabel": {
"$ref": "GoogleAdsSearchads360V0Resources__AdGroupCriterionEffectiveLabel",
"description": "The ad group criterion effective label referenced in the query."
},
"adGroupCriterionLabel": {
"$ref": "GoogleAdsSearchads360V0Resources__AdGroupCriterionLabel",
"description": "The ad group criterion label referenced in the query."
Expand Down Expand Up @@ -8604,6 +8701,10 @@
"$ref": "GoogleAdsSearchads360V0Resources__UserList",
"description": "The user list referenced in the query."
},
"userLocationView": {
"$ref": "GoogleAdsSearchads360V0Resources__UserLocationView",
"description": "The user location view referenced in the query."
},
"visit": {
"$ref": "GoogleAdsSearchads360V0Resources__Visit",
"description": "The event level visit referenced in the query."
Expand Down
79 changes: 79 additions & 0 deletions src/apis/searchads360/v0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2204,6 +2204,10 @@ export namespace searchads360_v0 {
* Output only. The timestamp when this ad_group_ad was created. The datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format.
*/
creationTime?: string | null;
/**
* Output only. The resource names of effective labels attached to this ad. An effective label is a label inherited or directly assigned to this ad.
*/
effectiveLabels?: string[] | null;
/**
* Output only. ID of the ad in the external engine account. This field is for Search Ads 360 account only, for example, Yahoo Japan, Microsoft, Baidu etc. For non-Search Ads 360 entity, use "ad_group_ad.ad.id" instead.
*/
Expand All @@ -2229,6 +2233,27 @@ export namespace searchads360_v0 {
*/
status?: string | null;
}
/**
* A relationship between an ad group ad and an effective label. An effective label is a label inherited or directly assigned to this ad group ad.
*/
export interface Schema$GoogleAdsSearchads360V0Resources__AdGroupAdEffectiveLabel {
/**
* Immutable. The ad group ad to which the effective label is attached.
*/
adGroupAd?: string | null;
/**
* Immutable. The effective label assigned to the ad group ad.
*/
label?: string | null;
/**
* Output only. The ID of the Customer which owns the effective label.
*/
ownerCustomerId?: string | null;
/**
* Immutable. The resource name of the ad group ad effective label. Ad group ad effective label resource names have the form: `customers/{customer_id\}/adGroupAdEffectiveLabels/{ad_group_id\}~{ad_id\}~{label_id\}`
*/
resourceName?: string | null;
}
/**
* A relationship between an ad group ad and a label.
*/
Expand Down Expand Up @@ -2350,6 +2375,10 @@ export namespace searchads360_v0 {
* Output only. The effective CPC (cost-per-click) bid.
*/
effectiveCpcBidMicros?: string | null;
/**
* Output only. The resource names of effective labels attached to this ad group criterion. An effective label is a label inherited or directly assigned to this ad group criterion.
*/
effectiveLabels?: string[] | null;
/**
* Output only. ID of the ad group criterion in the external engine account. This field is for non-Google Ads account only, for example, Yahoo Japan, Microsoft, Baidu etc. For Google Ads entity, use "ad_group_criterion.criterion_id" instead.
*/
Expand Down Expand Up @@ -2427,6 +2456,27 @@ export namespace searchads360_v0 {
*/
webpage?: Schema$GoogleAdsSearchads360V0Common__WebpageInfo;
}
/**
* A relationship between an ad group criterion and an effective label. An effective label is a label inherited or directly assigned to this ad group criterion.
*/
export interface Schema$GoogleAdsSearchads360V0Resources__AdGroupCriterionEffectiveLabel {
/**
* Immutable. The ad group criterion to which the effective label is attached.
*/
adGroupCriterion?: string | null;
/**
* Immutable. The effective label assigned to the ad group criterion.
*/
label?: string | null;
/**
* Output only. The ID of the Customer which owns the effective label.
*/
ownerCustomerId?: string | null;
/**
* Immutable. The resource name of the ad group criterion effective label. Ad group criterion effective label resource names have the form: `customers/{customer_id\}/adGroupCriterionEffectiveLabels/{ad_group_id\}~{criterion_id\}~{label_id\}`
*/
resourceName?: string | null;
}
/**
* A relationship between an ad group criterion and a label.
*/
Expand Down Expand Up @@ -4048,6 +4098,23 @@ export namespace searchads360_v0 {
*/
type?: string | null;
}
/**
* A user location view. User Location View includes all metrics aggregated at the country level, one row per country. It reports metrics at the actual physical location of the user by targeted or not targeted location. If other segment fields are used, you may get more than one row per country.
*/
export interface Schema$GoogleAdsSearchads360V0Resources__UserLocationView {
/**
* Output only. Criterion Id for the country.
*/
countryCriterionId?: string | null;
/**
* Output only. The resource name of the user location view. UserLocation view resource names have the form: `customers/{customer_id\}/userLocationViews/{country_criterion_id\}~{targeting_location\}`
*/
resourceName?: string | null;
/**
* Output only. Indicates whether location was targeted or not.
*/
targetingLocation?: boolean | null;
}
/**
* A visit.
*/
Expand Down Expand Up @@ -4221,6 +4288,10 @@ export namespace searchads360_v0 {
* The ad referenced in the query.
*/
adGroupAd?: Schema$GoogleAdsSearchads360V0Resources__AdGroupAd;
/**
* The ad group ad effective label referenced in the query.
*/
adGroupAdEffectiveLabel?: Schema$GoogleAdsSearchads360V0Resources__AdGroupAdEffectiveLabel;
/**
* The ad group ad label referenced in the query.
*/
Expand All @@ -4245,6 +4316,10 @@ export namespace searchads360_v0 {
* The criterion referenced in the query.
*/
adGroupCriterion?: Schema$GoogleAdsSearchads360V0Resources__AdGroupCriterion;
/**
* The ad group criterion effective label referenced in the query.
*/
adGroupCriterionEffectiveLabel?: Schema$GoogleAdsSearchads360V0Resources__AdGroupCriterionEffectiveLabel;
/**
* The ad group criterion label referenced in the query.
*/
Expand Down Expand Up @@ -4425,6 +4500,10 @@ export namespace searchads360_v0 {
* The user list referenced in the query.
*/
userList?: Schema$GoogleAdsSearchads360V0Resources__UserList;
/**
* The user location view referenced in the query.
*/
userLocationView?: Schema$GoogleAdsSearchads360V0Resources__UserLocationView;
/**
* The event level visit referenced in the query.
*/
Expand Down

0 comments on commit 340ca02

Please sign in to comment.