@postrun/js 2.18.0 → 2.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-RSCSTB6J.js → chunk-EBCBBXLX.js} +615 -680
- package/dist/chunk-EBCBBXLX.js.map +1 -0
- package/dist/{chunk-V34SBEHW.js → chunk-UAOUZR6K.js} +3 -3
- package/dist/{chunk-V34SBEHW.js.map → chunk-UAOUZR6K.js.map} +1 -1
- package/dist/index.cjs +579 -672
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +3 -3
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +329 -980
- package/dist/query.d.ts +329 -980
- package/dist/query.js.map +1 -1
- package/dist/schemas/index.cjs +634 -677
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +653 -11
- package/dist/schemas/index.d.ts +653 -11
- package/dist/schemas/index.js +1 -1
- package/dist/server.cjs +579 -672
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +2 -2
- package/dist/{types.gen-ASOPREfm.d.cts → types.gen-D7d6RVzh.d.cts} +438 -607
- package/dist/{types.gen-ASOPREfm.d.ts → types.gen-D7d6RVzh.d.ts} +438 -607
- package/package.json +1 -1
- package/dist/chunk-RSCSTB6J.js.map +0 -1
package/dist/query.d.cts
CHANGED
|
@@ -1233,6 +1233,235 @@ type CreatePostBody = {
|
|
|
1233
1233
|
*/
|
|
1234
1234
|
variants: Array<PostVariantInput>;
|
|
1235
1235
|
};
|
|
1236
|
+
/**
|
|
1237
|
+
* A Google Ads ad group (the `ad_group` resource): id, name, status, type, and the resource name of the parent campaign.
|
|
1238
|
+
*/
|
|
1239
|
+
type GoogleAdsAdGroup = {
|
|
1240
|
+
id: string;
|
|
1241
|
+
name: string | null;
|
|
1242
|
+
status: 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'PAUSED' | 'REMOVED';
|
|
1243
|
+
type: 'UNSPECIFIED' | 'UNKNOWN' | 'SEARCH_STANDARD' | 'DISPLAY_STANDARD' | 'SHOPPING_PRODUCT_ADS' | 'HOTEL_ADS' | 'SHOPPING_SMART_ADS' | 'VIDEO_BUMPER' | 'VIDEO_TRUE_VIEW_IN_STREAM' | 'VIDEO_TRUE_VIEW_IN_DISPLAY' | 'VIDEO_NON_SKIPPABLE_IN_STREAM' | 'SEARCH_DYNAMIC_ADS' | 'SHOPPING_COMPARISON_LISTING_ADS' | 'PROMOTED_HOTEL_ADS' | 'VIDEO_RESPONSIVE' | 'VIDEO_EFFICIENT_REACH' | 'SMART_CAMPAIGN_ADS' | 'TRAVEL_ADS' | 'YOUTUBE_AUDIO';
|
|
1244
|
+
campaign: string | null;
|
|
1245
|
+
};
|
|
1246
|
+
/**
|
|
1247
|
+
* A Google Ads ad (the `ad_group_ad` resource): id, name, creative type, serving status, and the ad group resource name it belongs to.
|
|
1248
|
+
*/
|
|
1249
|
+
type GoogleAdsAd = {
|
|
1250
|
+
id: string;
|
|
1251
|
+
name: string | null;
|
|
1252
|
+
type: 'UNSPECIFIED' | 'UNKNOWN' | 'TEXT_AD' | 'EXPANDED_TEXT_AD' | 'EXPANDED_DYNAMIC_SEARCH_AD' | 'HOTEL_AD' | 'SHOPPING_SMART_AD' | 'SHOPPING_PRODUCT_AD' | 'VIDEO_AD' | 'IMAGE_AD' | 'RESPONSIVE_SEARCH_AD' | 'LEGACY_RESPONSIVE_DISPLAY_AD' | 'APP_AD' | 'LEGACY_APP_INSTALL_AD' | 'RESPONSIVE_DISPLAY_AD' | 'LOCAL_AD' | 'HTML5_UPLOAD_AD' | 'DYNAMIC_HTML5_AD' | 'APP_ENGAGEMENT_AD' | 'SHOPPING_COMPARISON_LISTING_AD' | 'VIDEO_BUMPER_AD' | 'VIDEO_NON_SKIPPABLE_IN_STREAM_AD' | 'VIDEO_TRUEVIEW_IN_STREAM_AD' | 'VIDEO_RESPONSIVE_AD' | 'SMART_CAMPAIGN_AD' | 'CALL_AD' | 'APP_PRE_REGISTRATION_AD' | 'IN_FEED_VIDEO_AD' | 'DEMAND_GEN_MULTI_ASSET_AD' | 'DEMAND_GEN_CAROUSEL_AD' | 'TRAVEL_AD' | 'DEMAND_GEN_VIDEO_RESPONSIVE_AD' | 'DEMAND_GEN_PRODUCT_AD' | 'YOUTUBE_AUDIO_AD';
|
|
1253
|
+
status: 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'PAUSED' | 'REMOVED';
|
|
1254
|
+
ad_group: string | null;
|
|
1255
|
+
};
|
|
1256
|
+
/**
|
|
1257
|
+
* A Google Ads keyword (an `ad_group_criterion` of type KEYWORD): criterion id, text, match type, status, whether it is a negative keyword, and the owning ad group resource name.
|
|
1258
|
+
*/
|
|
1259
|
+
type GoogleAdsKeyword = {
|
|
1260
|
+
id: string;
|
|
1261
|
+
text: string | null;
|
|
1262
|
+
match_type: 'UNSPECIFIED' | 'UNKNOWN' | 'EXACT' | 'PHRASE' | 'BROAD';
|
|
1263
|
+
status: 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'PAUSED' | 'REMOVED';
|
|
1264
|
+
negative: boolean;
|
|
1265
|
+
ad_group: string | null;
|
|
1266
|
+
};
|
|
1267
|
+
/**
|
|
1268
|
+
* A Google Ads audience available to target: a user_list (remarketing / CRM list, with its type + membership status), an audience (audience asset, with its status), or a custom_audience (interest / intent custom audience, with its status + type). Pass its `resource_name` as the user_list / audience / custom_audience of an ad-group audience criterion.
|
|
1269
|
+
*/
|
|
1270
|
+
type GoogleAdsAudience = {
|
|
1271
|
+
kind: 'user_list';
|
|
1272
|
+
id: string;
|
|
1273
|
+
resource_name: string;
|
|
1274
|
+
name: string | null;
|
|
1275
|
+
type: 'UNSPECIFIED' | 'UNKNOWN' | 'REMARKETING' | 'LOGICAL' | 'EXTERNAL_REMARKETING' | 'RULE_BASED' | 'SIMILAR' | 'CRM_BASED' | 'LOOKALIKE';
|
|
1276
|
+
membership_status: 'UNSPECIFIED' | 'UNKNOWN' | 'OPEN' | 'CLOSED';
|
|
1277
|
+
} | {
|
|
1278
|
+
kind: 'audience';
|
|
1279
|
+
id: string;
|
|
1280
|
+
resource_name: string;
|
|
1281
|
+
name: string | null;
|
|
1282
|
+
status: 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'REMOVED';
|
|
1283
|
+
} | {
|
|
1284
|
+
kind: 'custom_audience';
|
|
1285
|
+
id: string;
|
|
1286
|
+
resource_name: string;
|
|
1287
|
+
name: string | null;
|
|
1288
|
+
status: 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'REMOVED';
|
|
1289
|
+
type: 'UNSPECIFIED' | 'UNKNOWN' | 'AUTO' | 'INTEREST' | 'PURCHASE_INTENT' | 'SEARCH';
|
|
1290
|
+
};
|
|
1291
|
+
/**
|
|
1292
|
+
* A Google Ads campaign targeting criterion. LOCATION and LANGUAGE are fully modelled (with their geo_target_constant / language_constant, status, and negative flag); any other criterion type is returned as { type, criterion_id }.
|
|
1293
|
+
*/
|
|
1294
|
+
type GoogleAdsCampaignCriterion = {
|
|
1295
|
+
type: 'LOCATION';
|
|
1296
|
+
criterion_id: string;
|
|
1297
|
+
status: 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'PAUSED' | 'REMOVED';
|
|
1298
|
+
negative: boolean;
|
|
1299
|
+
geo_target_constant: string | null;
|
|
1300
|
+
} | {
|
|
1301
|
+
type: 'LANGUAGE';
|
|
1302
|
+
criterion_id: string;
|
|
1303
|
+
status: 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'PAUSED' | 'REMOVED';
|
|
1304
|
+
negative: boolean;
|
|
1305
|
+
language_constant: string | null;
|
|
1306
|
+
} | {
|
|
1307
|
+
type: 'UNSPECIFIED' | 'UNKNOWN' | 'KEYWORD' | 'PLACEMENT' | 'MOBILE_APP_CATEGORY' | 'MOBILE_APPLICATION' | 'DEVICE' | 'LISTING_GROUP' | 'AD_SCHEDULE' | 'AGE_RANGE' | 'GENDER' | 'INCOME_RANGE' | 'PARENTAL_STATUS' | 'YOUTUBE_VIDEO' | 'YOUTUBE_CHANNEL' | 'USER_LIST' | 'PROXIMITY' | 'TOPIC' | 'LISTING_SCOPE' | 'IP_BLOCK' | 'CONTENT_LABEL' | 'CARRIER' | 'USER_INTEREST' | 'WEBPAGE' | 'OPERATING_SYSTEM_VERSION' | 'APP_PAYMENT_MODEL' | 'MOBILE_DEVICE' | 'CUSTOM_AFFINITY' | 'CUSTOM_INTENT' | 'LOCATION_GROUP' | 'CUSTOM_AUDIENCE' | 'COMBINED_AUDIENCE' | 'KEYWORD_THEME' | 'AUDIENCE' | 'NEGATIVE_KEYWORD_LIST' | 'LOCAL_SERVICE_ID' | 'SEARCH_THEME' | 'BRAND' | 'BRAND_LIST' | 'LIFE_EVENT' | 'WEBPAGE_LIST' | 'VIDEO_LINEUP' | 'PLACEMENT_LIST' | 'VERTICAL_ADS_ITEM_GROUP_RULE_LIST' | 'VERTICAL_ADS_ITEM_GROUP_RULE';
|
|
1308
|
+
criterion_id: string;
|
|
1309
|
+
};
|
|
1310
|
+
/**
|
|
1311
|
+
* A Google Ads ad-group targeting criterion. The four demographics (AGE_RANGE, GENDER, INCOME_RANGE, PARENTAL_STATUS) and the three audience kinds (USER_LIST, AUDIENCE, CUSTOM_AUDIENCE) are fully modelled with their value, status, and negative (exclusion) flag; any other criterion type (e.g. KEYWORD) is returned as { type, criterion_id }.
|
|
1312
|
+
*/
|
|
1313
|
+
type GoogleAdsAdGroupCriterion = {
|
|
1314
|
+
type: 'AGE_RANGE';
|
|
1315
|
+
criterion_id: string;
|
|
1316
|
+
status: 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'PAUSED' | 'REMOVED';
|
|
1317
|
+
negative: boolean;
|
|
1318
|
+
age_range: 'UNSPECIFIED' | 'UNKNOWN' | 'AGE_RANGE_18_24' | 'AGE_RANGE_25_34' | 'AGE_RANGE_35_44' | 'AGE_RANGE_45_54' | 'AGE_RANGE_55_64' | 'AGE_RANGE_65_UP' | 'AGE_RANGE_UNDETERMINED';
|
|
1319
|
+
} | {
|
|
1320
|
+
type: 'GENDER';
|
|
1321
|
+
criterion_id: string;
|
|
1322
|
+
status: 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'PAUSED' | 'REMOVED';
|
|
1323
|
+
negative: boolean;
|
|
1324
|
+
gender: 'UNSPECIFIED' | 'UNKNOWN' | 'MALE' | 'FEMALE' | 'UNDETERMINED';
|
|
1325
|
+
} | {
|
|
1326
|
+
type: 'INCOME_RANGE';
|
|
1327
|
+
criterion_id: string;
|
|
1328
|
+
status: 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'PAUSED' | 'REMOVED';
|
|
1329
|
+
negative: boolean;
|
|
1330
|
+
income_range: 'UNSPECIFIED' | 'UNKNOWN' | 'INCOME_RANGE_0_50' | 'INCOME_RANGE_50_60' | 'INCOME_RANGE_60_70' | 'INCOME_RANGE_70_80' | 'INCOME_RANGE_80_90' | 'INCOME_RANGE_90_UP' | 'INCOME_RANGE_UNDETERMINED';
|
|
1331
|
+
} | {
|
|
1332
|
+
type: 'PARENTAL_STATUS';
|
|
1333
|
+
criterion_id: string;
|
|
1334
|
+
status: 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'PAUSED' | 'REMOVED';
|
|
1335
|
+
negative: boolean;
|
|
1336
|
+
parental_status: 'UNSPECIFIED' | 'UNKNOWN' | 'PARENT' | 'NOT_A_PARENT' | 'UNDETERMINED';
|
|
1337
|
+
} | {
|
|
1338
|
+
type: 'USER_LIST';
|
|
1339
|
+
criterion_id: string;
|
|
1340
|
+
status: 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'PAUSED' | 'REMOVED';
|
|
1341
|
+
negative: boolean;
|
|
1342
|
+
user_list: string | null;
|
|
1343
|
+
} | {
|
|
1344
|
+
type: 'AUDIENCE';
|
|
1345
|
+
criterion_id: string;
|
|
1346
|
+
status: 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'PAUSED' | 'REMOVED';
|
|
1347
|
+
negative: boolean;
|
|
1348
|
+
audience: string | null;
|
|
1349
|
+
} | {
|
|
1350
|
+
type: 'CUSTOM_AUDIENCE';
|
|
1351
|
+
criterion_id: string;
|
|
1352
|
+
status: 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'PAUSED' | 'REMOVED';
|
|
1353
|
+
negative: boolean;
|
|
1354
|
+
custom_audience: string | null;
|
|
1355
|
+
} | {
|
|
1356
|
+
type: 'UNSPECIFIED' | 'UNKNOWN' | 'KEYWORD' | 'PLACEMENT' | 'MOBILE_APP_CATEGORY' | 'MOBILE_APPLICATION' | 'DEVICE' | 'LOCATION' | 'LISTING_GROUP' | 'AD_SCHEDULE' | 'YOUTUBE_VIDEO' | 'YOUTUBE_CHANNEL' | 'PROXIMITY' | 'TOPIC' | 'LISTING_SCOPE' | 'LANGUAGE' | 'IP_BLOCK' | 'CONTENT_LABEL' | 'CARRIER' | 'USER_INTEREST' | 'WEBPAGE' | 'OPERATING_SYSTEM_VERSION' | 'APP_PAYMENT_MODEL' | 'MOBILE_DEVICE' | 'CUSTOM_AFFINITY' | 'CUSTOM_INTENT' | 'LOCATION_GROUP' | 'COMBINED_AUDIENCE' | 'KEYWORD_THEME' | 'NEGATIVE_KEYWORD_LIST' | 'LOCAL_SERVICE_ID' | 'SEARCH_THEME' | 'BRAND' | 'BRAND_LIST' | 'LIFE_EVENT' | 'WEBPAGE_LIST' | 'VIDEO_LINEUP' | 'PLACEMENT_LIST' | 'VERTICAL_ADS_ITEM_GROUP_RULE_LIST' | 'VERTICAL_ADS_ITEM_GROUP_RULE';
|
|
1357
|
+
criterion_id: string;
|
|
1358
|
+
};
|
|
1359
|
+
/**
|
|
1360
|
+
* A Google Ads geo target constant (a targetable location): its id, resource name, name, canonical name, country code, target type (Country/Region/City/…), and status. Pass the `resource_name` (`geoTargetConstants/{id}`) — NOT the bare id — as the `geo_target_constant` of a location criterion: Google’s `LocationInfo.geo_target_constant` is a resource name.
|
|
1361
|
+
*/
|
|
1362
|
+
type GoogleAdsGeoTargetConstant = {
|
|
1363
|
+
id: string;
|
|
1364
|
+
resource_name: string | null;
|
|
1365
|
+
name: string | null;
|
|
1366
|
+
canonical_name: string | null;
|
|
1367
|
+
country_code: string | null;
|
|
1368
|
+
target_type: string | null;
|
|
1369
|
+
status: 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'REMOVAL_PLANNED';
|
|
1370
|
+
};
|
|
1371
|
+
type GoogleAdsCreateResult = {
|
|
1372
|
+
/**
|
|
1373
|
+
* The numeric id of the created resource, or null on a dry run.
|
|
1374
|
+
*/
|
|
1375
|
+
id: string | null;
|
|
1376
|
+
/**
|
|
1377
|
+
* The native Google resource name of the created resource (chain it into the next create), or null on a dry run.
|
|
1378
|
+
*/
|
|
1379
|
+
resource_name: string | null;
|
|
1380
|
+
/**
|
|
1381
|
+
* Whether this was a validate-only dry run.
|
|
1382
|
+
*/
|
|
1383
|
+
dry_run: boolean;
|
|
1384
|
+
/**
|
|
1385
|
+
* Whether the resource was actually created.
|
|
1386
|
+
*/
|
|
1387
|
+
executed: boolean;
|
|
1388
|
+
};
|
|
1389
|
+
type GoogleAdsEditResult = {
|
|
1390
|
+
/**
|
|
1391
|
+
* The numeric id of the edited resource.
|
|
1392
|
+
*/
|
|
1393
|
+
id: string;
|
|
1394
|
+
/**
|
|
1395
|
+
* The native Google resource name of the edited resource.
|
|
1396
|
+
*/
|
|
1397
|
+
resource_name: string;
|
|
1398
|
+
/**
|
|
1399
|
+
* Whether this was a validate-only dry run.
|
|
1400
|
+
*/
|
|
1401
|
+
dry_run: boolean;
|
|
1402
|
+
/**
|
|
1403
|
+
* Whether the change was actually applied.
|
|
1404
|
+
*/
|
|
1405
|
+
executed: boolean;
|
|
1406
|
+
};
|
|
1407
|
+
type GoogleAdsDeleteResult = {
|
|
1408
|
+
/**
|
|
1409
|
+
* The numeric id of the removed resource.
|
|
1410
|
+
*/
|
|
1411
|
+
id: string;
|
|
1412
|
+
/**
|
|
1413
|
+
* Whether the resource was removed (false on a dry run — Google validated the removal without applying it).
|
|
1414
|
+
*/
|
|
1415
|
+
removed: boolean;
|
|
1416
|
+
/**
|
|
1417
|
+
* Whether this was a validate-only dry run.
|
|
1418
|
+
*/
|
|
1419
|
+
dry_run: boolean;
|
|
1420
|
+
/**
|
|
1421
|
+
* Whether the removal was actually applied.
|
|
1422
|
+
*/
|
|
1423
|
+
executed: boolean;
|
|
1424
|
+
};
|
|
1425
|
+
type GoogleAdsInsightsRow = {
|
|
1426
|
+
level: GoogleAdsInsightLevel;
|
|
1427
|
+
/**
|
|
1428
|
+
* The bare numeric Google Ads id of this row at its level (customer / campaign / ad-group / ad / keyword-criterion id).
|
|
1429
|
+
*/
|
|
1430
|
+
id: string;
|
|
1431
|
+
/**
|
|
1432
|
+
* The display name of this row (account / campaign / ad-group name, ad name, or keyword text). Null when the resource has no name.
|
|
1433
|
+
*/
|
|
1434
|
+
name: string | null;
|
|
1435
|
+
/**
|
|
1436
|
+
* The immediate parent in the ad hierarchy — null at account/campaign (the tree roots), the campaign id at ad_group level, the ad-group id at ad/keyword levels. Use it to attach this row to its parent when assembling the campaign→ad_group→ad/keyword tree. The bare numeric id.
|
|
1437
|
+
*/
|
|
1438
|
+
parent_id: string | null;
|
|
1439
|
+
/**
|
|
1440
|
+
* The requested metrics keyed by name; only the metrics you asked for are present.
|
|
1441
|
+
*/
|
|
1442
|
+
metrics: {
|
|
1443
|
+
[key: string]: number | null;
|
|
1444
|
+
};
|
|
1445
|
+
/**
|
|
1446
|
+
* The requested breakdowns keyed by segment name; present only when segments were requested.
|
|
1447
|
+
*/
|
|
1448
|
+
segments?: {
|
|
1449
|
+
[key: string]: string;
|
|
1450
|
+
};
|
|
1451
|
+
};
|
|
1452
|
+
/**
|
|
1453
|
+
* Performance rows for the requested level, metrics, and window.
|
|
1454
|
+
*/
|
|
1455
|
+
type GoogleAdsInsights = {
|
|
1456
|
+
object: 'list';
|
|
1457
|
+
data: Array<GoogleAdsInsightsRow>;
|
|
1458
|
+
};
|
|
1459
|
+
/**
|
|
1460
|
+
* Aggregation level: the connected account, a campaign, an ad group, a single ad, or a single keyword.
|
|
1461
|
+
*/
|
|
1462
|
+
type GoogleAdsInsightLevel = 'account' | 'campaign' | 'ad_group' | 'ad' | 'keyword';
|
|
1463
|
+
type GoogleAdsInsightMetric = 'impressions' | 'clicks' | 'ctr' | 'average_cpc' | 'cost_micros' | 'conversions' | 'conversions_value' | 'cost_per_conversion';
|
|
1464
|
+
type GoogleAdsInsightSegment = 'date' | 'device';
|
|
1236
1465
|
type ProfilesListData = {
|
|
1237
1466
|
body?: never;
|
|
1238
1467
|
path?: never;
|
|
@@ -8341,18 +8570,23 @@ type GoogleGetAccountErrors = {
|
|
|
8341
8570
|
type GoogleGetAccountError = GoogleGetAccountErrors[keyof GoogleGetAccountErrors];
|
|
8342
8571
|
type GoogleGetInsightsData = {
|
|
8343
8572
|
body: {
|
|
8344
|
-
|
|
8345
|
-
* Aggregation level: the connected account, a campaign, or an ad group.
|
|
8346
|
-
*/
|
|
8347
|
-
level?: 'account' | 'campaign' | 'ad_group';
|
|
8573
|
+
level?: GoogleAdsInsightLevel;
|
|
8348
8574
|
/**
|
|
8349
8575
|
* The metrics to report. At least one.
|
|
8350
8576
|
*/
|
|
8351
|
-
metrics?: Array<
|
|
8577
|
+
metrics?: Array<GoogleAdsInsightMetric>;
|
|
8352
8578
|
/**
|
|
8353
8579
|
* Optional breakdowns (e.g. by date or device).
|
|
8354
8580
|
*/
|
|
8355
|
-
segments?: Array<
|
|
8581
|
+
segments?: Array<GoogleAdsInsightSegment>;
|
|
8582
|
+
/**
|
|
8583
|
+
* Restrict to one campaign (campaign / ad_group levels only).
|
|
8584
|
+
*/
|
|
8585
|
+
campaign_id?: string;
|
|
8586
|
+
/**
|
|
8587
|
+
* Restrict to one ad group (required at the ad / keyword levels).
|
|
8588
|
+
*/
|
|
8589
|
+
ad_group_id?: string;
|
|
8356
8590
|
/**
|
|
8357
8591
|
* Start date, inclusive (YYYY-MM-DD).
|
|
8358
8592
|
*/
|
|
@@ -8568,25 +8802,9 @@ type GoogleGetInsightsErrors = {
|
|
|
8568
8802
|
type GoogleGetInsightsError = GoogleGetInsightsErrors[keyof GoogleGetInsightsErrors];
|
|
8569
8803
|
type GoogleGetInsightsResponses = {
|
|
8570
8804
|
/**
|
|
8571
|
-
*
|
|
8805
|
+
* OK
|
|
8572
8806
|
*/
|
|
8573
|
-
200:
|
|
8574
|
-
object: 'list';
|
|
8575
|
-
data: Array<{
|
|
8576
|
-
/**
|
|
8577
|
-
* Aggregation level: the connected account, a campaign, or an ad group.
|
|
8578
|
-
*/
|
|
8579
|
-
level: 'account' | 'campaign' | 'ad_group';
|
|
8580
|
-
id: string;
|
|
8581
|
-
name: string | null;
|
|
8582
|
-
metrics: {
|
|
8583
|
-
[key: string]: number | null;
|
|
8584
|
-
};
|
|
8585
|
-
segments?: {
|
|
8586
|
-
[key: string]: string;
|
|
8587
|
-
};
|
|
8588
|
-
}>;
|
|
8589
|
-
};
|
|
8807
|
+
200: GoogleAdsInsights;
|
|
8590
8808
|
};
|
|
8591
8809
|
type GoogleGetInsightsResponse = GoogleGetInsightsResponses[keyof GoogleGetInsightsResponses];
|
|
8592
8810
|
type GoogleRunGaqlData = {
|
|
@@ -9033,24 +9251,7 @@ type GoogleCreateBudgetResponses = {
|
|
|
9033
9251
|
/**
|
|
9034
9252
|
* OK
|
|
9035
9253
|
*/
|
|
9036
|
-
201:
|
|
9037
|
-
/**
|
|
9038
|
-
* The numeric id of the created resource, or null on a dry run.
|
|
9039
|
-
*/
|
|
9040
|
-
id: string | null;
|
|
9041
|
-
/**
|
|
9042
|
-
* The native Google resource name of the created resource (chain it into the next create), or null on a dry run.
|
|
9043
|
-
*/
|
|
9044
|
-
resource_name: string | null;
|
|
9045
|
-
/**
|
|
9046
|
-
* Whether this was a validate-only dry run.
|
|
9047
|
-
*/
|
|
9048
|
-
dry_run: boolean;
|
|
9049
|
-
/**
|
|
9050
|
-
* Whether the resource was actually created.
|
|
9051
|
-
*/
|
|
9052
|
-
executed: boolean;
|
|
9053
|
-
};
|
|
9254
|
+
201: GoogleAdsCreateResult;
|
|
9054
9255
|
};
|
|
9055
9256
|
type GoogleCreateBudgetResponse = GoogleCreateBudgetResponses[keyof GoogleCreateBudgetResponses];
|
|
9056
9257
|
type GoogleDeleteBudgetData = {
|
|
@@ -9272,24 +9473,7 @@ type GoogleDeleteBudgetResponses = {
|
|
|
9272
9473
|
/**
|
|
9273
9474
|
* OK
|
|
9274
9475
|
*/
|
|
9275
|
-
200:
|
|
9276
|
-
/**
|
|
9277
|
-
* The numeric id of the removed resource.
|
|
9278
|
-
*/
|
|
9279
|
-
id: string;
|
|
9280
|
-
/**
|
|
9281
|
-
* Whether the resource was removed (false on a dry run — Google validated the removal without applying it).
|
|
9282
|
-
*/
|
|
9283
|
-
removed: boolean;
|
|
9284
|
-
/**
|
|
9285
|
-
* Whether this was a validate-only dry run.
|
|
9286
|
-
*/
|
|
9287
|
-
dry_run: boolean;
|
|
9288
|
-
/**
|
|
9289
|
-
* Whether the removal was actually applied.
|
|
9290
|
-
*/
|
|
9291
|
-
executed: boolean;
|
|
9292
|
-
};
|
|
9476
|
+
200: GoogleAdsDeleteResult;
|
|
9293
9477
|
};
|
|
9294
9478
|
type GoogleDeleteBudgetResponse = GoogleDeleteBudgetResponses[keyof GoogleDeleteBudgetResponses];
|
|
9295
9479
|
type GoogleEditBudgetData = {
|
|
@@ -9515,24 +9699,7 @@ type GoogleEditBudgetResponses = {
|
|
|
9515
9699
|
/**
|
|
9516
9700
|
* OK
|
|
9517
9701
|
*/
|
|
9518
|
-
200:
|
|
9519
|
-
/**
|
|
9520
|
-
* The numeric id of the edited resource.
|
|
9521
|
-
*/
|
|
9522
|
-
id: string;
|
|
9523
|
-
/**
|
|
9524
|
-
* The native Google resource name of the edited resource.
|
|
9525
|
-
*/
|
|
9526
|
-
resource_name: string;
|
|
9527
|
-
/**
|
|
9528
|
-
* Whether this was a validate-only dry run.
|
|
9529
|
-
*/
|
|
9530
|
-
dry_run: boolean;
|
|
9531
|
-
/**
|
|
9532
|
-
* Whether the change was actually applied.
|
|
9533
|
-
*/
|
|
9534
|
-
executed: boolean;
|
|
9535
|
-
};
|
|
9702
|
+
200: GoogleAdsEditResult;
|
|
9536
9703
|
};
|
|
9537
9704
|
type GoogleEditBudgetResponse = GoogleEditBudgetResponses[keyof GoogleEditBudgetResponses];
|
|
9538
9705
|
type GoogleListCampaignsData = {
|
|
@@ -9976,24 +10143,7 @@ type GoogleCreateCampaignResponses = {
|
|
|
9976
10143
|
/**
|
|
9977
10144
|
* OK
|
|
9978
10145
|
*/
|
|
9979
|
-
201:
|
|
9980
|
-
/**
|
|
9981
|
-
* The numeric id of the created resource, or null on a dry run.
|
|
9982
|
-
*/
|
|
9983
|
-
id: string | null;
|
|
9984
|
-
/**
|
|
9985
|
-
* The native Google resource name of the created resource (chain it into the next create), or null on a dry run.
|
|
9986
|
-
*/
|
|
9987
|
-
resource_name: string | null;
|
|
9988
|
-
/**
|
|
9989
|
-
* Whether this was a validate-only dry run.
|
|
9990
|
-
*/
|
|
9991
|
-
dry_run: boolean;
|
|
9992
|
-
/**
|
|
9993
|
-
* Whether the resource was actually created.
|
|
9994
|
-
*/
|
|
9995
|
-
executed: boolean;
|
|
9996
|
-
};
|
|
10146
|
+
201: GoogleAdsCreateResult;
|
|
9997
10147
|
};
|
|
9998
10148
|
type GoogleCreateCampaignResponse = GoogleCreateCampaignResponses[keyof GoogleCreateCampaignResponses];
|
|
9999
10149
|
type GoogleDeleteCampaignData = {
|
|
@@ -10215,24 +10365,7 @@ type GoogleDeleteCampaignResponses = {
|
|
|
10215
10365
|
/**
|
|
10216
10366
|
* OK
|
|
10217
10367
|
*/
|
|
10218
|
-
200:
|
|
10219
|
-
/**
|
|
10220
|
-
* The numeric id of the removed resource.
|
|
10221
|
-
*/
|
|
10222
|
-
id: string;
|
|
10223
|
-
/**
|
|
10224
|
-
* Whether the resource was removed (false on a dry run — Google validated the removal without applying it).
|
|
10225
|
-
*/
|
|
10226
|
-
removed: boolean;
|
|
10227
|
-
/**
|
|
10228
|
-
* Whether this was a validate-only dry run.
|
|
10229
|
-
*/
|
|
10230
|
-
dry_run: boolean;
|
|
10231
|
-
/**
|
|
10232
|
-
* Whether the removal was actually applied.
|
|
10233
|
-
*/
|
|
10234
|
-
executed: boolean;
|
|
10235
|
-
};
|
|
10368
|
+
200: GoogleAdsDeleteResult;
|
|
10236
10369
|
};
|
|
10237
10370
|
type GoogleDeleteCampaignResponse = GoogleDeleteCampaignResponses[keyof GoogleDeleteCampaignResponses];
|
|
10238
10371
|
type GoogleGetCampaignData = {
|
|
@@ -10668,24 +10801,7 @@ type GoogleEditCampaignResponses = {
|
|
|
10668
10801
|
/**
|
|
10669
10802
|
* OK
|
|
10670
10803
|
*/
|
|
10671
|
-
200:
|
|
10672
|
-
/**
|
|
10673
|
-
* The numeric id of the edited resource.
|
|
10674
|
-
*/
|
|
10675
|
-
id: string;
|
|
10676
|
-
/**
|
|
10677
|
-
* The native Google resource name of the edited resource.
|
|
10678
|
-
*/
|
|
10679
|
-
resource_name: string;
|
|
10680
|
-
/**
|
|
10681
|
-
* Whether this was a validate-only dry run.
|
|
10682
|
-
*/
|
|
10683
|
-
dry_run: boolean;
|
|
10684
|
-
/**
|
|
10685
|
-
* Whether the change was actually applied.
|
|
10686
|
-
*/
|
|
10687
|
-
executed: boolean;
|
|
10688
|
-
};
|
|
10804
|
+
200: GoogleAdsEditResult;
|
|
10689
10805
|
};
|
|
10690
10806
|
type GoogleEditCampaignResponse = GoogleEditCampaignResponses[keyof GoogleEditCampaignResponses];
|
|
10691
10807
|
type GooglePauseCampaignData = {
|
|
@@ -11583,7 +11699,7 @@ type GoogleCreateCampaignCriterionData = {
|
|
|
11583
11699
|
*/
|
|
11584
11700
|
negative?: boolean;
|
|
11585
11701
|
/**
|
|
11586
|
-
* The language constant to target
|
|
11702
|
+
* The language constant to target, e.g. `languageConstants/1000` (English). See Google’s language codes table (developers.google.com/google-ads/api/data/codes-formats#languages) for the full id list.
|
|
11587
11703
|
*/
|
|
11588
11704
|
language_constant?: string;
|
|
11589
11705
|
};
|
|
@@ -11799,24 +11915,7 @@ type GoogleCreateCampaignCriterionResponses = {
|
|
|
11799
11915
|
/**
|
|
11800
11916
|
* OK
|
|
11801
11917
|
*/
|
|
11802
|
-
201:
|
|
11803
|
-
/**
|
|
11804
|
-
* The numeric id of the created resource, or null on a dry run.
|
|
11805
|
-
*/
|
|
11806
|
-
id: string | null;
|
|
11807
|
-
/**
|
|
11808
|
-
* The native Google resource name of the created resource (chain it into the next create), or null on a dry run.
|
|
11809
|
-
*/
|
|
11810
|
-
resource_name: string | null;
|
|
11811
|
-
/**
|
|
11812
|
-
* Whether this was a validate-only dry run.
|
|
11813
|
-
*/
|
|
11814
|
-
dry_run: boolean;
|
|
11815
|
-
/**
|
|
11816
|
-
* Whether the resource was actually created.
|
|
11817
|
-
*/
|
|
11818
|
-
executed: boolean;
|
|
11819
|
-
};
|
|
11918
|
+
201: GoogleAdsCreateResult;
|
|
11820
11919
|
};
|
|
11821
11920
|
type GoogleCreateCampaignCriterionResponse = GoogleCreateCampaignCriterionResponses[keyof GoogleCreateCampaignCriterionResponses];
|
|
11822
11921
|
type GoogleDeleteCampaignCriterionData = {
|
|
@@ -12042,24 +12141,7 @@ type GoogleDeleteCampaignCriterionResponses = {
|
|
|
12042
12141
|
/**
|
|
12043
12142
|
* OK
|
|
12044
12143
|
*/
|
|
12045
|
-
200:
|
|
12046
|
-
/**
|
|
12047
|
-
* The numeric id of the removed resource.
|
|
12048
|
-
*/
|
|
12049
|
-
id: string;
|
|
12050
|
-
/**
|
|
12051
|
-
* Whether the resource was removed (false on a dry run — Google validated the removal without applying it).
|
|
12052
|
-
*/
|
|
12053
|
-
removed: boolean;
|
|
12054
|
-
/**
|
|
12055
|
-
* Whether this was a validate-only dry run.
|
|
12056
|
-
*/
|
|
12057
|
-
dry_run: boolean;
|
|
12058
|
-
/**
|
|
12059
|
-
* Whether the removal was actually applied.
|
|
12060
|
-
*/
|
|
12061
|
-
executed: boolean;
|
|
12062
|
-
};
|
|
12144
|
+
200: GoogleAdsDeleteResult;
|
|
12063
12145
|
};
|
|
12064
12146
|
type GoogleDeleteCampaignCriterionResponse = GoogleDeleteCampaignCriterionResponses[keyof GoogleDeleteCampaignCriterionResponses];
|
|
12065
12147
|
type GoogleSetCampaignGeoSettingsData = {
|
|
@@ -12289,24 +12371,7 @@ type GoogleSetCampaignGeoSettingsResponses = {
|
|
|
12289
12371
|
/**
|
|
12290
12372
|
* OK
|
|
12291
12373
|
*/
|
|
12292
|
-
200:
|
|
12293
|
-
/**
|
|
12294
|
-
* The numeric id of the edited resource.
|
|
12295
|
-
*/
|
|
12296
|
-
id: string;
|
|
12297
|
-
/**
|
|
12298
|
-
* The native Google resource name of the edited resource.
|
|
12299
|
-
*/
|
|
12300
|
-
resource_name: string;
|
|
12301
|
-
/**
|
|
12302
|
-
* Whether this was a validate-only dry run.
|
|
12303
|
-
*/
|
|
12304
|
-
dry_run: boolean;
|
|
12305
|
-
/**
|
|
12306
|
-
* Whether the change was actually applied.
|
|
12307
|
-
*/
|
|
12308
|
-
executed: boolean;
|
|
12309
|
-
};
|
|
12374
|
+
200: GoogleAdsEditResult;
|
|
12310
12375
|
};
|
|
12311
12376
|
type GoogleSetCampaignGeoSettingsResponse = GoogleSetCampaignGeoSettingsResponses[keyof GoogleSetCampaignGeoSettingsResponses];
|
|
12312
12377
|
type GoogleListAdGroupsData = {
|
|
@@ -12317,7 +12382,12 @@ type GoogleListAdGroupsData = {
|
|
|
12317
12382
|
*/
|
|
12318
12383
|
connection_id: string;
|
|
12319
12384
|
};
|
|
12320
|
-
query?:
|
|
12385
|
+
query?: {
|
|
12386
|
+
/**
|
|
12387
|
+
* Only return ad groups under this campaign (its numeric id).
|
|
12388
|
+
*/
|
|
12389
|
+
campaign_id?: string;
|
|
12390
|
+
};
|
|
12321
12391
|
url: '/google/{connection_id}/ad-groups';
|
|
12322
12392
|
};
|
|
12323
12393
|
type GoogleListAdGroupsErrors = {
|
|
@@ -12746,24 +12816,7 @@ type GoogleCreateAdGroupResponses = {
|
|
|
12746
12816
|
/**
|
|
12747
12817
|
* OK
|
|
12748
12818
|
*/
|
|
12749
|
-
201:
|
|
12750
|
-
/**
|
|
12751
|
-
* The numeric id of the created resource, or null on a dry run.
|
|
12752
|
-
*/
|
|
12753
|
-
id: string | null;
|
|
12754
|
-
/**
|
|
12755
|
-
* The native Google resource name of the created resource (chain it into the next create), or null on a dry run.
|
|
12756
|
-
*/
|
|
12757
|
-
resource_name: string | null;
|
|
12758
|
-
/**
|
|
12759
|
-
* Whether this was a validate-only dry run.
|
|
12760
|
-
*/
|
|
12761
|
-
dry_run: boolean;
|
|
12762
|
-
/**
|
|
12763
|
-
* Whether the resource was actually created.
|
|
12764
|
-
*/
|
|
12765
|
-
executed: boolean;
|
|
12766
|
-
};
|
|
12819
|
+
201: GoogleAdsCreateResult;
|
|
12767
12820
|
};
|
|
12768
12821
|
type GoogleCreateAdGroupResponse = GoogleCreateAdGroupResponses[keyof GoogleCreateAdGroupResponses];
|
|
12769
12822
|
type GoogleDeleteAdGroupData = {
|
|
@@ -12985,24 +13038,7 @@ type GoogleDeleteAdGroupResponses = {
|
|
|
12985
13038
|
/**
|
|
12986
13039
|
* OK
|
|
12987
13040
|
*/
|
|
12988
|
-
200:
|
|
12989
|
-
/**
|
|
12990
|
-
* The numeric id of the removed resource.
|
|
12991
|
-
*/
|
|
12992
|
-
id: string;
|
|
12993
|
-
/**
|
|
12994
|
-
* Whether the resource was removed (false on a dry run — Google validated the removal without applying it).
|
|
12995
|
-
*/
|
|
12996
|
-
removed: boolean;
|
|
12997
|
-
/**
|
|
12998
|
-
* Whether this was a validate-only dry run.
|
|
12999
|
-
*/
|
|
13000
|
-
dry_run: boolean;
|
|
13001
|
-
/**
|
|
13002
|
-
* Whether the removal was actually applied.
|
|
13003
|
-
*/
|
|
13004
|
-
executed: boolean;
|
|
13005
|
-
};
|
|
13041
|
+
200: GoogleAdsDeleteResult;
|
|
13006
13042
|
};
|
|
13007
13043
|
type GoogleDeleteAdGroupResponse = GoogleDeleteAdGroupResponses[keyof GoogleDeleteAdGroupResponses];
|
|
13008
13044
|
type GoogleGetAdGroupData = {
|
|
@@ -13438,24 +13474,7 @@ type GoogleEditAdGroupResponses = {
|
|
|
13438
13474
|
/**
|
|
13439
13475
|
* OK
|
|
13440
13476
|
*/
|
|
13441
|
-
200:
|
|
13442
|
-
/**
|
|
13443
|
-
* The numeric id of the edited resource.
|
|
13444
|
-
*/
|
|
13445
|
-
id: string;
|
|
13446
|
-
/**
|
|
13447
|
-
* The native Google resource name of the edited resource.
|
|
13448
|
-
*/
|
|
13449
|
-
resource_name: string;
|
|
13450
|
-
/**
|
|
13451
|
-
* Whether this was a validate-only dry run.
|
|
13452
|
-
*/
|
|
13453
|
-
dry_run: boolean;
|
|
13454
|
-
/**
|
|
13455
|
-
* Whether the change was actually applied.
|
|
13456
|
-
*/
|
|
13457
|
-
executed: boolean;
|
|
13458
|
-
};
|
|
13477
|
+
200: GoogleAdsEditResult;
|
|
13459
13478
|
};
|
|
13460
13479
|
type GoogleEditAdGroupResponse = GoogleEditAdGroupResponses[keyof GoogleEditAdGroupResponses];
|
|
13461
13480
|
type GoogleSetAdGroupBidsData = {
|
|
@@ -13693,24 +13712,7 @@ type GoogleSetAdGroupBidsResponses = {
|
|
|
13693
13712
|
/**
|
|
13694
13713
|
* OK
|
|
13695
13714
|
*/
|
|
13696
|
-
200:
|
|
13697
|
-
/**
|
|
13698
|
-
* The numeric id of the edited resource.
|
|
13699
|
-
*/
|
|
13700
|
-
id: string;
|
|
13701
|
-
/**
|
|
13702
|
-
* The native Google resource name of the edited resource.
|
|
13703
|
-
*/
|
|
13704
|
-
resource_name: string;
|
|
13705
|
-
/**
|
|
13706
|
-
* Whether this was a validate-only dry run.
|
|
13707
|
-
*/
|
|
13708
|
-
dry_run: boolean;
|
|
13709
|
-
/**
|
|
13710
|
-
* Whether the change was actually applied.
|
|
13711
|
-
*/
|
|
13712
|
-
executed: boolean;
|
|
13713
|
-
};
|
|
13715
|
+
200: GoogleAdsEditResult;
|
|
13714
13716
|
};
|
|
13715
13717
|
type GoogleSetAdGroupBidsResponse = GoogleSetAdGroupBidsResponses[keyof GoogleSetAdGroupBidsResponses];
|
|
13716
13718
|
type GooglePauseAdGroupData = {
|
|
@@ -14629,24 +14631,7 @@ type GoogleCreateAdGroupCriterionResponses = {
|
|
|
14629
14631
|
/**
|
|
14630
14632
|
* OK
|
|
14631
14633
|
*/
|
|
14632
|
-
201:
|
|
14633
|
-
/**
|
|
14634
|
-
* The numeric id of the created resource, or null on a dry run.
|
|
14635
|
-
*/
|
|
14636
|
-
id: string | null;
|
|
14637
|
-
/**
|
|
14638
|
-
* The native Google resource name of the created resource (chain it into the next create), or null on a dry run.
|
|
14639
|
-
*/
|
|
14640
|
-
resource_name: string | null;
|
|
14641
|
-
/**
|
|
14642
|
-
* Whether this was a validate-only dry run.
|
|
14643
|
-
*/
|
|
14644
|
-
dry_run: boolean;
|
|
14645
|
-
/**
|
|
14646
|
-
* Whether the resource was actually created.
|
|
14647
|
-
*/
|
|
14648
|
-
executed: boolean;
|
|
14649
|
-
};
|
|
14634
|
+
201: GoogleAdsCreateResult;
|
|
14650
14635
|
};
|
|
14651
14636
|
type GoogleCreateAdGroupCriterionResponse = GoogleCreateAdGroupCriterionResponses[keyof GoogleCreateAdGroupCriterionResponses];
|
|
14652
14637
|
type GoogleDeleteAdGroupCriterionData = {
|
|
@@ -14872,24 +14857,7 @@ type GoogleDeleteAdGroupCriterionResponses = {
|
|
|
14872
14857
|
/**
|
|
14873
14858
|
* OK
|
|
14874
14859
|
*/
|
|
14875
|
-
200:
|
|
14876
|
-
/**
|
|
14877
|
-
* The numeric id of the removed resource.
|
|
14878
|
-
*/
|
|
14879
|
-
id: string;
|
|
14880
|
-
/**
|
|
14881
|
-
* Whether the resource was removed (false on a dry run — Google validated the removal without applying it).
|
|
14882
|
-
*/
|
|
14883
|
-
removed: boolean;
|
|
14884
|
-
/**
|
|
14885
|
-
* Whether this was a validate-only dry run.
|
|
14886
|
-
*/
|
|
14887
|
-
dry_run: boolean;
|
|
14888
|
-
/**
|
|
14889
|
-
* Whether the removal was actually applied.
|
|
14890
|
-
*/
|
|
14891
|
-
executed: boolean;
|
|
14892
|
-
};
|
|
14860
|
+
200: GoogleAdsDeleteResult;
|
|
14893
14861
|
};
|
|
14894
14862
|
type GoogleDeleteAdGroupCriterionResponse = GoogleDeleteAdGroupCriterionResponses[keyof GoogleDeleteAdGroupCriterionResponses];
|
|
14895
14863
|
type GoogleListAudiencesData = {
|
|
@@ -15334,24 +15302,7 @@ type GoogleSetCampaignTargetingSettingResponses = {
|
|
|
15334
15302
|
/**
|
|
15335
15303
|
* OK
|
|
15336
15304
|
*/
|
|
15337
|
-
200:
|
|
15338
|
-
/**
|
|
15339
|
-
* The numeric id of the edited resource.
|
|
15340
|
-
*/
|
|
15341
|
-
id: string;
|
|
15342
|
-
/**
|
|
15343
|
-
* The native Google resource name of the edited resource.
|
|
15344
|
-
*/
|
|
15345
|
-
resource_name: string;
|
|
15346
|
-
/**
|
|
15347
|
-
* Whether this was a validate-only dry run.
|
|
15348
|
-
*/
|
|
15349
|
-
dry_run: boolean;
|
|
15350
|
-
/**
|
|
15351
|
-
* Whether the change was actually applied.
|
|
15352
|
-
*/
|
|
15353
|
-
executed: boolean;
|
|
15354
|
-
};
|
|
15305
|
+
200: GoogleAdsEditResult;
|
|
15355
15306
|
};
|
|
15356
15307
|
type GoogleSetCampaignTargetingSettingResponse = GoogleSetCampaignTargetingSettingResponses[keyof GoogleSetCampaignTargetingSettingResponses];
|
|
15357
15308
|
type GoogleListAdsData = {
|
|
@@ -15362,7 +15313,12 @@ type GoogleListAdsData = {
|
|
|
15362
15313
|
*/
|
|
15363
15314
|
connection_id: string;
|
|
15364
15315
|
};
|
|
15365
|
-
query?:
|
|
15316
|
+
query?: {
|
|
15317
|
+
/**
|
|
15318
|
+
* Only return ads under this ad group (its numeric id).
|
|
15319
|
+
*/
|
|
15320
|
+
ad_group_id?: string;
|
|
15321
|
+
};
|
|
15366
15322
|
url: '/google/{connection_id}/ads';
|
|
15367
15323
|
};
|
|
15368
15324
|
type GoogleListAdsErrors = {
|
|
@@ -15817,24 +15773,7 @@ type GoogleCreateAdResponses = {
|
|
|
15817
15773
|
/**
|
|
15818
15774
|
* OK
|
|
15819
15775
|
*/
|
|
15820
|
-
201:
|
|
15821
|
-
/**
|
|
15822
|
-
* The numeric id of the created resource, or null on a dry run.
|
|
15823
|
-
*/
|
|
15824
|
-
id: string | null;
|
|
15825
|
-
/**
|
|
15826
|
-
* The native Google resource name of the created resource (chain it into the next create), or null on a dry run.
|
|
15827
|
-
*/
|
|
15828
|
-
resource_name: string | null;
|
|
15829
|
-
/**
|
|
15830
|
-
* Whether this was a validate-only dry run.
|
|
15831
|
-
*/
|
|
15832
|
-
dry_run: boolean;
|
|
15833
|
-
/**
|
|
15834
|
-
* Whether the resource was actually created.
|
|
15835
|
-
*/
|
|
15836
|
-
executed: boolean;
|
|
15837
|
-
};
|
|
15776
|
+
201: GoogleAdsCreateResult;
|
|
15838
15777
|
};
|
|
15839
15778
|
type GoogleCreateAdResponse = GoogleCreateAdResponses[keyof GoogleCreateAdResponses];
|
|
15840
15779
|
type GoogleDeleteAdData = {
|
|
@@ -16056,24 +15995,7 @@ type GoogleDeleteAdResponses = {
|
|
|
16056
15995
|
/**
|
|
16057
15996
|
* OK
|
|
16058
15997
|
*/
|
|
16059
|
-
200:
|
|
16060
|
-
/**
|
|
16061
|
-
* The numeric id of the removed resource.
|
|
16062
|
-
*/
|
|
16063
|
-
id: string;
|
|
16064
|
-
/**
|
|
16065
|
-
* Whether the resource was removed (false on a dry run — Google validated the removal without applying it).
|
|
16066
|
-
*/
|
|
16067
|
-
removed: boolean;
|
|
16068
|
-
/**
|
|
16069
|
-
* Whether this was a validate-only dry run.
|
|
16070
|
-
*/
|
|
16071
|
-
dry_run: boolean;
|
|
16072
|
-
/**
|
|
16073
|
-
* Whether the removal was actually applied.
|
|
16074
|
-
*/
|
|
16075
|
-
executed: boolean;
|
|
16076
|
-
};
|
|
15998
|
+
200: GoogleAdsDeleteResult;
|
|
16077
15999
|
};
|
|
16078
16000
|
type GoogleDeleteAdResponse = GoogleDeleteAdResponses[keyof GoogleDeleteAdResponses];
|
|
16079
16001
|
type GoogleGetAdData = {
|
|
@@ -16592,24 +16514,7 @@ type GoogleCreateDisplayAdResponses = {
|
|
|
16592
16514
|
/**
|
|
16593
16515
|
* OK
|
|
16594
16516
|
*/
|
|
16595
|
-
201:
|
|
16596
|
-
/**
|
|
16597
|
-
* The numeric id of the created resource, or null on a dry run.
|
|
16598
|
-
*/
|
|
16599
|
-
id: string | null;
|
|
16600
|
-
/**
|
|
16601
|
-
* The native Google resource name of the created resource (chain it into the next create), or null on a dry run.
|
|
16602
|
-
*/
|
|
16603
|
-
resource_name: string | null;
|
|
16604
|
-
/**
|
|
16605
|
-
* Whether this was a validate-only dry run.
|
|
16606
|
-
*/
|
|
16607
|
-
dry_run: boolean;
|
|
16608
|
-
/**
|
|
16609
|
-
* Whether the resource was actually created.
|
|
16610
|
-
*/
|
|
16611
|
-
executed: boolean;
|
|
16612
|
-
};
|
|
16517
|
+
201: GoogleAdsCreateResult;
|
|
16613
16518
|
};
|
|
16614
16519
|
type GoogleCreateDisplayAdResponse = GoogleCreateDisplayAdResponses[keyof GoogleCreateDisplayAdResponses];
|
|
16615
16520
|
type GooglePauseAdData = {
|
|
@@ -17074,7 +16979,12 @@ type GoogleListKeywordsData = {
|
|
|
17074
16979
|
*/
|
|
17075
16980
|
connection_id: string;
|
|
17076
16981
|
};
|
|
17077
|
-
query?:
|
|
16982
|
+
query?: {
|
|
16983
|
+
/**
|
|
16984
|
+
* Only return keywords under this ad group (its numeric id).
|
|
16985
|
+
*/
|
|
16986
|
+
ad_group_id?: string;
|
|
16987
|
+
};
|
|
17078
16988
|
url: '/google/{connection_id}/keywords';
|
|
17079
16989
|
};
|
|
17080
16990
|
type GoogleListKeywordsErrors = {
|
|
@@ -17507,24 +17417,7 @@ type GoogleCreateKeywordResponses = {
|
|
|
17507
17417
|
/**
|
|
17508
17418
|
* OK
|
|
17509
17419
|
*/
|
|
17510
|
-
201:
|
|
17511
|
-
/**
|
|
17512
|
-
* The numeric id of the created resource, or null on a dry run.
|
|
17513
|
-
*/
|
|
17514
|
-
id: string | null;
|
|
17515
|
-
/**
|
|
17516
|
-
* The native Google resource name of the created resource (chain it into the next create), or null on a dry run.
|
|
17517
|
-
*/
|
|
17518
|
-
resource_name: string | null;
|
|
17519
|
-
/**
|
|
17520
|
-
* Whether this was a validate-only dry run.
|
|
17521
|
-
*/
|
|
17522
|
-
dry_run: boolean;
|
|
17523
|
-
/**
|
|
17524
|
-
* Whether the resource was actually created.
|
|
17525
|
-
*/
|
|
17526
|
-
executed: boolean;
|
|
17527
|
-
};
|
|
17420
|
+
201: GoogleAdsCreateResult;
|
|
17528
17421
|
};
|
|
17529
17422
|
type GoogleCreateKeywordResponse = GoogleCreateKeywordResponses[keyof GoogleCreateKeywordResponses];
|
|
17530
17423
|
type GoogleDeleteKeywordData = {
|
|
@@ -17746,24 +17639,7 @@ type GoogleDeleteKeywordResponses = {
|
|
|
17746
17639
|
/**
|
|
17747
17640
|
* OK
|
|
17748
17641
|
*/
|
|
17749
|
-
200:
|
|
17750
|
-
/**
|
|
17751
|
-
* The numeric id of the removed resource.
|
|
17752
|
-
*/
|
|
17753
|
-
id: string;
|
|
17754
|
-
/**
|
|
17755
|
-
* Whether the resource was removed (false on a dry run — Google validated the removal without applying it).
|
|
17756
|
-
*/
|
|
17757
|
-
removed: boolean;
|
|
17758
|
-
/**
|
|
17759
|
-
* Whether this was a validate-only dry run.
|
|
17760
|
-
*/
|
|
17761
|
-
dry_run: boolean;
|
|
17762
|
-
/**
|
|
17763
|
-
* Whether the removal was actually applied.
|
|
17764
|
-
*/
|
|
17765
|
-
executed: boolean;
|
|
17766
|
-
};
|
|
17642
|
+
200: GoogleAdsDeleteResult;
|
|
17767
17643
|
};
|
|
17768
17644
|
type GoogleDeleteKeywordResponse = GoogleDeleteKeywordResponses[keyof GoogleDeleteKeywordResponses];
|
|
17769
17645
|
type GoogleGetKeywordData = {
|
|
@@ -18199,24 +18075,7 @@ type GoogleSetKeywordBidResponses = {
|
|
|
18199
18075
|
/**
|
|
18200
18076
|
* OK
|
|
18201
18077
|
*/
|
|
18202
|
-
200:
|
|
18203
|
-
/**
|
|
18204
|
-
* The numeric id of the edited resource.
|
|
18205
|
-
*/
|
|
18206
|
-
id: string;
|
|
18207
|
-
/**
|
|
18208
|
-
* The native Google resource name of the edited resource.
|
|
18209
|
-
*/
|
|
18210
|
-
resource_name: string;
|
|
18211
|
-
/**
|
|
18212
|
-
* Whether this was a validate-only dry run.
|
|
18213
|
-
*/
|
|
18214
|
-
dry_run: boolean;
|
|
18215
|
-
/**
|
|
18216
|
-
* Whether the change was actually applied.
|
|
18217
|
-
*/
|
|
18218
|
-
executed: boolean;
|
|
18219
|
-
};
|
|
18078
|
+
200: GoogleAdsEditResult;
|
|
18220
18079
|
};
|
|
18221
18080
|
type GoogleSetKeywordBidResponse = GoogleSetKeywordBidResponses[keyof GoogleSetKeywordBidResponses];
|
|
18222
18081
|
type GooglePauseKeywordData = {
|
|
@@ -19139,24 +18998,7 @@ type GoogleCreateConversionActionResponses = {
|
|
|
19139
18998
|
/**
|
|
19140
18999
|
* OK
|
|
19141
19000
|
*/
|
|
19142
|
-
201:
|
|
19143
|
-
/**
|
|
19144
|
-
* The numeric id of the created resource, or null on a dry run.
|
|
19145
|
-
*/
|
|
19146
|
-
id: string | null;
|
|
19147
|
-
/**
|
|
19148
|
-
* The native Google resource name of the created resource (chain it into the next create), or null on a dry run.
|
|
19149
|
-
*/
|
|
19150
|
-
resource_name: string | null;
|
|
19151
|
-
/**
|
|
19152
|
-
* Whether this was a validate-only dry run.
|
|
19153
|
-
*/
|
|
19154
|
-
dry_run: boolean;
|
|
19155
|
-
/**
|
|
19156
|
-
* Whether the resource was actually created.
|
|
19157
|
-
*/
|
|
19158
|
-
executed: boolean;
|
|
19159
|
-
};
|
|
19001
|
+
201: GoogleAdsCreateResult;
|
|
19160
19002
|
};
|
|
19161
19003
|
type GoogleCreateConversionActionResponse = GoogleCreateConversionActionResponses[keyof GoogleCreateConversionActionResponses];
|
|
19162
19004
|
type GoogleGetConversionActionData = {
|
|
@@ -20349,24 +20191,7 @@ type GoogleUploadImageAssetResponses = {
|
|
|
20349
20191
|
/**
|
|
20350
20192
|
* OK
|
|
20351
20193
|
*/
|
|
20352
|
-
201:
|
|
20353
|
-
/**
|
|
20354
|
-
* The numeric id of the created resource, or null on a dry run.
|
|
20355
|
-
*/
|
|
20356
|
-
id: string | null;
|
|
20357
|
-
/**
|
|
20358
|
-
* The native Google resource name of the created resource (chain it into the next create), or null on a dry run.
|
|
20359
|
-
*/
|
|
20360
|
-
resource_name: string | null;
|
|
20361
|
-
/**
|
|
20362
|
-
* Whether this was a validate-only dry run.
|
|
20363
|
-
*/
|
|
20364
|
-
dry_run: boolean;
|
|
20365
|
-
/**
|
|
20366
|
-
* Whether the resource was actually created.
|
|
20367
|
-
*/
|
|
20368
|
-
executed: boolean;
|
|
20369
|
-
};
|
|
20194
|
+
201: GoogleAdsCreateResult;
|
|
20370
20195
|
};
|
|
20371
20196
|
type GoogleUploadImageAssetResponse = GoogleUploadImageAssetResponses[keyof GoogleUploadImageAssetResponses];
|
|
20372
20197
|
type TiktokCreatorInfoData = {
|
|
@@ -24780,7 +24605,7 @@ declare const googleGetAccountOptions: (options: Options<GoogleGetAccountData>)
|
|
|
24780
24605
|
*
|
|
24781
24606
|
* **Authentication.** Secret `pr_` API key, or a browser-safe frontend token granting `ads:read` scoped to the profile that owns the connection.
|
|
24782
24607
|
*
|
|
24783
|
-
* Performance metrics for the connection’s account, at a chosen level (account / campaign / ad group), for a date range, with optional breakdowns. The flagship cross-checked read; use `/gaql` for anything outside this shape.
|
|
24608
|
+
* Performance metrics for the connection’s account, at a chosen level (account / campaign / ad group / ad / keyword), for a date range, with optional breakdowns. Leaf levels (ad / keyword) require an `ad_group_id`; campaign / ad group accept an optional `campaign_id`. Each row carries its `parent_id`, so the tree is assemblable. The flagship cross-checked read; use `/gaql` for anything outside this shape.
|
|
24784
24609
|
*/
|
|
24785
24610
|
declare const googleGetInsightsMutation: (options?: Partial<Options<GoogleGetInsightsData>>) => UseMutationOptions<GoogleGetInsightsResponse, GoogleGetInsightsError, Options<GoogleGetInsightsData>>;
|
|
24786
24611
|
/**
|
|
@@ -25005,30 +24830,14 @@ declare const googleSearchGeoTargetsQueryKey: (options: Options<GoogleSearchGeoT
|
|
|
25005
24830
|
*
|
|
25006
24831
|
* **Authentication.** Secret `pr_` API key, or a browser-safe frontend token granting `ads:read` scoped to the profile that owns the connection.
|
|
25007
24832
|
*
|
|
25008
|
-
* Resolves a free-text location name (e.g. "New York") to matching geo target constants — each with id, name, canonical name, country code, target type, and status. Use a result’s id as the geo_target_constant of a location criterion.
|
|
24833
|
+
* Resolves a free-text location name (e.g. "New York") to matching geo target constants — each with id, name, canonical name, country code, target type, and status. Use a result’s `resource_name` (e.g. `geoTargetConstants/2840`), NOT the bare `id`, as the `geo_target_constant` of a location criterion.
|
|
25009
24834
|
*/
|
|
25010
24835
|
declare const googleSearchGeoTargetsOptions: (options: Options<GoogleSearchGeoTargetsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<{
|
|
25011
24836
|
object: "list";
|
|
25012
|
-
data: Array<
|
|
25013
|
-
id: string;
|
|
25014
|
-
resource_name: string | null;
|
|
25015
|
-
name: string | null;
|
|
25016
|
-
canonical_name: string | null;
|
|
25017
|
-
country_code: string | null;
|
|
25018
|
-
target_type: string | null;
|
|
25019
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "REMOVAL_PLANNED";
|
|
25020
|
-
}>;
|
|
24837
|
+
data: Array<GoogleAdsGeoTargetConstant>;
|
|
25021
24838
|
}, GoogleSearchGeoTargetsError, {
|
|
25022
24839
|
object: "list";
|
|
25023
|
-
data: Array<
|
|
25024
|
-
id: string;
|
|
25025
|
-
resource_name: string | null;
|
|
25026
|
-
name: string | null;
|
|
25027
|
-
canonical_name: string | null;
|
|
25028
|
-
country_code: string | null;
|
|
25029
|
-
target_type: string | null;
|
|
25030
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "REMOVAL_PLANNED";
|
|
25031
|
-
}>;
|
|
24840
|
+
data: Array<GoogleAdsGeoTargetConstant>;
|
|
25032
24841
|
}, [Pick<Options<GoogleSearchGeoTargetsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
25033
24842
|
_id: string;
|
|
25034
24843
|
_infinite?: boolean;
|
|
@@ -25036,15 +24845,7 @@ declare const googleSearchGeoTargetsOptions: (options: Options<GoogleSearchGeoTa
|
|
|
25036
24845
|
}]>, "queryFn"> & {
|
|
25037
24846
|
queryFn?: _tanstack_react_query.QueryFunction<{
|
|
25038
24847
|
object: "list";
|
|
25039
|
-
data: Array<
|
|
25040
|
-
id: string;
|
|
25041
|
-
resource_name: string | null;
|
|
25042
|
-
name: string | null;
|
|
25043
|
-
canonical_name: string | null;
|
|
25044
|
-
country_code: string | null;
|
|
25045
|
-
target_type: string | null;
|
|
25046
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "REMOVAL_PLANNED";
|
|
25047
|
-
}>;
|
|
24848
|
+
data: Array<GoogleAdsGeoTargetConstant>;
|
|
25048
24849
|
}, [Pick<Options<GoogleSearchGeoTargetsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
25049
24850
|
_id: string;
|
|
25050
24851
|
_infinite?: boolean;
|
|
@@ -25058,15 +24859,7 @@ declare const googleSearchGeoTargetsOptions: (options: Options<GoogleSearchGeoTa
|
|
|
25058
24859
|
}] & {
|
|
25059
24860
|
[dataTagSymbol]: {
|
|
25060
24861
|
object: "list";
|
|
25061
|
-
data: Array<
|
|
25062
|
-
id: string;
|
|
25063
|
-
resource_name: string | null;
|
|
25064
|
-
name: string | null;
|
|
25065
|
-
canonical_name: string | null;
|
|
25066
|
-
country_code: string | null;
|
|
25067
|
-
target_type: string | null;
|
|
25068
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "REMOVAL_PLANNED";
|
|
25069
|
-
}>;
|
|
24862
|
+
data: Array<GoogleAdsGeoTargetConstant>;
|
|
25070
24863
|
};
|
|
25071
24864
|
[dataTagErrorSymbol]: GoogleSearchGeoTargetsError;
|
|
25072
24865
|
};
|
|
@@ -25085,40 +24878,10 @@ declare const googleListCampaignCriteriaQueryKey: (options: Options<GoogleListCa
|
|
|
25085
24878
|
*/
|
|
25086
24879
|
declare const googleListCampaignCriteriaOptions: (options: Options<GoogleListCampaignCriteriaData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<{
|
|
25087
24880
|
object: "list";
|
|
25088
|
-
data: Array<
|
|
25089
|
-
type: "LOCATION";
|
|
25090
|
-
criterion_id: string;
|
|
25091
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25092
|
-
negative: boolean;
|
|
25093
|
-
geo_target_constant: string | null;
|
|
25094
|
-
} | {
|
|
25095
|
-
type: "LANGUAGE";
|
|
25096
|
-
criterion_id: string;
|
|
25097
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25098
|
-
negative: boolean;
|
|
25099
|
-
language_constant: string | null;
|
|
25100
|
-
} | {
|
|
25101
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "KEYWORD" | "PLACEMENT" | "MOBILE_APP_CATEGORY" | "MOBILE_APPLICATION" | "DEVICE" | "LISTING_GROUP" | "AD_SCHEDULE" | "AGE_RANGE" | "GENDER" | "INCOME_RANGE" | "PARENTAL_STATUS" | "YOUTUBE_VIDEO" | "YOUTUBE_CHANNEL" | "USER_LIST" | "PROXIMITY" | "TOPIC" | "LISTING_SCOPE" | "IP_BLOCK" | "CONTENT_LABEL" | "CARRIER" | "USER_INTEREST" | "WEBPAGE" | "OPERATING_SYSTEM_VERSION" | "APP_PAYMENT_MODEL" | "MOBILE_DEVICE" | "CUSTOM_AFFINITY" | "CUSTOM_INTENT" | "LOCATION_GROUP" | "CUSTOM_AUDIENCE" | "COMBINED_AUDIENCE" | "KEYWORD_THEME" | "AUDIENCE" | "NEGATIVE_KEYWORD_LIST" | "LOCAL_SERVICE_ID" | "SEARCH_THEME" | "BRAND" | "BRAND_LIST" | "LIFE_EVENT" | "WEBPAGE_LIST" | "VIDEO_LINEUP" | "PLACEMENT_LIST" | "VERTICAL_ADS_ITEM_GROUP_RULE_LIST" | "VERTICAL_ADS_ITEM_GROUP_RULE";
|
|
25102
|
-
criterion_id: string;
|
|
25103
|
-
}>;
|
|
24881
|
+
data: Array<GoogleAdsCampaignCriterion>;
|
|
25104
24882
|
}, GoogleListCampaignCriteriaError, {
|
|
25105
24883
|
object: "list";
|
|
25106
|
-
data: Array<
|
|
25107
|
-
type: "LOCATION";
|
|
25108
|
-
criterion_id: string;
|
|
25109
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25110
|
-
negative: boolean;
|
|
25111
|
-
geo_target_constant: string | null;
|
|
25112
|
-
} | {
|
|
25113
|
-
type: "LANGUAGE";
|
|
25114
|
-
criterion_id: string;
|
|
25115
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25116
|
-
negative: boolean;
|
|
25117
|
-
language_constant: string | null;
|
|
25118
|
-
} | {
|
|
25119
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "KEYWORD" | "PLACEMENT" | "MOBILE_APP_CATEGORY" | "MOBILE_APPLICATION" | "DEVICE" | "LISTING_GROUP" | "AD_SCHEDULE" | "AGE_RANGE" | "GENDER" | "INCOME_RANGE" | "PARENTAL_STATUS" | "YOUTUBE_VIDEO" | "YOUTUBE_CHANNEL" | "USER_LIST" | "PROXIMITY" | "TOPIC" | "LISTING_SCOPE" | "IP_BLOCK" | "CONTENT_LABEL" | "CARRIER" | "USER_INTEREST" | "WEBPAGE" | "OPERATING_SYSTEM_VERSION" | "APP_PAYMENT_MODEL" | "MOBILE_DEVICE" | "CUSTOM_AFFINITY" | "CUSTOM_INTENT" | "LOCATION_GROUP" | "CUSTOM_AUDIENCE" | "COMBINED_AUDIENCE" | "KEYWORD_THEME" | "AUDIENCE" | "NEGATIVE_KEYWORD_LIST" | "LOCAL_SERVICE_ID" | "SEARCH_THEME" | "BRAND" | "BRAND_LIST" | "LIFE_EVENT" | "WEBPAGE_LIST" | "VIDEO_LINEUP" | "PLACEMENT_LIST" | "VERTICAL_ADS_ITEM_GROUP_RULE_LIST" | "VERTICAL_ADS_ITEM_GROUP_RULE";
|
|
25120
|
-
criterion_id: string;
|
|
25121
|
-
}>;
|
|
24884
|
+
data: Array<GoogleAdsCampaignCriterion>;
|
|
25122
24885
|
}, [Pick<Options<GoogleListCampaignCriteriaData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
25123
24886
|
_id: string;
|
|
25124
24887
|
_infinite?: boolean;
|
|
@@ -25126,22 +24889,7 @@ declare const googleListCampaignCriteriaOptions: (options: Options<GoogleListCam
|
|
|
25126
24889
|
}]>, "queryFn"> & {
|
|
25127
24890
|
queryFn?: _tanstack_react_query.QueryFunction<{
|
|
25128
24891
|
object: "list";
|
|
25129
|
-
data: Array<
|
|
25130
|
-
type: "LOCATION";
|
|
25131
|
-
criterion_id: string;
|
|
25132
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25133
|
-
negative: boolean;
|
|
25134
|
-
geo_target_constant: string | null;
|
|
25135
|
-
} | {
|
|
25136
|
-
type: "LANGUAGE";
|
|
25137
|
-
criterion_id: string;
|
|
25138
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25139
|
-
negative: boolean;
|
|
25140
|
-
language_constant: string | null;
|
|
25141
|
-
} | {
|
|
25142
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "KEYWORD" | "PLACEMENT" | "MOBILE_APP_CATEGORY" | "MOBILE_APPLICATION" | "DEVICE" | "LISTING_GROUP" | "AD_SCHEDULE" | "AGE_RANGE" | "GENDER" | "INCOME_RANGE" | "PARENTAL_STATUS" | "YOUTUBE_VIDEO" | "YOUTUBE_CHANNEL" | "USER_LIST" | "PROXIMITY" | "TOPIC" | "LISTING_SCOPE" | "IP_BLOCK" | "CONTENT_LABEL" | "CARRIER" | "USER_INTEREST" | "WEBPAGE" | "OPERATING_SYSTEM_VERSION" | "APP_PAYMENT_MODEL" | "MOBILE_DEVICE" | "CUSTOM_AFFINITY" | "CUSTOM_INTENT" | "LOCATION_GROUP" | "CUSTOM_AUDIENCE" | "COMBINED_AUDIENCE" | "KEYWORD_THEME" | "AUDIENCE" | "NEGATIVE_KEYWORD_LIST" | "LOCAL_SERVICE_ID" | "SEARCH_THEME" | "BRAND" | "BRAND_LIST" | "LIFE_EVENT" | "WEBPAGE_LIST" | "VIDEO_LINEUP" | "PLACEMENT_LIST" | "VERTICAL_ADS_ITEM_GROUP_RULE_LIST" | "VERTICAL_ADS_ITEM_GROUP_RULE";
|
|
25143
|
-
criterion_id: string;
|
|
25144
|
-
}>;
|
|
24892
|
+
data: Array<GoogleAdsCampaignCriterion>;
|
|
25145
24893
|
}, [Pick<Options<GoogleListCampaignCriteriaData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
25146
24894
|
_id: string;
|
|
25147
24895
|
_infinite?: boolean;
|
|
@@ -25155,22 +24903,7 @@ declare const googleListCampaignCriteriaOptions: (options: Options<GoogleListCam
|
|
|
25155
24903
|
}] & {
|
|
25156
24904
|
[dataTagSymbol]: {
|
|
25157
24905
|
object: "list";
|
|
25158
|
-
data: Array<
|
|
25159
|
-
type: "LOCATION";
|
|
25160
|
-
criterion_id: string;
|
|
25161
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25162
|
-
negative: boolean;
|
|
25163
|
-
geo_target_constant: string | null;
|
|
25164
|
-
} | {
|
|
25165
|
-
type: "LANGUAGE";
|
|
25166
|
-
criterion_id: string;
|
|
25167
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25168
|
-
negative: boolean;
|
|
25169
|
-
language_constant: string | null;
|
|
25170
|
-
} | {
|
|
25171
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "KEYWORD" | "PLACEMENT" | "MOBILE_APP_CATEGORY" | "MOBILE_APPLICATION" | "DEVICE" | "LISTING_GROUP" | "AD_SCHEDULE" | "AGE_RANGE" | "GENDER" | "INCOME_RANGE" | "PARENTAL_STATUS" | "YOUTUBE_VIDEO" | "YOUTUBE_CHANNEL" | "USER_LIST" | "PROXIMITY" | "TOPIC" | "LISTING_SCOPE" | "IP_BLOCK" | "CONTENT_LABEL" | "CARRIER" | "USER_INTEREST" | "WEBPAGE" | "OPERATING_SYSTEM_VERSION" | "APP_PAYMENT_MODEL" | "MOBILE_DEVICE" | "CUSTOM_AFFINITY" | "CUSTOM_INTENT" | "LOCATION_GROUP" | "CUSTOM_AUDIENCE" | "COMBINED_AUDIENCE" | "KEYWORD_THEME" | "AUDIENCE" | "NEGATIVE_KEYWORD_LIST" | "LOCAL_SERVICE_ID" | "SEARCH_THEME" | "BRAND" | "BRAND_LIST" | "LIFE_EVENT" | "WEBPAGE_LIST" | "VIDEO_LINEUP" | "PLACEMENT_LIST" | "VERTICAL_ADS_ITEM_GROUP_RULE_LIST" | "VERTICAL_ADS_ITEM_GROUP_RULE";
|
|
25172
|
-
criterion_id: string;
|
|
25173
|
-
}>;
|
|
24906
|
+
data: Array<GoogleAdsCampaignCriterion>;
|
|
25174
24907
|
};
|
|
25175
24908
|
[dataTagErrorSymbol]: GoogleListCampaignCriteriaError;
|
|
25176
24909
|
};
|
|
@@ -25209,26 +24942,14 @@ declare const googleListAdGroupsQueryKey: (options: Options<GoogleListAdGroupsDa
|
|
|
25209
24942
|
*
|
|
25210
24943
|
* **Authentication.** Secret `pr_` API key, or a browser-safe frontend token granting `ads:read` scoped to the profile that owns the connection.
|
|
25211
24944
|
*
|
|
25212
|
-
* Lists the ad groups (Google’s equivalent of an ad set) in the Google Ads account backing this connection — id, name, status, type, and parent campaign.
|
|
24945
|
+
* Lists the ad groups (Google’s equivalent of an ad set) in the Google Ads account backing this connection — id, name, status, type, and parent campaign. Pass `campaign_id` to return only the ad groups under one campaign.
|
|
25213
24946
|
*/
|
|
25214
24947
|
declare const googleListAdGroupsOptions: (options: Options<GoogleListAdGroupsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<{
|
|
25215
24948
|
object: "list";
|
|
25216
|
-
data: Array<
|
|
25217
|
-
id: string;
|
|
25218
|
-
name: string | null;
|
|
25219
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25220
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "SEARCH_STANDARD" | "DISPLAY_STANDARD" | "SHOPPING_PRODUCT_ADS" | "HOTEL_ADS" | "SHOPPING_SMART_ADS" | "VIDEO_BUMPER" | "VIDEO_TRUE_VIEW_IN_STREAM" | "VIDEO_TRUE_VIEW_IN_DISPLAY" | "VIDEO_NON_SKIPPABLE_IN_STREAM" | "SEARCH_DYNAMIC_ADS" | "SHOPPING_COMPARISON_LISTING_ADS" | "PROMOTED_HOTEL_ADS" | "VIDEO_RESPONSIVE" | "VIDEO_EFFICIENT_REACH" | "SMART_CAMPAIGN_ADS" | "TRAVEL_ADS" | "YOUTUBE_AUDIO";
|
|
25221
|
-
campaign: string | null;
|
|
25222
|
-
}>;
|
|
24949
|
+
data: Array<GoogleAdsAdGroup>;
|
|
25223
24950
|
}, GoogleListAdGroupsError, {
|
|
25224
24951
|
object: "list";
|
|
25225
|
-
data: Array<
|
|
25226
|
-
id: string;
|
|
25227
|
-
name: string | null;
|
|
25228
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25229
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "SEARCH_STANDARD" | "DISPLAY_STANDARD" | "SHOPPING_PRODUCT_ADS" | "HOTEL_ADS" | "SHOPPING_SMART_ADS" | "VIDEO_BUMPER" | "VIDEO_TRUE_VIEW_IN_STREAM" | "VIDEO_TRUE_VIEW_IN_DISPLAY" | "VIDEO_NON_SKIPPABLE_IN_STREAM" | "SEARCH_DYNAMIC_ADS" | "SHOPPING_COMPARISON_LISTING_ADS" | "PROMOTED_HOTEL_ADS" | "VIDEO_RESPONSIVE" | "VIDEO_EFFICIENT_REACH" | "SMART_CAMPAIGN_ADS" | "TRAVEL_ADS" | "YOUTUBE_AUDIO";
|
|
25230
|
-
campaign: string | null;
|
|
25231
|
-
}>;
|
|
24952
|
+
data: Array<GoogleAdsAdGroup>;
|
|
25232
24953
|
}, [Pick<Options<GoogleListAdGroupsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
25233
24954
|
_id: string;
|
|
25234
24955
|
_infinite?: boolean;
|
|
@@ -25236,13 +24957,7 @@ declare const googleListAdGroupsOptions: (options: Options<GoogleListAdGroupsDat
|
|
|
25236
24957
|
}]>, "queryFn"> & {
|
|
25237
24958
|
queryFn?: _tanstack_react_query.QueryFunction<{
|
|
25238
24959
|
object: "list";
|
|
25239
|
-
data: Array<
|
|
25240
|
-
id: string;
|
|
25241
|
-
name: string | null;
|
|
25242
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25243
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "SEARCH_STANDARD" | "DISPLAY_STANDARD" | "SHOPPING_PRODUCT_ADS" | "HOTEL_ADS" | "SHOPPING_SMART_ADS" | "VIDEO_BUMPER" | "VIDEO_TRUE_VIEW_IN_STREAM" | "VIDEO_TRUE_VIEW_IN_DISPLAY" | "VIDEO_NON_SKIPPABLE_IN_STREAM" | "SEARCH_DYNAMIC_ADS" | "SHOPPING_COMPARISON_LISTING_ADS" | "PROMOTED_HOTEL_ADS" | "VIDEO_RESPONSIVE" | "VIDEO_EFFICIENT_REACH" | "SMART_CAMPAIGN_ADS" | "TRAVEL_ADS" | "YOUTUBE_AUDIO";
|
|
25244
|
-
campaign: string | null;
|
|
25245
|
-
}>;
|
|
24960
|
+
data: Array<GoogleAdsAdGroup>;
|
|
25246
24961
|
}, [Pick<Options<GoogleListAdGroupsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
25247
24962
|
_id: string;
|
|
25248
24963
|
_infinite?: boolean;
|
|
@@ -25256,13 +24971,7 @@ declare const googleListAdGroupsOptions: (options: Options<GoogleListAdGroupsDat
|
|
|
25256
24971
|
}] & {
|
|
25257
24972
|
[dataTagSymbol]: {
|
|
25258
24973
|
object: "list";
|
|
25259
|
-
data: Array<
|
|
25260
|
-
id: string;
|
|
25261
|
-
name: string | null;
|
|
25262
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25263
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "SEARCH_STANDARD" | "DISPLAY_STANDARD" | "SHOPPING_PRODUCT_ADS" | "HOTEL_ADS" | "SHOPPING_SMART_ADS" | "VIDEO_BUMPER" | "VIDEO_TRUE_VIEW_IN_STREAM" | "VIDEO_TRUE_VIEW_IN_DISPLAY" | "VIDEO_NON_SKIPPABLE_IN_STREAM" | "SEARCH_DYNAMIC_ADS" | "SHOPPING_COMPARISON_LISTING_ADS" | "PROMOTED_HOTEL_ADS" | "VIDEO_RESPONSIVE" | "VIDEO_EFFICIENT_REACH" | "SMART_CAMPAIGN_ADS" | "TRAVEL_ADS" | "YOUTUBE_AUDIO";
|
|
25264
|
-
campaign: string | null;
|
|
25265
|
-
}>;
|
|
24974
|
+
data: Array<GoogleAdsAdGroup>;
|
|
25266
24975
|
};
|
|
25267
24976
|
[dataTagErrorSymbol]: GoogleListAdGroupsError;
|
|
25268
24977
|
};
|
|
@@ -25295,30 +25004,12 @@ declare const googleGetAdGroupQueryKey: (options: Options<GoogleGetAdGroupData>)
|
|
|
25295
25004
|
*
|
|
25296
25005
|
* Returns a single ad group by its numeric id from the Google Ads account backing this connection — id, name, status, type, and parent campaign.
|
|
25297
25006
|
*/
|
|
25298
|
-
declare const googleGetAdGroupOptions: (options: Options<GoogleGetAdGroupData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<{
|
|
25299
|
-
id: string;
|
|
25300
|
-
name: string | null;
|
|
25301
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25302
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "SEARCH_STANDARD" | "DISPLAY_STANDARD" | "SHOPPING_PRODUCT_ADS" | "HOTEL_ADS" | "SHOPPING_SMART_ADS" | "VIDEO_BUMPER" | "VIDEO_TRUE_VIEW_IN_STREAM" | "VIDEO_TRUE_VIEW_IN_DISPLAY" | "VIDEO_NON_SKIPPABLE_IN_STREAM" | "SEARCH_DYNAMIC_ADS" | "SHOPPING_COMPARISON_LISTING_ADS" | "PROMOTED_HOTEL_ADS" | "VIDEO_RESPONSIVE" | "VIDEO_EFFICIENT_REACH" | "SMART_CAMPAIGN_ADS" | "TRAVEL_ADS" | "YOUTUBE_AUDIO";
|
|
25303
|
-
campaign: string | null;
|
|
25304
|
-
}, GoogleGetAdGroupError, {
|
|
25305
|
-
id: string;
|
|
25306
|
-
name: string | null;
|
|
25307
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25308
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "SEARCH_STANDARD" | "DISPLAY_STANDARD" | "SHOPPING_PRODUCT_ADS" | "HOTEL_ADS" | "SHOPPING_SMART_ADS" | "VIDEO_BUMPER" | "VIDEO_TRUE_VIEW_IN_STREAM" | "VIDEO_TRUE_VIEW_IN_DISPLAY" | "VIDEO_NON_SKIPPABLE_IN_STREAM" | "SEARCH_DYNAMIC_ADS" | "SHOPPING_COMPARISON_LISTING_ADS" | "PROMOTED_HOTEL_ADS" | "VIDEO_RESPONSIVE" | "VIDEO_EFFICIENT_REACH" | "SMART_CAMPAIGN_ADS" | "TRAVEL_ADS" | "YOUTUBE_AUDIO";
|
|
25309
|
-
campaign: string | null;
|
|
25310
|
-
}, [Pick<Options<GoogleGetAdGroupData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
25007
|
+
declare const googleGetAdGroupOptions: (options: Options<GoogleGetAdGroupData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<GoogleAdsAdGroup, GoogleGetAdGroupError, GoogleAdsAdGroup, [Pick<Options<GoogleGetAdGroupData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
25311
25008
|
_id: string;
|
|
25312
25009
|
_infinite?: boolean;
|
|
25313
25010
|
tags?: ReadonlyArray<string>;
|
|
25314
25011
|
}]>, "queryFn"> & {
|
|
25315
|
-
queryFn?: _tanstack_react_query.QueryFunction<{
|
|
25316
|
-
id: string;
|
|
25317
|
-
name: string | null;
|
|
25318
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25319
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "SEARCH_STANDARD" | "DISPLAY_STANDARD" | "SHOPPING_PRODUCT_ADS" | "HOTEL_ADS" | "SHOPPING_SMART_ADS" | "VIDEO_BUMPER" | "VIDEO_TRUE_VIEW_IN_STREAM" | "VIDEO_TRUE_VIEW_IN_DISPLAY" | "VIDEO_NON_SKIPPABLE_IN_STREAM" | "SEARCH_DYNAMIC_ADS" | "SHOPPING_COMPARISON_LISTING_ADS" | "PROMOTED_HOTEL_ADS" | "VIDEO_RESPONSIVE" | "VIDEO_EFFICIENT_REACH" | "SMART_CAMPAIGN_ADS" | "TRAVEL_ADS" | "YOUTUBE_AUDIO";
|
|
25320
|
-
campaign: string | null;
|
|
25321
|
-
}, [Pick<Options<GoogleGetAdGroupData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
25012
|
+
queryFn?: _tanstack_react_query.QueryFunction<GoogleAdsAdGroup, [Pick<Options<GoogleGetAdGroupData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
25322
25013
|
_id: string;
|
|
25323
25014
|
_infinite?: boolean;
|
|
25324
25015
|
tags?: ReadonlyArray<string>;
|
|
@@ -25329,13 +25020,7 @@ declare const googleGetAdGroupOptions: (options: Options<GoogleGetAdGroupData>)
|
|
|
25329
25020
|
_infinite?: boolean;
|
|
25330
25021
|
tags?: ReadonlyArray<string>;
|
|
25331
25022
|
}] & {
|
|
25332
|
-
[dataTagSymbol]:
|
|
25333
|
-
id: string;
|
|
25334
|
-
name: string | null;
|
|
25335
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25336
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "SEARCH_STANDARD" | "DISPLAY_STANDARD" | "SHOPPING_PRODUCT_ADS" | "HOTEL_ADS" | "SHOPPING_SMART_ADS" | "VIDEO_BUMPER" | "VIDEO_TRUE_VIEW_IN_STREAM" | "VIDEO_TRUE_VIEW_IN_DISPLAY" | "VIDEO_NON_SKIPPABLE_IN_STREAM" | "SEARCH_DYNAMIC_ADS" | "SHOPPING_COMPARISON_LISTING_ADS" | "PROMOTED_HOTEL_ADS" | "VIDEO_RESPONSIVE" | "VIDEO_EFFICIENT_REACH" | "SMART_CAMPAIGN_ADS" | "TRAVEL_ADS" | "YOUTUBE_AUDIO";
|
|
25337
|
-
campaign: string | null;
|
|
25338
|
-
};
|
|
25023
|
+
[dataTagSymbol]: GoogleAdsAdGroup;
|
|
25339
25024
|
[dataTagErrorSymbol]: GoogleGetAdGroupError;
|
|
25340
25025
|
};
|
|
25341
25026
|
};
|
|
@@ -25385,100 +25070,10 @@ declare const googleListAdGroupCriteriaQueryKey: (options: Options<GoogleListAdG
|
|
|
25385
25070
|
*/
|
|
25386
25071
|
declare const googleListAdGroupCriteriaOptions: (options: Options<GoogleListAdGroupCriteriaData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<{
|
|
25387
25072
|
object: "list";
|
|
25388
|
-
data: Array<
|
|
25389
|
-
type: "AGE_RANGE";
|
|
25390
|
-
criterion_id: string;
|
|
25391
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25392
|
-
negative: boolean;
|
|
25393
|
-
age_range: "UNSPECIFIED" | "UNKNOWN" | "AGE_RANGE_18_24" | "AGE_RANGE_25_34" | "AGE_RANGE_35_44" | "AGE_RANGE_45_54" | "AGE_RANGE_55_64" | "AGE_RANGE_65_UP" | "AGE_RANGE_UNDETERMINED";
|
|
25394
|
-
} | {
|
|
25395
|
-
type: "GENDER";
|
|
25396
|
-
criterion_id: string;
|
|
25397
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25398
|
-
negative: boolean;
|
|
25399
|
-
gender: "UNSPECIFIED" | "UNKNOWN" | "MALE" | "FEMALE" | "UNDETERMINED";
|
|
25400
|
-
} | {
|
|
25401
|
-
type: "INCOME_RANGE";
|
|
25402
|
-
criterion_id: string;
|
|
25403
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25404
|
-
negative: boolean;
|
|
25405
|
-
income_range: "UNSPECIFIED" | "UNKNOWN" | "INCOME_RANGE_0_50" | "INCOME_RANGE_50_60" | "INCOME_RANGE_60_70" | "INCOME_RANGE_70_80" | "INCOME_RANGE_80_90" | "INCOME_RANGE_90_UP" | "INCOME_RANGE_UNDETERMINED";
|
|
25406
|
-
} | {
|
|
25407
|
-
type: "PARENTAL_STATUS";
|
|
25408
|
-
criterion_id: string;
|
|
25409
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25410
|
-
negative: boolean;
|
|
25411
|
-
parental_status: "UNSPECIFIED" | "UNKNOWN" | "PARENT" | "NOT_A_PARENT" | "UNDETERMINED";
|
|
25412
|
-
} | {
|
|
25413
|
-
type: "USER_LIST";
|
|
25414
|
-
criterion_id: string;
|
|
25415
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25416
|
-
negative: boolean;
|
|
25417
|
-
user_list: string | null;
|
|
25418
|
-
} | {
|
|
25419
|
-
type: "AUDIENCE";
|
|
25420
|
-
criterion_id: string;
|
|
25421
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25422
|
-
negative: boolean;
|
|
25423
|
-
audience: string | null;
|
|
25424
|
-
} | {
|
|
25425
|
-
type: "CUSTOM_AUDIENCE";
|
|
25426
|
-
criterion_id: string;
|
|
25427
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25428
|
-
negative: boolean;
|
|
25429
|
-
custom_audience: string | null;
|
|
25430
|
-
} | {
|
|
25431
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "KEYWORD" | "PLACEMENT" | "MOBILE_APP_CATEGORY" | "MOBILE_APPLICATION" | "DEVICE" | "LOCATION" | "LISTING_GROUP" | "AD_SCHEDULE" | "YOUTUBE_VIDEO" | "YOUTUBE_CHANNEL" | "PROXIMITY" | "TOPIC" | "LISTING_SCOPE" | "LANGUAGE" | "IP_BLOCK" | "CONTENT_LABEL" | "CARRIER" | "USER_INTEREST" | "WEBPAGE" | "OPERATING_SYSTEM_VERSION" | "APP_PAYMENT_MODEL" | "MOBILE_DEVICE" | "CUSTOM_AFFINITY" | "CUSTOM_INTENT" | "LOCATION_GROUP" | "COMBINED_AUDIENCE" | "KEYWORD_THEME" | "NEGATIVE_KEYWORD_LIST" | "LOCAL_SERVICE_ID" | "SEARCH_THEME" | "BRAND" | "BRAND_LIST" | "LIFE_EVENT" | "WEBPAGE_LIST" | "VIDEO_LINEUP" | "PLACEMENT_LIST" | "VERTICAL_ADS_ITEM_GROUP_RULE_LIST" | "VERTICAL_ADS_ITEM_GROUP_RULE";
|
|
25432
|
-
criterion_id: string;
|
|
25433
|
-
}>;
|
|
25073
|
+
data: Array<GoogleAdsAdGroupCriterion>;
|
|
25434
25074
|
}, GoogleListAdGroupCriteriaError, {
|
|
25435
25075
|
object: "list";
|
|
25436
|
-
data: Array<
|
|
25437
|
-
type: "AGE_RANGE";
|
|
25438
|
-
criterion_id: string;
|
|
25439
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25440
|
-
negative: boolean;
|
|
25441
|
-
age_range: "UNSPECIFIED" | "UNKNOWN" | "AGE_RANGE_18_24" | "AGE_RANGE_25_34" | "AGE_RANGE_35_44" | "AGE_RANGE_45_54" | "AGE_RANGE_55_64" | "AGE_RANGE_65_UP" | "AGE_RANGE_UNDETERMINED";
|
|
25442
|
-
} | {
|
|
25443
|
-
type: "GENDER";
|
|
25444
|
-
criterion_id: string;
|
|
25445
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25446
|
-
negative: boolean;
|
|
25447
|
-
gender: "UNSPECIFIED" | "UNKNOWN" | "MALE" | "FEMALE" | "UNDETERMINED";
|
|
25448
|
-
} | {
|
|
25449
|
-
type: "INCOME_RANGE";
|
|
25450
|
-
criterion_id: string;
|
|
25451
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25452
|
-
negative: boolean;
|
|
25453
|
-
income_range: "UNSPECIFIED" | "UNKNOWN" | "INCOME_RANGE_0_50" | "INCOME_RANGE_50_60" | "INCOME_RANGE_60_70" | "INCOME_RANGE_70_80" | "INCOME_RANGE_80_90" | "INCOME_RANGE_90_UP" | "INCOME_RANGE_UNDETERMINED";
|
|
25454
|
-
} | {
|
|
25455
|
-
type: "PARENTAL_STATUS";
|
|
25456
|
-
criterion_id: string;
|
|
25457
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25458
|
-
negative: boolean;
|
|
25459
|
-
parental_status: "UNSPECIFIED" | "UNKNOWN" | "PARENT" | "NOT_A_PARENT" | "UNDETERMINED";
|
|
25460
|
-
} | {
|
|
25461
|
-
type: "USER_LIST";
|
|
25462
|
-
criterion_id: string;
|
|
25463
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25464
|
-
negative: boolean;
|
|
25465
|
-
user_list: string | null;
|
|
25466
|
-
} | {
|
|
25467
|
-
type: "AUDIENCE";
|
|
25468
|
-
criterion_id: string;
|
|
25469
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25470
|
-
negative: boolean;
|
|
25471
|
-
audience: string | null;
|
|
25472
|
-
} | {
|
|
25473
|
-
type: "CUSTOM_AUDIENCE";
|
|
25474
|
-
criterion_id: string;
|
|
25475
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25476
|
-
negative: boolean;
|
|
25477
|
-
custom_audience: string | null;
|
|
25478
|
-
} | {
|
|
25479
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "KEYWORD" | "PLACEMENT" | "MOBILE_APP_CATEGORY" | "MOBILE_APPLICATION" | "DEVICE" | "LOCATION" | "LISTING_GROUP" | "AD_SCHEDULE" | "YOUTUBE_VIDEO" | "YOUTUBE_CHANNEL" | "PROXIMITY" | "TOPIC" | "LISTING_SCOPE" | "LANGUAGE" | "IP_BLOCK" | "CONTENT_LABEL" | "CARRIER" | "USER_INTEREST" | "WEBPAGE" | "OPERATING_SYSTEM_VERSION" | "APP_PAYMENT_MODEL" | "MOBILE_DEVICE" | "CUSTOM_AFFINITY" | "CUSTOM_INTENT" | "LOCATION_GROUP" | "COMBINED_AUDIENCE" | "KEYWORD_THEME" | "NEGATIVE_KEYWORD_LIST" | "LOCAL_SERVICE_ID" | "SEARCH_THEME" | "BRAND" | "BRAND_LIST" | "LIFE_EVENT" | "WEBPAGE_LIST" | "VIDEO_LINEUP" | "PLACEMENT_LIST" | "VERTICAL_ADS_ITEM_GROUP_RULE_LIST" | "VERTICAL_ADS_ITEM_GROUP_RULE";
|
|
25480
|
-
criterion_id: string;
|
|
25481
|
-
}>;
|
|
25076
|
+
data: Array<GoogleAdsAdGroupCriterion>;
|
|
25482
25077
|
}, [Pick<Options<GoogleListAdGroupCriteriaData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
25483
25078
|
_id: string;
|
|
25484
25079
|
_infinite?: boolean;
|
|
@@ -25486,52 +25081,7 @@ declare const googleListAdGroupCriteriaOptions: (options: Options<GoogleListAdGr
|
|
|
25486
25081
|
}]>, "queryFn"> & {
|
|
25487
25082
|
queryFn?: _tanstack_react_query.QueryFunction<{
|
|
25488
25083
|
object: "list";
|
|
25489
|
-
data: Array<
|
|
25490
|
-
type: "AGE_RANGE";
|
|
25491
|
-
criterion_id: string;
|
|
25492
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25493
|
-
negative: boolean;
|
|
25494
|
-
age_range: "UNSPECIFIED" | "UNKNOWN" | "AGE_RANGE_18_24" | "AGE_RANGE_25_34" | "AGE_RANGE_35_44" | "AGE_RANGE_45_54" | "AGE_RANGE_55_64" | "AGE_RANGE_65_UP" | "AGE_RANGE_UNDETERMINED";
|
|
25495
|
-
} | {
|
|
25496
|
-
type: "GENDER";
|
|
25497
|
-
criterion_id: string;
|
|
25498
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25499
|
-
negative: boolean;
|
|
25500
|
-
gender: "UNSPECIFIED" | "UNKNOWN" | "MALE" | "FEMALE" | "UNDETERMINED";
|
|
25501
|
-
} | {
|
|
25502
|
-
type: "INCOME_RANGE";
|
|
25503
|
-
criterion_id: string;
|
|
25504
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25505
|
-
negative: boolean;
|
|
25506
|
-
income_range: "UNSPECIFIED" | "UNKNOWN" | "INCOME_RANGE_0_50" | "INCOME_RANGE_50_60" | "INCOME_RANGE_60_70" | "INCOME_RANGE_70_80" | "INCOME_RANGE_80_90" | "INCOME_RANGE_90_UP" | "INCOME_RANGE_UNDETERMINED";
|
|
25507
|
-
} | {
|
|
25508
|
-
type: "PARENTAL_STATUS";
|
|
25509
|
-
criterion_id: string;
|
|
25510
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25511
|
-
negative: boolean;
|
|
25512
|
-
parental_status: "UNSPECIFIED" | "UNKNOWN" | "PARENT" | "NOT_A_PARENT" | "UNDETERMINED";
|
|
25513
|
-
} | {
|
|
25514
|
-
type: "USER_LIST";
|
|
25515
|
-
criterion_id: string;
|
|
25516
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25517
|
-
negative: boolean;
|
|
25518
|
-
user_list: string | null;
|
|
25519
|
-
} | {
|
|
25520
|
-
type: "AUDIENCE";
|
|
25521
|
-
criterion_id: string;
|
|
25522
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25523
|
-
negative: boolean;
|
|
25524
|
-
audience: string | null;
|
|
25525
|
-
} | {
|
|
25526
|
-
type: "CUSTOM_AUDIENCE";
|
|
25527
|
-
criterion_id: string;
|
|
25528
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25529
|
-
negative: boolean;
|
|
25530
|
-
custom_audience: string | null;
|
|
25531
|
-
} | {
|
|
25532
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "KEYWORD" | "PLACEMENT" | "MOBILE_APP_CATEGORY" | "MOBILE_APPLICATION" | "DEVICE" | "LOCATION" | "LISTING_GROUP" | "AD_SCHEDULE" | "YOUTUBE_VIDEO" | "YOUTUBE_CHANNEL" | "PROXIMITY" | "TOPIC" | "LISTING_SCOPE" | "LANGUAGE" | "IP_BLOCK" | "CONTENT_LABEL" | "CARRIER" | "USER_INTEREST" | "WEBPAGE" | "OPERATING_SYSTEM_VERSION" | "APP_PAYMENT_MODEL" | "MOBILE_DEVICE" | "CUSTOM_AFFINITY" | "CUSTOM_INTENT" | "LOCATION_GROUP" | "COMBINED_AUDIENCE" | "KEYWORD_THEME" | "NEGATIVE_KEYWORD_LIST" | "LOCAL_SERVICE_ID" | "SEARCH_THEME" | "BRAND" | "BRAND_LIST" | "LIFE_EVENT" | "WEBPAGE_LIST" | "VIDEO_LINEUP" | "PLACEMENT_LIST" | "VERTICAL_ADS_ITEM_GROUP_RULE_LIST" | "VERTICAL_ADS_ITEM_GROUP_RULE";
|
|
25533
|
-
criterion_id: string;
|
|
25534
|
-
}>;
|
|
25084
|
+
data: Array<GoogleAdsAdGroupCriterion>;
|
|
25535
25085
|
}, [Pick<Options<GoogleListAdGroupCriteriaData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
25536
25086
|
_id: string;
|
|
25537
25087
|
_infinite?: boolean;
|
|
@@ -25545,62 +25095,17 @@ declare const googleListAdGroupCriteriaOptions: (options: Options<GoogleListAdGr
|
|
|
25545
25095
|
}] & {
|
|
25546
25096
|
[dataTagSymbol]: {
|
|
25547
25097
|
object: "list";
|
|
25548
|
-
data: Array<
|
|
25549
|
-
type: "AGE_RANGE";
|
|
25550
|
-
criterion_id: string;
|
|
25551
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25552
|
-
negative: boolean;
|
|
25553
|
-
age_range: "UNSPECIFIED" | "UNKNOWN" | "AGE_RANGE_18_24" | "AGE_RANGE_25_34" | "AGE_RANGE_35_44" | "AGE_RANGE_45_54" | "AGE_RANGE_55_64" | "AGE_RANGE_65_UP" | "AGE_RANGE_UNDETERMINED";
|
|
25554
|
-
} | {
|
|
25555
|
-
type: "GENDER";
|
|
25556
|
-
criterion_id: string;
|
|
25557
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25558
|
-
negative: boolean;
|
|
25559
|
-
gender: "UNSPECIFIED" | "UNKNOWN" | "MALE" | "FEMALE" | "UNDETERMINED";
|
|
25560
|
-
} | {
|
|
25561
|
-
type: "INCOME_RANGE";
|
|
25562
|
-
criterion_id: string;
|
|
25563
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25564
|
-
negative: boolean;
|
|
25565
|
-
income_range: "UNSPECIFIED" | "UNKNOWN" | "INCOME_RANGE_0_50" | "INCOME_RANGE_50_60" | "INCOME_RANGE_60_70" | "INCOME_RANGE_70_80" | "INCOME_RANGE_80_90" | "INCOME_RANGE_90_UP" | "INCOME_RANGE_UNDETERMINED";
|
|
25566
|
-
} | {
|
|
25567
|
-
type: "PARENTAL_STATUS";
|
|
25568
|
-
criterion_id: string;
|
|
25569
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25570
|
-
negative: boolean;
|
|
25571
|
-
parental_status: "UNSPECIFIED" | "UNKNOWN" | "PARENT" | "NOT_A_PARENT" | "UNDETERMINED";
|
|
25572
|
-
} | {
|
|
25573
|
-
type: "USER_LIST";
|
|
25574
|
-
criterion_id: string;
|
|
25575
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25576
|
-
negative: boolean;
|
|
25577
|
-
user_list: string | null;
|
|
25578
|
-
} | {
|
|
25579
|
-
type: "AUDIENCE";
|
|
25580
|
-
criterion_id: string;
|
|
25581
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25582
|
-
negative: boolean;
|
|
25583
|
-
audience: string | null;
|
|
25584
|
-
} | {
|
|
25585
|
-
type: "CUSTOM_AUDIENCE";
|
|
25586
|
-
criterion_id: string;
|
|
25587
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25588
|
-
negative: boolean;
|
|
25589
|
-
custom_audience: string | null;
|
|
25590
|
-
} | {
|
|
25591
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "KEYWORD" | "PLACEMENT" | "MOBILE_APP_CATEGORY" | "MOBILE_APPLICATION" | "DEVICE" | "LOCATION" | "LISTING_GROUP" | "AD_SCHEDULE" | "YOUTUBE_VIDEO" | "YOUTUBE_CHANNEL" | "PROXIMITY" | "TOPIC" | "LISTING_SCOPE" | "LANGUAGE" | "IP_BLOCK" | "CONTENT_LABEL" | "CARRIER" | "USER_INTEREST" | "WEBPAGE" | "OPERATING_SYSTEM_VERSION" | "APP_PAYMENT_MODEL" | "MOBILE_DEVICE" | "CUSTOM_AFFINITY" | "CUSTOM_INTENT" | "LOCATION_GROUP" | "COMBINED_AUDIENCE" | "KEYWORD_THEME" | "NEGATIVE_KEYWORD_LIST" | "LOCAL_SERVICE_ID" | "SEARCH_THEME" | "BRAND" | "BRAND_LIST" | "LIFE_EVENT" | "WEBPAGE_LIST" | "VIDEO_LINEUP" | "PLACEMENT_LIST" | "VERTICAL_ADS_ITEM_GROUP_RULE_LIST" | "VERTICAL_ADS_ITEM_GROUP_RULE";
|
|
25592
|
-
criterion_id: string;
|
|
25593
|
-
}>;
|
|
25098
|
+
data: Array<GoogleAdsAdGroupCriterion>;
|
|
25594
25099
|
};
|
|
25595
25100
|
[dataTagErrorSymbol]: GoogleListAdGroupCriteriaError;
|
|
25596
25101
|
};
|
|
25597
25102
|
};
|
|
25598
25103
|
/**
|
|
25599
|
-
* Add a Google Ads ad-group
|
|
25104
|
+
* Add a Google Ads ad-group targeting criterion
|
|
25600
25105
|
*
|
|
25601
25106
|
* **Authentication.** Secret `pr_` API key, or a browser-safe frontend token granting `ads:write` scoped to the profile that owns the connection.
|
|
25602
25107
|
*
|
|
25603
|
-
* Adds a demographic (age range, gender, income range, or parental status) targeting criterion to an ad group. Set `negative: true` to exclude instead of target. Pass `dry_run: true` to validate against Google without creating. Returns the new resource id + resource_name.
|
|
25108
|
+
* Adds a demographic (age range, gender, income range, or parental status) or audience (user list, audience, or custom audience) targeting criterion to an ad group. Audience criteria reference the `resource_name` returned by the audiences discovery read (`GET .../audiences`). Set `negative: true` to exclude instead of target. Pass `dry_run: true` to validate against Google without creating. Returns the new resource id + resource_name.
|
|
25604
25109
|
*/
|
|
25605
25110
|
declare const googleCreateAdGroupCriterionMutation: (options?: Partial<Options<GoogleCreateAdGroupCriterionData>>) => UseMutationOptions<GoogleCreateAdGroupCriterionResponse, GoogleCreateAdGroupCriterionError, Options<GoogleCreateAdGroupCriterionData>>;
|
|
25606
25111
|
/**
|
|
@@ -25625,36 +25130,10 @@ declare const googleListAudiencesQueryKey: (options: Options<GoogleListAudiences
|
|
|
25625
25130
|
*/
|
|
25626
25131
|
declare const googleListAudiencesOptions: (options: Options<GoogleListAudiencesData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<{
|
|
25627
25132
|
object: "list";
|
|
25628
|
-
data: Array<
|
|
25629
|
-
kind: "user_list";
|
|
25630
|
-
id: string;
|
|
25631
|
-
resource_name: string;
|
|
25632
|
-
name: string | null;
|
|
25633
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "REMARKETING" | "LOGICAL" | "EXTERNAL_REMARKETING" | "RULE_BASED" | "SIMILAR" | "CRM_BASED" | "LOOKALIKE";
|
|
25634
|
-
membership_status: "UNSPECIFIED" | "UNKNOWN" | "OPEN" | "CLOSED";
|
|
25635
|
-
} | {
|
|
25636
|
-
kind: "audience";
|
|
25637
|
-
id: string;
|
|
25638
|
-
resource_name: string;
|
|
25639
|
-
name: string | null;
|
|
25640
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "REMOVED";
|
|
25641
|
-
}>;
|
|
25133
|
+
data: Array<GoogleAdsAudience>;
|
|
25642
25134
|
}, GoogleListAudiencesError, {
|
|
25643
25135
|
object: "list";
|
|
25644
|
-
data: Array<
|
|
25645
|
-
kind: "user_list";
|
|
25646
|
-
id: string;
|
|
25647
|
-
resource_name: string;
|
|
25648
|
-
name: string | null;
|
|
25649
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "REMARKETING" | "LOGICAL" | "EXTERNAL_REMARKETING" | "RULE_BASED" | "SIMILAR" | "CRM_BASED" | "LOOKALIKE";
|
|
25650
|
-
membership_status: "UNSPECIFIED" | "UNKNOWN" | "OPEN" | "CLOSED";
|
|
25651
|
-
} | {
|
|
25652
|
-
kind: "audience";
|
|
25653
|
-
id: string;
|
|
25654
|
-
resource_name: string;
|
|
25655
|
-
name: string | null;
|
|
25656
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "REMOVED";
|
|
25657
|
-
}>;
|
|
25136
|
+
data: Array<GoogleAdsAudience>;
|
|
25658
25137
|
}, [Pick<Options<GoogleListAudiencesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
25659
25138
|
_id: string;
|
|
25660
25139
|
_infinite?: boolean;
|
|
@@ -25662,20 +25141,7 @@ declare const googleListAudiencesOptions: (options: Options<GoogleListAudiencesD
|
|
|
25662
25141
|
}]>, "queryFn"> & {
|
|
25663
25142
|
queryFn?: _tanstack_react_query.QueryFunction<{
|
|
25664
25143
|
object: "list";
|
|
25665
|
-
data: Array<
|
|
25666
|
-
kind: "user_list";
|
|
25667
|
-
id: string;
|
|
25668
|
-
resource_name: string;
|
|
25669
|
-
name: string | null;
|
|
25670
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "REMARKETING" | "LOGICAL" | "EXTERNAL_REMARKETING" | "RULE_BASED" | "SIMILAR" | "CRM_BASED" | "LOOKALIKE";
|
|
25671
|
-
membership_status: "UNSPECIFIED" | "UNKNOWN" | "OPEN" | "CLOSED";
|
|
25672
|
-
} | {
|
|
25673
|
-
kind: "audience";
|
|
25674
|
-
id: string;
|
|
25675
|
-
resource_name: string;
|
|
25676
|
-
name: string | null;
|
|
25677
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "REMOVED";
|
|
25678
|
-
}>;
|
|
25144
|
+
data: Array<GoogleAdsAudience>;
|
|
25679
25145
|
}, [Pick<Options<GoogleListAudiencesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
25680
25146
|
_id: string;
|
|
25681
25147
|
_infinite?: boolean;
|
|
@@ -25689,20 +25155,7 @@ declare const googleListAudiencesOptions: (options: Options<GoogleListAudiencesD
|
|
|
25689
25155
|
}] & {
|
|
25690
25156
|
[dataTagSymbol]: {
|
|
25691
25157
|
object: "list";
|
|
25692
|
-
data: Array<
|
|
25693
|
-
kind: "user_list";
|
|
25694
|
-
id: string;
|
|
25695
|
-
resource_name: string;
|
|
25696
|
-
name: string | null;
|
|
25697
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "REMARKETING" | "LOGICAL" | "EXTERNAL_REMARKETING" | "RULE_BASED" | "SIMILAR" | "CRM_BASED" | "LOOKALIKE";
|
|
25698
|
-
membership_status: "UNSPECIFIED" | "UNKNOWN" | "OPEN" | "CLOSED";
|
|
25699
|
-
} | {
|
|
25700
|
-
kind: "audience";
|
|
25701
|
-
id: string;
|
|
25702
|
-
resource_name: string;
|
|
25703
|
-
name: string | null;
|
|
25704
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "REMOVED";
|
|
25705
|
-
}>;
|
|
25158
|
+
data: Array<GoogleAdsAudience>;
|
|
25706
25159
|
};
|
|
25707
25160
|
[dataTagErrorSymbol]: GoogleListAudiencesError;
|
|
25708
25161
|
};
|
|
@@ -25725,26 +25178,14 @@ declare const googleListAdsQueryKey: (options: Options<GoogleListAdsData>) => [P
|
|
|
25725
25178
|
*
|
|
25726
25179
|
* **Authentication.** Secret `pr_` API key, or a browser-safe frontend token granting `ads:read` scoped to the profile that owns the connection.
|
|
25727
25180
|
*
|
|
25728
|
-
* Returns the ads (the `ad_group_ad` resource) on the connection’s account — id, name, creative type, serving status, and the owning ad group.
|
|
25181
|
+
* Returns the ads (the `ad_group_ad` resource) on the connection’s account — id, name, creative type, serving status, and the owning ad group. Pass `ad_group_id` to return only the ads under one ad group.
|
|
25729
25182
|
*/
|
|
25730
25183
|
declare const googleListAdsOptions: (options: Options<GoogleListAdsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<{
|
|
25731
25184
|
object: "list";
|
|
25732
|
-
data: Array<
|
|
25733
|
-
id: string;
|
|
25734
|
-
name: string | null;
|
|
25735
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "TEXT_AD" | "EXPANDED_TEXT_AD" | "EXPANDED_DYNAMIC_SEARCH_AD" | "HOTEL_AD" | "SHOPPING_SMART_AD" | "SHOPPING_PRODUCT_AD" | "VIDEO_AD" | "IMAGE_AD" | "RESPONSIVE_SEARCH_AD" | "LEGACY_RESPONSIVE_DISPLAY_AD" | "APP_AD" | "LEGACY_APP_INSTALL_AD" | "RESPONSIVE_DISPLAY_AD" | "LOCAL_AD" | "HTML5_UPLOAD_AD" | "DYNAMIC_HTML5_AD" | "APP_ENGAGEMENT_AD" | "SHOPPING_COMPARISON_LISTING_AD" | "VIDEO_BUMPER_AD" | "VIDEO_NON_SKIPPABLE_IN_STREAM_AD" | "VIDEO_TRUEVIEW_IN_STREAM_AD" | "VIDEO_RESPONSIVE_AD" | "SMART_CAMPAIGN_AD" | "CALL_AD" | "APP_PRE_REGISTRATION_AD" | "IN_FEED_VIDEO_AD" | "DEMAND_GEN_MULTI_ASSET_AD" | "DEMAND_GEN_CAROUSEL_AD" | "TRAVEL_AD" | "DEMAND_GEN_VIDEO_RESPONSIVE_AD" | "DEMAND_GEN_PRODUCT_AD" | "YOUTUBE_AUDIO_AD";
|
|
25736
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25737
|
-
ad_group: string | null;
|
|
25738
|
-
}>;
|
|
25185
|
+
data: Array<GoogleAdsAd>;
|
|
25739
25186
|
}, GoogleListAdsError, {
|
|
25740
25187
|
object: "list";
|
|
25741
|
-
data: Array<
|
|
25742
|
-
id: string;
|
|
25743
|
-
name: string | null;
|
|
25744
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "TEXT_AD" | "EXPANDED_TEXT_AD" | "EXPANDED_DYNAMIC_SEARCH_AD" | "HOTEL_AD" | "SHOPPING_SMART_AD" | "SHOPPING_PRODUCT_AD" | "VIDEO_AD" | "IMAGE_AD" | "RESPONSIVE_SEARCH_AD" | "LEGACY_RESPONSIVE_DISPLAY_AD" | "APP_AD" | "LEGACY_APP_INSTALL_AD" | "RESPONSIVE_DISPLAY_AD" | "LOCAL_AD" | "HTML5_UPLOAD_AD" | "DYNAMIC_HTML5_AD" | "APP_ENGAGEMENT_AD" | "SHOPPING_COMPARISON_LISTING_AD" | "VIDEO_BUMPER_AD" | "VIDEO_NON_SKIPPABLE_IN_STREAM_AD" | "VIDEO_TRUEVIEW_IN_STREAM_AD" | "VIDEO_RESPONSIVE_AD" | "SMART_CAMPAIGN_AD" | "CALL_AD" | "APP_PRE_REGISTRATION_AD" | "IN_FEED_VIDEO_AD" | "DEMAND_GEN_MULTI_ASSET_AD" | "DEMAND_GEN_CAROUSEL_AD" | "TRAVEL_AD" | "DEMAND_GEN_VIDEO_RESPONSIVE_AD" | "DEMAND_GEN_PRODUCT_AD" | "YOUTUBE_AUDIO_AD";
|
|
25745
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25746
|
-
ad_group: string | null;
|
|
25747
|
-
}>;
|
|
25188
|
+
data: Array<GoogleAdsAd>;
|
|
25748
25189
|
}, [Pick<Options<GoogleListAdsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
25749
25190
|
_id: string;
|
|
25750
25191
|
_infinite?: boolean;
|
|
@@ -25752,13 +25193,7 @@ declare const googleListAdsOptions: (options: Options<GoogleListAdsData>) => _ta
|
|
|
25752
25193
|
}]>, "queryFn"> & {
|
|
25753
25194
|
queryFn?: _tanstack_react_query.QueryFunction<{
|
|
25754
25195
|
object: "list";
|
|
25755
|
-
data: Array<
|
|
25756
|
-
id: string;
|
|
25757
|
-
name: string | null;
|
|
25758
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "TEXT_AD" | "EXPANDED_TEXT_AD" | "EXPANDED_DYNAMIC_SEARCH_AD" | "HOTEL_AD" | "SHOPPING_SMART_AD" | "SHOPPING_PRODUCT_AD" | "VIDEO_AD" | "IMAGE_AD" | "RESPONSIVE_SEARCH_AD" | "LEGACY_RESPONSIVE_DISPLAY_AD" | "APP_AD" | "LEGACY_APP_INSTALL_AD" | "RESPONSIVE_DISPLAY_AD" | "LOCAL_AD" | "HTML5_UPLOAD_AD" | "DYNAMIC_HTML5_AD" | "APP_ENGAGEMENT_AD" | "SHOPPING_COMPARISON_LISTING_AD" | "VIDEO_BUMPER_AD" | "VIDEO_NON_SKIPPABLE_IN_STREAM_AD" | "VIDEO_TRUEVIEW_IN_STREAM_AD" | "VIDEO_RESPONSIVE_AD" | "SMART_CAMPAIGN_AD" | "CALL_AD" | "APP_PRE_REGISTRATION_AD" | "IN_FEED_VIDEO_AD" | "DEMAND_GEN_MULTI_ASSET_AD" | "DEMAND_GEN_CAROUSEL_AD" | "TRAVEL_AD" | "DEMAND_GEN_VIDEO_RESPONSIVE_AD" | "DEMAND_GEN_PRODUCT_AD" | "YOUTUBE_AUDIO_AD";
|
|
25759
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25760
|
-
ad_group: string | null;
|
|
25761
|
-
}>;
|
|
25196
|
+
data: Array<GoogleAdsAd>;
|
|
25762
25197
|
}, [Pick<Options<GoogleListAdsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
25763
25198
|
_id: string;
|
|
25764
25199
|
_infinite?: boolean;
|
|
@@ -25772,13 +25207,7 @@ declare const googleListAdsOptions: (options: Options<GoogleListAdsData>) => _ta
|
|
|
25772
25207
|
}] & {
|
|
25773
25208
|
[dataTagSymbol]: {
|
|
25774
25209
|
object: "list";
|
|
25775
|
-
data: Array<
|
|
25776
|
-
id: string;
|
|
25777
|
-
name: string | null;
|
|
25778
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "TEXT_AD" | "EXPANDED_TEXT_AD" | "EXPANDED_DYNAMIC_SEARCH_AD" | "HOTEL_AD" | "SHOPPING_SMART_AD" | "SHOPPING_PRODUCT_AD" | "VIDEO_AD" | "IMAGE_AD" | "RESPONSIVE_SEARCH_AD" | "LEGACY_RESPONSIVE_DISPLAY_AD" | "APP_AD" | "LEGACY_APP_INSTALL_AD" | "RESPONSIVE_DISPLAY_AD" | "LOCAL_AD" | "HTML5_UPLOAD_AD" | "DYNAMIC_HTML5_AD" | "APP_ENGAGEMENT_AD" | "SHOPPING_COMPARISON_LISTING_AD" | "VIDEO_BUMPER_AD" | "VIDEO_NON_SKIPPABLE_IN_STREAM_AD" | "VIDEO_TRUEVIEW_IN_STREAM_AD" | "VIDEO_RESPONSIVE_AD" | "SMART_CAMPAIGN_AD" | "CALL_AD" | "APP_PRE_REGISTRATION_AD" | "IN_FEED_VIDEO_AD" | "DEMAND_GEN_MULTI_ASSET_AD" | "DEMAND_GEN_CAROUSEL_AD" | "TRAVEL_AD" | "DEMAND_GEN_VIDEO_RESPONSIVE_AD" | "DEMAND_GEN_PRODUCT_AD" | "YOUTUBE_AUDIO_AD";
|
|
25779
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25780
|
-
ad_group: string | null;
|
|
25781
|
-
}>;
|
|
25210
|
+
data: Array<GoogleAdsAd>;
|
|
25782
25211
|
};
|
|
25783
25212
|
[dataTagErrorSymbol]: GoogleListAdsError;
|
|
25784
25213
|
};
|
|
@@ -25811,30 +25240,12 @@ declare const googleGetAdQueryKey: (options: Options<GoogleGetAdData>) => [Pick<
|
|
|
25811
25240
|
*
|
|
25812
25241
|
* Returns a single ad (the `ad_group_ad` resource) by its numeric id on the connection’s account — id, name, creative type, serving status, and the owning ad group.
|
|
25813
25242
|
*/
|
|
25814
|
-
declare const googleGetAdOptions: (options: Options<GoogleGetAdData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<{
|
|
25815
|
-
id: string;
|
|
25816
|
-
name: string | null;
|
|
25817
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "TEXT_AD" | "EXPANDED_TEXT_AD" | "EXPANDED_DYNAMIC_SEARCH_AD" | "HOTEL_AD" | "SHOPPING_SMART_AD" | "SHOPPING_PRODUCT_AD" | "VIDEO_AD" | "IMAGE_AD" | "RESPONSIVE_SEARCH_AD" | "LEGACY_RESPONSIVE_DISPLAY_AD" | "APP_AD" | "LEGACY_APP_INSTALL_AD" | "RESPONSIVE_DISPLAY_AD" | "LOCAL_AD" | "HTML5_UPLOAD_AD" | "DYNAMIC_HTML5_AD" | "APP_ENGAGEMENT_AD" | "SHOPPING_COMPARISON_LISTING_AD" | "VIDEO_BUMPER_AD" | "VIDEO_NON_SKIPPABLE_IN_STREAM_AD" | "VIDEO_TRUEVIEW_IN_STREAM_AD" | "VIDEO_RESPONSIVE_AD" | "SMART_CAMPAIGN_AD" | "CALL_AD" | "APP_PRE_REGISTRATION_AD" | "IN_FEED_VIDEO_AD" | "DEMAND_GEN_MULTI_ASSET_AD" | "DEMAND_GEN_CAROUSEL_AD" | "TRAVEL_AD" | "DEMAND_GEN_VIDEO_RESPONSIVE_AD" | "DEMAND_GEN_PRODUCT_AD" | "YOUTUBE_AUDIO_AD";
|
|
25818
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25819
|
-
ad_group: string | null;
|
|
25820
|
-
}, GoogleGetAdError, {
|
|
25821
|
-
id: string;
|
|
25822
|
-
name: string | null;
|
|
25823
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "TEXT_AD" | "EXPANDED_TEXT_AD" | "EXPANDED_DYNAMIC_SEARCH_AD" | "HOTEL_AD" | "SHOPPING_SMART_AD" | "SHOPPING_PRODUCT_AD" | "VIDEO_AD" | "IMAGE_AD" | "RESPONSIVE_SEARCH_AD" | "LEGACY_RESPONSIVE_DISPLAY_AD" | "APP_AD" | "LEGACY_APP_INSTALL_AD" | "RESPONSIVE_DISPLAY_AD" | "LOCAL_AD" | "HTML5_UPLOAD_AD" | "DYNAMIC_HTML5_AD" | "APP_ENGAGEMENT_AD" | "SHOPPING_COMPARISON_LISTING_AD" | "VIDEO_BUMPER_AD" | "VIDEO_NON_SKIPPABLE_IN_STREAM_AD" | "VIDEO_TRUEVIEW_IN_STREAM_AD" | "VIDEO_RESPONSIVE_AD" | "SMART_CAMPAIGN_AD" | "CALL_AD" | "APP_PRE_REGISTRATION_AD" | "IN_FEED_VIDEO_AD" | "DEMAND_GEN_MULTI_ASSET_AD" | "DEMAND_GEN_CAROUSEL_AD" | "TRAVEL_AD" | "DEMAND_GEN_VIDEO_RESPONSIVE_AD" | "DEMAND_GEN_PRODUCT_AD" | "YOUTUBE_AUDIO_AD";
|
|
25824
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25825
|
-
ad_group: string | null;
|
|
25826
|
-
}, [Pick<Options<GoogleGetAdData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
25243
|
+
declare const googleGetAdOptions: (options: Options<GoogleGetAdData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<GoogleAdsAd, GoogleGetAdError, GoogleAdsAd, [Pick<Options<GoogleGetAdData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
25827
25244
|
_id: string;
|
|
25828
25245
|
_infinite?: boolean;
|
|
25829
25246
|
tags?: ReadonlyArray<string>;
|
|
25830
25247
|
}]>, "queryFn"> & {
|
|
25831
|
-
queryFn?: _tanstack_react_query.QueryFunction<{
|
|
25832
|
-
id: string;
|
|
25833
|
-
name: string | null;
|
|
25834
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "TEXT_AD" | "EXPANDED_TEXT_AD" | "EXPANDED_DYNAMIC_SEARCH_AD" | "HOTEL_AD" | "SHOPPING_SMART_AD" | "SHOPPING_PRODUCT_AD" | "VIDEO_AD" | "IMAGE_AD" | "RESPONSIVE_SEARCH_AD" | "LEGACY_RESPONSIVE_DISPLAY_AD" | "APP_AD" | "LEGACY_APP_INSTALL_AD" | "RESPONSIVE_DISPLAY_AD" | "LOCAL_AD" | "HTML5_UPLOAD_AD" | "DYNAMIC_HTML5_AD" | "APP_ENGAGEMENT_AD" | "SHOPPING_COMPARISON_LISTING_AD" | "VIDEO_BUMPER_AD" | "VIDEO_NON_SKIPPABLE_IN_STREAM_AD" | "VIDEO_TRUEVIEW_IN_STREAM_AD" | "VIDEO_RESPONSIVE_AD" | "SMART_CAMPAIGN_AD" | "CALL_AD" | "APP_PRE_REGISTRATION_AD" | "IN_FEED_VIDEO_AD" | "DEMAND_GEN_MULTI_ASSET_AD" | "DEMAND_GEN_CAROUSEL_AD" | "TRAVEL_AD" | "DEMAND_GEN_VIDEO_RESPONSIVE_AD" | "DEMAND_GEN_PRODUCT_AD" | "YOUTUBE_AUDIO_AD";
|
|
25835
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25836
|
-
ad_group: string | null;
|
|
25837
|
-
}, [Pick<Options<GoogleGetAdData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
25248
|
+
queryFn?: _tanstack_react_query.QueryFunction<GoogleAdsAd, [Pick<Options<GoogleGetAdData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
25838
25249
|
_id: string;
|
|
25839
25250
|
_infinite?: boolean;
|
|
25840
25251
|
tags?: ReadonlyArray<string>;
|
|
@@ -25845,13 +25256,7 @@ declare const googleGetAdOptions: (options: Options<GoogleGetAdData>) => _tansta
|
|
|
25845
25256
|
_infinite?: boolean;
|
|
25846
25257
|
tags?: ReadonlyArray<string>;
|
|
25847
25258
|
}] & {
|
|
25848
|
-
[dataTagSymbol]:
|
|
25849
|
-
id: string;
|
|
25850
|
-
name: string | null;
|
|
25851
|
-
type: "UNSPECIFIED" | "UNKNOWN" | "TEXT_AD" | "EXPANDED_TEXT_AD" | "EXPANDED_DYNAMIC_SEARCH_AD" | "HOTEL_AD" | "SHOPPING_SMART_AD" | "SHOPPING_PRODUCT_AD" | "VIDEO_AD" | "IMAGE_AD" | "RESPONSIVE_SEARCH_AD" | "LEGACY_RESPONSIVE_DISPLAY_AD" | "APP_AD" | "LEGACY_APP_INSTALL_AD" | "RESPONSIVE_DISPLAY_AD" | "LOCAL_AD" | "HTML5_UPLOAD_AD" | "DYNAMIC_HTML5_AD" | "APP_ENGAGEMENT_AD" | "SHOPPING_COMPARISON_LISTING_AD" | "VIDEO_BUMPER_AD" | "VIDEO_NON_SKIPPABLE_IN_STREAM_AD" | "VIDEO_TRUEVIEW_IN_STREAM_AD" | "VIDEO_RESPONSIVE_AD" | "SMART_CAMPAIGN_AD" | "CALL_AD" | "APP_PRE_REGISTRATION_AD" | "IN_FEED_VIDEO_AD" | "DEMAND_GEN_MULTI_ASSET_AD" | "DEMAND_GEN_CAROUSEL_AD" | "TRAVEL_AD" | "DEMAND_GEN_VIDEO_RESPONSIVE_AD" | "DEMAND_GEN_PRODUCT_AD" | "YOUTUBE_AUDIO_AD";
|
|
25852
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25853
|
-
ad_group: string | null;
|
|
25854
|
-
};
|
|
25259
|
+
[dataTagSymbol]: GoogleAdsAd;
|
|
25855
25260
|
[dataTagErrorSymbol]: GoogleGetAdError;
|
|
25856
25261
|
};
|
|
25857
25262
|
};
|
|
@@ -25889,28 +25294,14 @@ declare const googleListKeywordsQueryKey: (options: Options<GoogleListKeywordsDa
|
|
|
25889
25294
|
*
|
|
25890
25295
|
* **Authentication.** Secret `pr_` API key, or a browser-safe frontend token granting `ads:read` scoped to the profile that owns the connection.
|
|
25891
25296
|
*
|
|
25892
|
-
* Lists the keywords (`ad_group_criterion` of type KEYWORD) in the connection’s account — each with its criterion id, text, match type, status, negative flag, and owning ad group.
|
|
25297
|
+
* Lists the keywords (`ad_group_criterion` of type KEYWORD) in the connection’s account — each with its criterion id, text, match type, status, negative flag, and owning ad group. Pass `ad_group_id` to return only the keywords under one ad group.
|
|
25893
25298
|
*/
|
|
25894
25299
|
declare const googleListKeywordsOptions: (options: Options<GoogleListKeywordsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<{
|
|
25895
25300
|
object: "list";
|
|
25896
|
-
data: Array<
|
|
25897
|
-
id: string;
|
|
25898
|
-
text: string | null;
|
|
25899
|
-
match_type: "UNSPECIFIED" | "UNKNOWN" | "EXACT" | "PHRASE" | "BROAD";
|
|
25900
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25901
|
-
negative: boolean;
|
|
25902
|
-
ad_group: string | null;
|
|
25903
|
-
}>;
|
|
25301
|
+
data: Array<GoogleAdsKeyword>;
|
|
25904
25302
|
}, GoogleListKeywordsError, {
|
|
25905
25303
|
object: "list";
|
|
25906
|
-
data: Array<
|
|
25907
|
-
id: string;
|
|
25908
|
-
text: string | null;
|
|
25909
|
-
match_type: "UNSPECIFIED" | "UNKNOWN" | "EXACT" | "PHRASE" | "BROAD";
|
|
25910
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25911
|
-
negative: boolean;
|
|
25912
|
-
ad_group: string | null;
|
|
25913
|
-
}>;
|
|
25304
|
+
data: Array<GoogleAdsKeyword>;
|
|
25914
25305
|
}, [Pick<Options<GoogleListKeywordsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
25915
25306
|
_id: string;
|
|
25916
25307
|
_infinite?: boolean;
|
|
@@ -25918,14 +25309,7 @@ declare const googleListKeywordsOptions: (options: Options<GoogleListKeywordsDat
|
|
|
25918
25309
|
}]>, "queryFn"> & {
|
|
25919
25310
|
queryFn?: _tanstack_react_query.QueryFunction<{
|
|
25920
25311
|
object: "list";
|
|
25921
|
-
data: Array<
|
|
25922
|
-
id: string;
|
|
25923
|
-
text: string | null;
|
|
25924
|
-
match_type: "UNSPECIFIED" | "UNKNOWN" | "EXACT" | "PHRASE" | "BROAD";
|
|
25925
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25926
|
-
negative: boolean;
|
|
25927
|
-
ad_group: string | null;
|
|
25928
|
-
}>;
|
|
25312
|
+
data: Array<GoogleAdsKeyword>;
|
|
25929
25313
|
}, [Pick<Options<GoogleListKeywordsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
25930
25314
|
_id: string;
|
|
25931
25315
|
_infinite?: boolean;
|
|
@@ -25939,14 +25323,7 @@ declare const googleListKeywordsOptions: (options: Options<GoogleListKeywordsDat
|
|
|
25939
25323
|
}] & {
|
|
25940
25324
|
[dataTagSymbol]: {
|
|
25941
25325
|
object: "list";
|
|
25942
|
-
data: Array<
|
|
25943
|
-
id: string;
|
|
25944
|
-
text: string | null;
|
|
25945
|
-
match_type: "UNSPECIFIED" | "UNKNOWN" | "EXACT" | "PHRASE" | "BROAD";
|
|
25946
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25947
|
-
negative: boolean;
|
|
25948
|
-
ad_group: string | null;
|
|
25949
|
-
}>;
|
|
25326
|
+
data: Array<GoogleAdsKeyword>;
|
|
25950
25327
|
};
|
|
25951
25328
|
[dataTagErrorSymbol]: GoogleListKeywordsError;
|
|
25952
25329
|
};
|
|
@@ -25979,33 +25356,12 @@ declare const googleGetKeywordQueryKey: (options: Options<GoogleGetKeywordData>)
|
|
|
25979
25356
|
*
|
|
25980
25357
|
* Returns one keyword (`ad_group_criterion` of type KEYWORD) by its criterion id, from the connection’s account — text, match type, status, negative flag, and owning ad group.
|
|
25981
25358
|
*/
|
|
25982
|
-
declare const googleGetKeywordOptions: (options: Options<GoogleGetKeywordData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<{
|
|
25983
|
-
id: string;
|
|
25984
|
-
text: string | null;
|
|
25985
|
-
match_type: "UNSPECIFIED" | "UNKNOWN" | "EXACT" | "PHRASE" | "BROAD";
|
|
25986
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25987
|
-
negative: boolean;
|
|
25988
|
-
ad_group: string | null;
|
|
25989
|
-
}, GoogleGetKeywordError, {
|
|
25990
|
-
id: string;
|
|
25991
|
-
text: string | null;
|
|
25992
|
-
match_type: "UNSPECIFIED" | "UNKNOWN" | "EXACT" | "PHRASE" | "BROAD";
|
|
25993
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
25994
|
-
negative: boolean;
|
|
25995
|
-
ad_group: string | null;
|
|
25996
|
-
}, [Pick<Options<GoogleGetKeywordData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
25359
|
+
declare const googleGetKeywordOptions: (options: Options<GoogleGetKeywordData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<GoogleAdsKeyword, GoogleGetKeywordError, GoogleAdsKeyword, [Pick<Options<GoogleGetKeywordData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
25997
25360
|
_id: string;
|
|
25998
25361
|
_infinite?: boolean;
|
|
25999
25362
|
tags?: ReadonlyArray<string>;
|
|
26000
25363
|
}]>, "queryFn"> & {
|
|
26001
|
-
queryFn?: _tanstack_react_query.QueryFunction<{
|
|
26002
|
-
id: string;
|
|
26003
|
-
text: string | null;
|
|
26004
|
-
match_type: "UNSPECIFIED" | "UNKNOWN" | "EXACT" | "PHRASE" | "BROAD";
|
|
26005
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
26006
|
-
negative: boolean;
|
|
26007
|
-
ad_group: string | null;
|
|
26008
|
-
}, [Pick<Options<GoogleGetKeywordData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
25364
|
+
queryFn?: _tanstack_react_query.QueryFunction<GoogleAdsKeyword, [Pick<Options<GoogleGetKeywordData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
26009
25365
|
_id: string;
|
|
26010
25366
|
_infinite?: boolean;
|
|
26011
25367
|
tags?: ReadonlyArray<string>;
|
|
@@ -26016,14 +25372,7 @@ declare const googleGetKeywordOptions: (options: Options<GoogleGetKeywordData>)
|
|
|
26016
25372
|
_infinite?: boolean;
|
|
26017
25373
|
tags?: ReadonlyArray<string>;
|
|
26018
25374
|
}] & {
|
|
26019
|
-
[dataTagSymbol]:
|
|
26020
|
-
id: string;
|
|
26021
|
-
text: string | null;
|
|
26022
|
-
match_type: "UNSPECIFIED" | "UNKNOWN" | "EXACT" | "PHRASE" | "BROAD";
|
|
26023
|
-
status: "UNSPECIFIED" | "UNKNOWN" | "ENABLED" | "PAUSED" | "REMOVED";
|
|
26024
|
-
negative: boolean;
|
|
26025
|
-
ad_group: string | null;
|
|
26026
|
-
};
|
|
25375
|
+
[dataTagSymbol]: GoogleAdsKeyword;
|
|
26027
25376
|
[dataTagErrorSymbol]: GoogleGetKeywordError;
|
|
26028
25377
|
};
|
|
26029
25378
|
};
|