You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@maxim_mazurok/gapi.client.googleads-v15

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maxim_mazurok/gapi.client.googleads-v15 - npm Package Compare versions

Comparing version

to
0.0.20240220

12

package.json
{
"name": "@maxim_mazurok/gapi.client.googleads-v15",
"version": "0.0.20231018",
"version": "0.0.20240220",
"description": "TypeScript typings for Google Ads API v15",
"repository": {
"type": "git",
"url": "https://github.com/Maxim-Mazurok/google-api-typings-generator.git"
},
"license": "MIT",
"author": {
"name": "Maxim Mazurok",
"email": "maxim@mazurok.com",
"name": "Maxim Mazurok",
"url": "https://maxim.mazurok.com"
},
"repository": {
"type": "git",
"url": "https://github.com/Maxim-Mazurok/google-api-typings-generator.git"
},
"types": "index.d.ts",

@@ -16,0 +16,0 @@ "dependencies": {

@@ -28,6 +28,9 @@ # TypeScript typings for Google Ads API v15

```typescript
gapi.client.load('https://googleads.googleapis.com/$discovery/rest?version=v15', () => {
// now we can use:
// gapi.client.googleads
});
gapi.client.load(
'https://googleads.googleapis.com/$discovery/rest?version=v15',
() => {
// now we can use:
// gapi.client.googleads
}
);
```

@@ -49,17 +52,18 @@

scope = [
// See, edit, create, and delete your Google Ads accounts and data.
'https://www.googleapis.com/auth/adwords',
],
immediate = true;
// See, edit, create, and delete your Google Ads accounts and data.
'https://www.googleapis.com/auth/adwords',
],
immediate = true;
// ...
gapi.auth.authorize(
{ client_id: client_id, scope: scope, immediate: immediate },
{client_id: client_id, scope: scope, immediate: immediate},
authResult => {
if (authResult && !authResult.error) {
/* handle successful authorization */
/* handle successful authorization */
} else {
/* handle authorization error */
/* handle authorization error */
}
});
}
);
```

@@ -70,7 +74,6 @@

```typescript
/*
Lists date ranges for which audience insights data can be requested. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RangeError]() [RequestError]()
*/
await gapi.client.googleads.audienceInsights.listInsightsEligibleDates({ });
await gapi.client.googleads.audienceInsights.listInsightsEligibleDates({});

@@ -80,3 +83,5 @@ /*

*/
await gapi.client.googleads.customers.createCustomerClient({ customerId: "customerId", });
await gapi.client.googleads.customers.createCustomerClient({
customerId: 'customerId',
});

@@ -86,3 +91,5 @@ /*

*/
await gapi.client.googleads.customers.generateAdGroupThemes({ customerId: "customerId", });
await gapi.client.googleads.customers.generateAdGroupThemes({
customerId: 'customerId',
});

@@ -92,3 +99,5 @@ /*

*/
await gapi.client.googleads.customers.generateAudienceCompositionInsights({ customerId: "customerId", });
await gapi.client.googleads.customers.generateAudienceCompositionInsights({
customerId: 'customerId',
});

@@ -98,3 +107,5 @@ /*

*/
await gapi.client.googleads.customers.generateInsightsFinderReport({ customerId: "customerId", });
await gapi.client.googleads.customers.generateInsightsFinderReport({
customerId: 'customerId',
});

@@ -104,3 +115,5 @@ /*

*/
await gapi.client.googleads.customers.generateKeywordForecastMetrics({ customerId: "customerId", });
await gapi.client.googleads.customers.generateKeywordForecastMetrics({
customerId: 'customerId',
});

@@ -110,3 +123,5 @@ /*

*/
await gapi.client.googleads.customers.generateKeywordHistoricalMetrics({ customerId: "customerId", });
await gapi.client.googleads.customers.generateKeywordHistoricalMetrics({
customerId: 'customerId',
});

@@ -116,3 +131,5 @@ /*

*/
await gapi.client.googleads.customers.generateKeywordIdeas({ customerId: "customerId", });
await gapi.client.googleads.customers.generateKeywordIdeas({
customerId: 'customerId',
});

@@ -122,3 +139,5 @@ /*

*/
await gapi.client.googleads.customers.generateReachForecast({ customerId: "customerId", });
await gapi.client.googleads.customers.generateReachForecast({
customerId: 'customerId',
});

@@ -128,3 +147,5 @@ /*

*/
await gapi.client.googleads.customers.generateSuggestedTargetingInsights({ customerId: "customerId", });
await gapi.client.googleads.customers.generateSuggestedTargetingInsights({
customerId: 'customerId',
});

@@ -134,3 +155,3 @@ /*

*/
await gapi.client.googleads.customers.listAccessibleCustomers({ });
await gapi.client.googleads.customers.listAccessibleCustomers({});

@@ -140,3 +161,3 @@ /*

*/
await gapi.client.googleads.customers.mutate({ customerId: "customerId", });
await gapi.client.googleads.customers.mutate({customerId: 'customerId'});

@@ -146,3 +167,5 @@ /*

*/
await gapi.client.googleads.customers.searchAudienceInsightsAttributes({ customerId: "customerId", });
await gapi.client.googleads.customers.searchAudienceInsightsAttributes({
customerId: 'customerId',
});

@@ -152,3 +175,3 @@ /*

*/
await gapi.client.googleads.customers.suggestBrands({ customerId: "customerId", });
await gapi.client.googleads.customers.suggestBrands({customerId: 'customerId'});

@@ -158,3 +181,5 @@ /*

*/
await gapi.client.googleads.customers.suggestKeywordThemes({ customerId: "customerId", });
await gapi.client.googleads.customers.suggestKeywordThemes({
customerId: 'customerId',
});

@@ -164,3 +189,5 @@ /*

*/
await gapi.client.googleads.customers.suggestSmartCampaignAd({ customerId: "customerId", });
await gapi.client.googleads.customers.suggestSmartCampaignAd({
customerId: 'customerId',
});

@@ -170,3 +197,5 @@ /*

*/
await gapi.client.googleads.customers.suggestSmartCampaignBudgetOptions({ customerId: "customerId", });
await gapi.client.googleads.customers.suggestSmartCampaignBudgetOptions({
customerId: 'customerId',
});

@@ -176,3 +205,5 @@ /*

*/
await gapi.client.googleads.customers.suggestTravelAssets({ customerId: "customerId", });
await gapi.client.googleads.customers.suggestTravelAssets({
customerId: 'customerId',
});

@@ -182,3 +213,5 @@ /*

*/
await gapi.client.googleads.customers.uploadCallConversions({ customerId: "customerId", });
await gapi.client.googleads.customers.uploadCallConversions({
customerId: 'customerId',
});

@@ -188,3 +221,5 @@ /*

*/
await gapi.client.googleads.customers.uploadClickConversions({ customerId: "customerId", });
await gapi.client.googleads.customers.uploadClickConversions({
customerId: 'customerId',
});

@@ -194,3 +229,5 @@ /*

*/
await gapi.client.googleads.customers.uploadConversionAdjustments({ customerId: "customerId", });
await gapi.client.googleads.customers.uploadConversionAdjustments({
customerId: 'customerId',
});

@@ -200,3 +237,5 @@ /*

*/
await gapi.client.googleads.customers.uploadUserData({ customerId: "customerId", });
await gapi.client.googleads.customers.uploadUserData({
customerId: 'customerId',
});

@@ -206,3 +245,3 @@ /*

*/
await gapi.client.googleads.geoTargetConstants.suggest({ });
await gapi.client.googleads.geoTargetConstants.suggest({});

@@ -212,3 +251,3 @@ /*

*/
await gapi.client.googleads.googleAdsFields.get({ resourceName: "resourceName", });
await gapi.client.googleads.googleAdsFields.get({resourceName: 'resourceName'});

@@ -218,3 +257,3 @@ /*

*/
await gapi.client.googleads.googleAdsFields.search({ });
await gapi.client.googleads.googleAdsFields.search({});

@@ -224,3 +263,3 @@ /*

*/
await gapi.client.googleads.keywordThemeConstants.suggest({ });
await gapi.client.googleads.keywordThemeConstants.suggest({});

@@ -230,3 +269,3 @@ /*

*/
await gapi.client.googleads.listPlannableLocations({ });
await gapi.client.googleads.listPlannableLocations({});

@@ -236,3 +275,3 @@ /*

*/
await gapi.client.googleads.listPlannableProducts({ });
await gapi.client.googleads.listPlannableProducts({});
```

Sorry, the diff of this file is too big to display