google-ads-api 25.1.0-beta.0 → 25.1.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/README.md +9 -1
- package/build/cjs/protos/autogen/enums.d.ts +1188 -1188
- package/build/cjs/protos/autogen/enums.js +1188 -1188
- package/build/cjs/protos/autogen/fields.js +478 -2
- package/build/cjs/protos/autogen/resourceNames.d.ts +1090 -1090
- package/build/cjs/protos/autogen/resourceNames.js +1857 -1473
- package/build/cjs/protos/autogen/serviceFactory.js +218 -218
- package/build/cjs/service.js +2 -2
- package/build/esm/protos/autogen/enums.d.ts +1188 -1188
- package/build/esm/protos/autogen/enums.js +1188 -1188
- package/build/esm/protos/autogen/fields.js +478 -2
- package/build/esm/protos/autogen/resourceNames.d.ts +1090 -1090
- package/build/esm/protos/autogen/resourceNames.js +1857 -1473
- package/build/esm/protos/autogen/serviceFactory.js +218 -218
- package/build/esm/service.js +2 -2
- package/package.json +6 -4
|
@@ -194,1476 +194,1860 @@ exports.videoEnhancement = videoEnhancement;
|
|
|
194
194
|
exports.webpageView = webpageView;
|
|
195
195
|
exports.youTubeVideoUpload = youTubeVideoUpload;
|
|
196
196
|
/**
|
|
197
|
-
* @param {string | number} customerId
|
|
198
|
-
* @param {string | number} biddingStrategyId
|
|
199
|
-
* @returns `AccessibleBiddingStrategyResourceName`
|
|
200
|
-
* @example const accessibleBiddingStrategy: ResourceNames.AccessibleBiddingStrategyResourceName = ResourceNames.accessibleBiddingStrategy(10987417, 21974834)
|
|
201
|
-
*/
|
|
202
|
-
function accessibleBiddingStrategy(customerId, biddingStrategyId) {
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
* @
|
|
207
|
-
* @
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
* @
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
* @param {string | number}
|
|
226
|
-
* @
|
|
227
|
-
* @
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
* @param {string | number}
|
|
234
|
-
* @
|
|
235
|
-
* @
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
* @
|
|
243
|
-
* @
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
* @param {string | number}
|
|
252
|
-
* @
|
|
253
|
-
* @
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
* @param {string | number}
|
|
262
|
-
* @
|
|
263
|
-
* @
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
* @
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
* @param {string | number}
|
|
277
|
-
* @param {string | number}
|
|
278
|
-
* @
|
|
279
|
-
* @
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
/**
|
|
285
|
-
* @param {string | number} customerId
|
|
286
|
-
* @param {string | number} adGroupId
|
|
287
|
-
* @param {string | number}
|
|
288
|
-
* @
|
|
289
|
-
* @
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
* @
|
|
297
|
-
* @
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
* @
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
* @param {string | number}
|
|
310
|
-
* @
|
|
311
|
-
* @
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
/**
|
|
317
|
-
* @param {string | number} customerId
|
|
318
|
-
* @param {string | number} adGroupId
|
|
319
|
-
* @param {string | number} criterionId
|
|
320
|
-
* @
|
|
321
|
-
* @
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
* @param {string | number}
|
|
328
|
-
* @param {string | number}
|
|
329
|
-
* @param {string | number}
|
|
330
|
-
* @returns `
|
|
331
|
-
* @example const
|
|
332
|
-
*/
|
|
333
|
-
function
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
* @param {string | number}
|
|
338
|
-
* @param {string | number}
|
|
339
|
-
* @param {string | number}
|
|
340
|
-
* @
|
|
341
|
-
* @
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
/**
|
|
347
|
-
* @param {string | number} customerId
|
|
348
|
-
* @param {string | number} adGroupId
|
|
349
|
-
* @param {string | number}
|
|
350
|
-
* @
|
|
351
|
-
* @
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
* @
|
|
359
|
-
* @
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
* @
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
* @
|
|
370
|
-
* @
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
* @param {string | number}
|
|
375
|
-
* @param {string | number}
|
|
376
|
-
* @
|
|
377
|
-
* @
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
/**
|
|
383
|
-
* @param {string | number} customerId
|
|
384
|
-
* @param {string | number}
|
|
385
|
-
* @param {string | number}
|
|
386
|
-
* @returns `
|
|
387
|
-
* @example const
|
|
388
|
-
*/
|
|
389
|
-
function
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
* @param {string | number}
|
|
394
|
-
* @
|
|
395
|
-
* @
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
* @param {string | number}
|
|
404
|
-
* @
|
|
405
|
-
* @
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
* @
|
|
410
|
-
* @
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
* @
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
* @
|
|
421
|
-
* @
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
* @param {string | number}
|
|
430
|
-
* @
|
|
431
|
-
* @
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
* @param {string | number}
|
|
440
|
-
* @
|
|
441
|
-
* @
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
* @param {string | number}
|
|
449
|
-
* @param {string | number}
|
|
450
|
-
* @
|
|
451
|
-
* @
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
* @param {string | number}
|
|
463
|
-
* @param {string | number}
|
|
464
|
-
* @
|
|
465
|
-
* @
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
* @
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
* @
|
|
477
|
-
* @
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
* @param {string | number}
|
|
486
|
-
* @param {string | number}
|
|
487
|
-
* @param {string | number}
|
|
488
|
-
* @returns `
|
|
489
|
-
* @example const
|
|
490
|
-
*/
|
|
491
|
-
function
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
* @param {string | number}
|
|
496
|
-
* @
|
|
497
|
-
* @
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
* @
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
* @
|
|
518
|
-
* @
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
/**
|
|
524
|
-
* @param {string | number} customerId
|
|
525
|
-
* @param {string | number}
|
|
526
|
-
* @
|
|
527
|
-
* @
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
* @param {string | number}
|
|
534
|
-
* @
|
|
535
|
-
* @
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
* @
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
* @
|
|
547
|
-
* @
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
/**
|
|
553
|
-
* @param {string | number} customerId
|
|
554
|
-
* @param {string | number}
|
|
555
|
-
* @
|
|
556
|
-
* @
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
* @
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
* @
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
* @param {string | number}
|
|
575
|
-
* @param {string | number}
|
|
576
|
-
* @
|
|
577
|
-
* @
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
* @param {string | number}
|
|
586
|
-
* @
|
|
587
|
-
* @
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
* @param {string | number}
|
|
594
|
-
* @
|
|
595
|
-
* @
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
* @
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
* @
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
* @
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
* @
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
* @
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
* @
|
|
642
|
-
* @
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
* @param {string | number}
|
|
650
|
-
* @
|
|
651
|
-
* @
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
* @param {string | number}
|
|
658
|
-
* @param {string | number}
|
|
659
|
-
* @
|
|
660
|
-
* @
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
* @param {string | number}
|
|
667
|
-
* @param {string | number}
|
|
668
|
-
* @
|
|
669
|
-
* @
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
* @
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
* @
|
|
682
|
-
* @
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
* @param {string | number}
|
|
690
|
-
* @
|
|
691
|
-
* @
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
/**
|
|
697
|
-
* @param {string | number} customerId
|
|
698
|
-
* @param {string | number}
|
|
699
|
-
* @returns `
|
|
700
|
-
* @example const
|
|
701
|
-
*/
|
|
702
|
-
function
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
* @param {string | number}
|
|
707
|
-
* @
|
|
708
|
-
* @
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
* @
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
* @param {string | number}
|
|
721
|
-
* @param {string | number}
|
|
722
|
-
* @
|
|
723
|
-
* @
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
* @param {string | number}
|
|
730
|
-
* @param {string | number}
|
|
731
|
-
* @
|
|
732
|
-
* @
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
* @param {string | number}
|
|
740
|
-
* @param {string | number}
|
|
741
|
-
* @param {string | number}
|
|
742
|
-
* @returns `
|
|
743
|
-
* @example const
|
|
744
|
-
*/
|
|
745
|
-
function
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
* @
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
* @
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
/**
|
|
759
|
-
* @param {string | number} customerId
|
|
760
|
-
* @param {string | number}
|
|
761
|
-
* @
|
|
762
|
-
* @
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
/**
|
|
768
|
-
* @param {string | number} customerId
|
|
769
|
-
* @param {string | number}
|
|
770
|
-
* @
|
|
771
|
-
* @
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
* @param {string | number}
|
|
780
|
-
* @
|
|
781
|
-
* @
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
* @
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
* @
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
* @param {string | number}
|
|
801
|
-
* @param {string | number}
|
|
802
|
-
* @
|
|
803
|
-
* @
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
* @param {string | number}
|
|
810
|
-
* @
|
|
811
|
-
* @
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
* @
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
* @param {string | number}
|
|
830
|
-
* @param {string | number}
|
|
831
|
-
* @returns `
|
|
832
|
-
* @example const
|
|
833
|
-
*/
|
|
834
|
-
function
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
* @
|
|
839
|
-
* @
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
* @param {string | number}
|
|
850
|
-
* @param {string | number}
|
|
851
|
-
* @returns `
|
|
852
|
-
* @example const
|
|
853
|
-
*/
|
|
854
|
-
function
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
* @
|
|
859
|
-
* @
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
* @param {string | number}
|
|
871
|
-
* @
|
|
872
|
-
* @
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
* @
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
* @param {string | number}
|
|
899
|
-
* @param {string | number}
|
|
900
|
-
* @param {string | number}
|
|
901
|
-
* @returns `
|
|
902
|
-
* @example const
|
|
903
|
-
*/
|
|
904
|
-
function
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
* @param {string | number}
|
|
909
|
-
* @
|
|
910
|
-
* @
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
* @
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
* @param {string | number}
|
|
922
|
-
* @
|
|
923
|
-
* @
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
* @param {string | number}
|
|
930
|
-
* @param {string | number}
|
|
931
|
-
* @
|
|
932
|
-
* @
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
* @
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
* @param {string | number}
|
|
951
|
-
* @
|
|
952
|
-
* @
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
* @param {string | number}
|
|
959
|
-
* @
|
|
960
|
-
* @
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
* @
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
* @
|
|
979
|
-
* @
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
* @param {string | number}
|
|
987
|
-
* @
|
|
988
|
-
* @
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
* @param {string | number}
|
|
995
|
-
* @param {string | number}
|
|
996
|
-
* @returns `
|
|
997
|
-
* @example const
|
|
998
|
-
*/
|
|
999
|
-
function
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
* @
|
|
1004
|
-
* @
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
* @
|
|
1012
|
-
* @
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
* @
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
* @
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
* @param {string | number}
|
|
1039
|
-
* @returns `
|
|
1040
|
-
* @example const
|
|
1041
|
-
*/
|
|
1042
|
-
function
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
* @
|
|
1047
|
-
* @
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
* @
|
|
1059
|
-
* @
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
* @param {string | number}
|
|
1067
|
-
* @
|
|
1068
|
-
* @
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
* @param {string | number}
|
|
1077
|
-
* @
|
|
1078
|
-
* @
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
/**
|
|
1084
|
-
* @param {string | number}
|
|
1085
|
-
* @
|
|
1086
|
-
* @
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
* @
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
* @
|
|
1106
|
-
* @
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
* @param {string | number}
|
|
1113
|
-
* @
|
|
1114
|
-
* @
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
* @
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
* @
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
/**
|
|
1140
|
-
* @param {string | number} customerId
|
|
1141
|
-
* @param {string | number}
|
|
1142
|
-
* @returns `
|
|
1143
|
-
* @example const
|
|
1144
|
-
*/
|
|
1145
|
-
function
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
* @param {string | number}
|
|
1150
|
-
* @
|
|
1151
|
-
* @
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
* @
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
* @
|
|
1170
|
-
* @
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
/**
|
|
1176
|
-
* @param {string | number} customerId
|
|
1177
|
-
* @param {string | number}
|
|
1178
|
-
* @
|
|
1179
|
-
* @
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
* @
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
* @param {string | number}
|
|
1198
|
-
* @
|
|
1199
|
-
* @
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
* @param {string | number}
|
|
1206
|
-
* @param {string | number}
|
|
1207
|
-
* @returns `
|
|
1208
|
-
* @example const
|
|
1209
|
-
*/
|
|
1210
|
-
function
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
* @
|
|
1215
|
-
* @
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
* @param {string | number}
|
|
1227
|
-
* @returns `
|
|
1228
|
-
* @example const
|
|
1229
|
-
*/
|
|
1230
|
-
function
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
* @
|
|
1235
|
-
* @
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
* @
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
* @param {string | number}
|
|
1247
|
-
* @param {string | number}
|
|
1248
|
-
* @param {string | number}
|
|
1249
|
-
* @param {string | number}
|
|
1250
|
-
* @
|
|
1251
|
-
* @
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
* @
|
|
1259
|
-
* @
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
* @
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
* @
|
|
1280
|
-
* @
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
* @param {string | number}
|
|
1288
|
-
* @param {string | number}
|
|
1289
|
-
* @param {string | number}
|
|
1290
|
-
* @param {string | number}
|
|
1291
|
-
* @returns `
|
|
1292
|
-
* @example const
|
|
1293
|
-
*/
|
|
1294
|
-
function
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
* @param {string | number}
|
|
1299
|
-
* @param {string | number}
|
|
1300
|
-
* @
|
|
1301
|
-
* @
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
* @
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
* @
|
|
1320
|
-
* @
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
/**
|
|
1326
|
-
* @param {string | number} customerId
|
|
1327
|
-
* @param {string | number}
|
|
1328
|
-
* @returns `
|
|
1329
|
-
* @example const
|
|
1330
|
-
*/
|
|
1331
|
-
function
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
* @param {string | number}
|
|
1336
|
-
* @
|
|
1337
|
-
* @
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
* @param {string | number}
|
|
1344
|
-
* @param {string | number}
|
|
1345
|
-
* @returns `
|
|
1346
|
-
* @example const
|
|
1347
|
-
*/
|
|
1348
|
-
function
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
* @param {string | number}
|
|
1353
|
-
* @
|
|
1354
|
-
* @
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
* @
|
|
1366
|
-
* @
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
/**
|
|
1372
|
-
* @param {string | number}
|
|
1373
|
-
* @returns `
|
|
1374
|
-
* @example const
|
|
1375
|
-
*/
|
|
1376
|
-
function
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
* @
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
* @param {string | number}
|
|
1392
|
-
* @
|
|
1393
|
-
* @
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
* @param {string | number}
|
|
1400
|
-
* @param {string | number}
|
|
1401
|
-
* @returns `
|
|
1402
|
-
* @example const
|
|
1403
|
-
*/
|
|
1404
|
-
function
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
* @
|
|
1409
|
-
* @
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
* @
|
|
1420
|
-
* @
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
* @
|
|
1429
|
-
* @
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
* @param {string | number}
|
|
1437
|
-
* @
|
|
1438
|
-
* @
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
* @param {string | number}
|
|
1445
|
-
* @
|
|
1446
|
-
* @
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
* @
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
* @param {string | number}
|
|
1465
|
-
* @
|
|
1466
|
-
* @
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
/**
|
|
1472
|
-
* @param {string | number} customerId
|
|
1473
|
-
* @param {string | number}
|
|
1474
|
-
* @returns `
|
|
1475
|
-
* @example const
|
|
1476
|
-
*/
|
|
1477
|
-
function
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
* @
|
|
1482
|
-
* @
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
* @
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
* @param {string | number}
|
|
1500
|
-
* @
|
|
1501
|
-
* @
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
* @param {string | number}
|
|
1508
|
-
* @
|
|
1509
|
-
* @
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
* @param {string | number}
|
|
1517
|
-
* @
|
|
1518
|
-
* @
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
* @
|
|
1531
|
-
* @
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
/**
|
|
1537
|
-
* @param {string | number} customerId
|
|
1538
|
-
* @
|
|
1539
|
-
* @
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
* @param {string | number}
|
|
1547
|
-
* @param {string | number}
|
|
1548
|
-
* @param {string | number}
|
|
1549
|
-
* @
|
|
1550
|
-
* @
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
* @
|
|
1558
|
-
* @
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
* @param {string | number}
|
|
1570
|
-
* @param {string | number}
|
|
1571
|
-
* @
|
|
1572
|
-
* @
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
* @param {string | number}
|
|
1579
|
-
* @
|
|
1580
|
-
* @
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
* @param {string | number}
|
|
1591
|
-
* @
|
|
1592
|
-
* @
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
/**
|
|
1598
|
-
* @param {string | number} customerId
|
|
1599
|
-
* @param {string | number}
|
|
1600
|
-
* @
|
|
1601
|
-
* @
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
* @
|
|
1608
|
-
* @
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
* @
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
* @param {string | number}
|
|
1627
|
-
* @param {string | number}
|
|
1628
|
-
* @param {string | number}
|
|
1629
|
-
* @returns `
|
|
1630
|
-
* @example const
|
|
1631
|
-
*/
|
|
1632
|
-
function
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
* @param {string | number}
|
|
1637
|
-
* @
|
|
1638
|
-
* @
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
* @
|
|
1650
|
-
* @
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
/**
|
|
1656
|
-
* @param {string | number} customerId
|
|
1657
|
-
* @param {string | number}
|
|
1658
|
-
* @
|
|
1659
|
-
* @
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
* @param {string | number}
|
|
1666
|
-
* @
|
|
1667
|
-
* @
|
|
1668
|
-
|
|
1669
|
-
|
|
197
|
+
* @param {string | number} customerId
|
|
198
|
+
* @param {string | number} biddingStrategyId
|
|
199
|
+
* @returns `AccessibleBiddingStrategyResourceName`
|
|
200
|
+
* @example const accessibleBiddingStrategy: ResourceNames.AccessibleBiddingStrategyResourceName = ResourceNames.accessibleBiddingStrategy(10987417, 21974834)
|
|
201
|
+
*/
|
|
202
|
+
function accessibleBiddingStrategy(customerId, biddingStrategyId) {
|
|
203
|
+
return `customers/${customerId}/accessibleBiddingStrategies/${biddingStrategyId}`;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* @param {string | number} customerId
|
|
207
|
+
* @param {string | number} accountBudgetId
|
|
208
|
+
* @returns `AccountBudgetResourceName`
|
|
209
|
+
* @example const accountBudget: ResourceNames.AccountBudgetResourceName = ResourceNames.accountBudget(10987417, 21974834)
|
|
210
|
+
*/
|
|
211
|
+
function accountBudget(customerId, accountBudgetId) {
|
|
212
|
+
return `customers/${customerId}/accountBudgets/${accountBudgetId}`;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* @param {string | number} customerId
|
|
216
|
+
* @param {string | number} accountBudgetProposalId
|
|
217
|
+
* @returns `AccountBudgetProposalResourceName`
|
|
218
|
+
* @example const accountBudgetProposal: ResourceNames.AccountBudgetProposalResourceName = ResourceNames.accountBudgetProposal(10987417, 21974834)
|
|
219
|
+
*/
|
|
220
|
+
function accountBudgetProposal(customerId, accountBudgetProposalId) {
|
|
221
|
+
return `customers/${customerId}/accountBudgetProposals/${accountBudgetProposalId}`;
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* @param {string | number} customerId
|
|
225
|
+
* @param {string | number} accountLinkId
|
|
226
|
+
* @returns `AccountLinkResourceName`
|
|
227
|
+
* @example const accountLink: ResourceNames.AccountLinkResourceName = ResourceNames.accountLink(10987417, 21974834)
|
|
228
|
+
*/
|
|
229
|
+
function accountLink(customerId, accountLinkId) {
|
|
230
|
+
return `customers/${customerId}/accountLinks/${accountLinkId}`;
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* @param {string | number} customerId
|
|
234
|
+
* @param {string | number} adId
|
|
235
|
+
* @returns `AdResourceName`
|
|
236
|
+
* @example const ad: ResourceNames.AdResourceName = ResourceNames.ad(10987417, 21974834)
|
|
237
|
+
*/
|
|
238
|
+
function ad(customerId, adId) {
|
|
239
|
+
return `customers/${customerId}/ads/${adId}`;
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* @param {string | number} customerId
|
|
243
|
+
* @param {string | number} adGroupId
|
|
244
|
+
* @returns `AdGroupResourceName`
|
|
245
|
+
* @example const adGroup: ResourceNames.AdGroupResourceName = ResourceNames.adGroup(10987417, 21974834)
|
|
246
|
+
*/
|
|
247
|
+
function adGroup(customerId, adGroupId) {
|
|
248
|
+
return `customers/${customerId}/adGroups/${adGroupId}`;
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* @param {string | number} customerId
|
|
252
|
+
* @param {string | number} adGroupId
|
|
253
|
+
* @param {string | number} adId
|
|
254
|
+
* @returns `AdGroupAdResourceName`
|
|
255
|
+
* @example const adGroupAd: ResourceNames.AdGroupAdResourceName = ResourceNames.adGroupAd(10987417, 21974834, 43949668)
|
|
256
|
+
*/
|
|
257
|
+
function adGroupAd(customerId, adGroupId, adId) {
|
|
258
|
+
return `customers/${customerId}/adGroupAds/${adGroupId}~${adId}`;
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* @param {string | number} customerId
|
|
262
|
+
* @param {string | number} adGroupId
|
|
263
|
+
* @param {string | number} adId
|
|
264
|
+
* @param {string | number} assetCombinationIdLow
|
|
265
|
+
* @param {string | number} assetCombinationIdHigh
|
|
266
|
+
* @returns `AdGroupAdAssetCombinationViewResourceName`
|
|
267
|
+
* @example const adGroupAdAssetCombinationView: ResourceNames.AdGroupAdAssetCombinationViewResourceName = ResourceNames.adGroupAdAssetCombinationView(10987417, 21974834, 43949668, 87899336, 175798672)
|
|
268
|
+
*/
|
|
269
|
+
function adGroupAdAssetCombinationView(customerId, adGroupId, adId, assetCombinationIdLow, assetCombinationIdHigh) {
|
|
270
|
+
return `customers/${customerId}/adGroupAdAssetCombinationViews/${adGroupId}~${adId}~${assetCombinationIdLow}~${assetCombinationIdHigh}`;
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* @param {string | number} customerId
|
|
274
|
+
* @param {string | number} adGroupId
|
|
275
|
+
* @param {string | number} adId
|
|
276
|
+
* @param {string | number} assetId
|
|
277
|
+
* @param {string | number} fieldType
|
|
278
|
+
* @returns `AdGroupAdAssetViewResourceName`
|
|
279
|
+
* @example const adGroupAdAssetView: ResourceNames.AdGroupAdAssetViewResourceName = ResourceNames.adGroupAdAssetView(10987417, 21974834, 43949668, 87899336, 175798672)
|
|
280
|
+
*/
|
|
281
|
+
function adGroupAdAssetView(customerId, adGroupId, adId, assetId, fieldType) {
|
|
282
|
+
return `customers/${customerId}/adGroupAdAssetViews/${adGroupId}~${adId}~${assetId}~${fieldType}`;
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* @param {string | number} customerId
|
|
286
|
+
* @param {string | number} adGroupId
|
|
287
|
+
* @param {string | number} adId
|
|
288
|
+
* @param {string | number} labelId
|
|
289
|
+
* @returns `AdGroupAdLabelResourceName`
|
|
290
|
+
* @example const adGroupAdLabel: ResourceNames.AdGroupAdLabelResourceName = ResourceNames.adGroupAdLabel(10987417, 21974834, 43949668, 87899336)
|
|
291
|
+
*/
|
|
292
|
+
function adGroupAdLabel(customerId, adGroupId, adId, labelId) {
|
|
293
|
+
return `customers/${customerId}/adGroupAdLabels/${adGroupId}~${adId}~${labelId}`;
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* @param {string | number} customerId
|
|
297
|
+
* @param {string | number} adGroupId
|
|
298
|
+
* @param {string | number} assetId
|
|
299
|
+
* @param {string | number} fieldType
|
|
300
|
+
* @returns `AdGroupAssetResourceName`
|
|
301
|
+
* @example const adGroupAsset: ResourceNames.AdGroupAssetResourceName = ResourceNames.adGroupAsset(10987417, 21974834, 43949668, 87899336)
|
|
302
|
+
*/
|
|
303
|
+
function adGroupAsset(customerId, adGroupId, assetId, fieldType) {
|
|
304
|
+
return `customers/${customerId}/adGroupAssets/${adGroupId}~${assetId}~${fieldType}`;
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* @param {string | number} customerId
|
|
308
|
+
* @param {string | number} adGroupId
|
|
309
|
+
* @param {string | number} assetSetId
|
|
310
|
+
* @returns `AdGroupAssetSetResourceName`
|
|
311
|
+
* @example const adGroupAssetSet: ResourceNames.AdGroupAssetSetResourceName = ResourceNames.adGroupAssetSet(10987417, 21974834, 43949668)
|
|
312
|
+
*/
|
|
313
|
+
function adGroupAssetSet(customerId, adGroupId, assetSetId) {
|
|
314
|
+
return `customers/${customerId}/adGroupAssetSets/${adGroupId}~${assetSetId}`;
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* @param {string | number} customerId
|
|
318
|
+
* @param {string | number} adGroupId
|
|
319
|
+
* @param {string | number} criterionId
|
|
320
|
+
* @returns `AdGroupAudienceViewResourceName`
|
|
321
|
+
* @example const adGroupAudienceView: ResourceNames.AdGroupAudienceViewResourceName = ResourceNames.adGroupAudienceView(10987417, 21974834, 43949668)
|
|
322
|
+
*/
|
|
323
|
+
function adGroupAudienceView(customerId, adGroupId, criterionId) {
|
|
324
|
+
return `customers/${customerId}/adGroupAudienceViews/${adGroupId}~${criterionId}`;
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* @param {string | number} customerId
|
|
328
|
+
* @param {string | number} adGroupId
|
|
329
|
+
* @param {string | number} criterionId
|
|
330
|
+
* @returns `AdGroupBidModifierResourceName`
|
|
331
|
+
* @example const adGroupBidModifier: ResourceNames.AdGroupBidModifierResourceName = ResourceNames.adGroupBidModifier(10987417, 21974834, 43949668)
|
|
332
|
+
*/
|
|
333
|
+
function adGroupBidModifier(customerId, adGroupId, criterionId) {
|
|
334
|
+
return `customers/${customerId}/adGroupBidModifiers/${adGroupId}~${criterionId}`;
|
|
335
|
+
}
|
|
336
|
+
/**
|
|
337
|
+
* @param {string | number} customerId
|
|
338
|
+
* @param {string | number} adGroupId
|
|
339
|
+
* @param {string | number} criterionId
|
|
340
|
+
* @returns `AdGroupCriterionResourceName`
|
|
341
|
+
* @example const adGroupCriterion: ResourceNames.AdGroupCriterionResourceName = ResourceNames.adGroupCriterion(10987417, 21974834, 43949668)
|
|
342
|
+
*/
|
|
343
|
+
function adGroupCriterion(customerId, adGroupId, criterionId) {
|
|
344
|
+
return `customers/${customerId}/adGroupCriteria/${adGroupId}~${criterionId}`;
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
* @param {string | number} customerId
|
|
348
|
+
* @param {string | number} adGroupId
|
|
349
|
+
* @param {string | number} criterionId
|
|
350
|
+
* @param {string | number} customizerAttributeId
|
|
351
|
+
* @returns `AdGroupCriterionCustomizerResourceName`
|
|
352
|
+
* @example const adGroupCriterionCustomizer: ResourceNames.AdGroupCriterionCustomizerResourceName = ResourceNames.adGroupCriterionCustomizer(10987417, 21974834, 43949668, 87899336)
|
|
353
|
+
*/
|
|
354
|
+
function adGroupCriterionCustomizer(customerId, adGroupId, criterionId, customizerAttributeId) {
|
|
355
|
+
return `customers/${customerId}/adGroupCriterionCustomizers/${adGroupId}~${criterionId}~${customizerAttributeId}`;
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* @param {string | number} customerId
|
|
359
|
+
* @param {string | number} adGroupId
|
|
360
|
+
* @param {string | number} criterionId
|
|
361
|
+
* @param {string | number} labelId
|
|
362
|
+
* @returns `AdGroupCriterionLabelResourceName`
|
|
363
|
+
* @example const adGroupCriterionLabel: ResourceNames.AdGroupCriterionLabelResourceName = ResourceNames.adGroupCriterionLabel(10987417, 21974834, 43949668, 87899336)
|
|
364
|
+
*/
|
|
365
|
+
function adGroupCriterionLabel(customerId, adGroupId, criterionId, labelId) {
|
|
366
|
+
return `customers/${customerId}/adGroupCriterionLabels/${adGroupId}~${criterionId}~${labelId}`;
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* @param {string | number} customerId
|
|
370
|
+
* @param {string | number} adGroupId
|
|
371
|
+
* @param {string | number} criterionId
|
|
372
|
+
* @param {string | number} type
|
|
373
|
+
* @param {string | number} modificationMethod
|
|
374
|
+
* @param {string | number} startDate
|
|
375
|
+
* @param {string | number} endDate
|
|
376
|
+
* @returns `AdGroupCriterionSimulationResourceName`
|
|
377
|
+
* @example const adGroupCriterionSimulation: ResourceNames.AdGroupCriterionSimulationResourceName = ResourceNames.adGroupCriterionSimulation(10987417, 21974834, 43949668, 87899336, 175798672, 351597344, 703194688)
|
|
378
|
+
*/
|
|
379
|
+
function adGroupCriterionSimulation(customerId, adGroupId, criterionId, type, modificationMethod, startDate, endDate) {
|
|
380
|
+
return `customers/${customerId}/adGroupCriterionSimulations/${adGroupId}~${criterionId}~${type}~${modificationMethod}~${startDate}~${endDate}`;
|
|
381
|
+
}
|
|
382
|
+
/**
|
|
383
|
+
* @param {string | number} customerId
|
|
384
|
+
* @param {string | number} adGroupId
|
|
385
|
+
* @param {string | number} customizerAttributeId
|
|
386
|
+
* @returns `AdGroupCustomizerResourceName`
|
|
387
|
+
* @example const adGroupCustomizer: ResourceNames.AdGroupCustomizerResourceName = ResourceNames.adGroupCustomizer(10987417, 21974834, 43949668)
|
|
388
|
+
*/
|
|
389
|
+
function adGroupCustomizer(customerId, adGroupId, customizerAttributeId) {
|
|
390
|
+
return `customers/${customerId}/adGroupCustomizers/${adGroupId}~${customizerAttributeId}`;
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* @param {string | number} customerId
|
|
394
|
+
* @param {string | number} adGroupId
|
|
395
|
+
* @param {string | number} labelId
|
|
396
|
+
* @returns `AdGroupLabelResourceName`
|
|
397
|
+
* @example const adGroupLabel: ResourceNames.AdGroupLabelResourceName = ResourceNames.adGroupLabel(10987417, 21974834, 43949668)
|
|
398
|
+
*/
|
|
399
|
+
function adGroupLabel(customerId, adGroupId, labelId) {
|
|
400
|
+
return `customers/${customerId}/adGroupLabels/${adGroupId}~${labelId}`;
|
|
401
|
+
}
|
|
402
|
+
/**
|
|
403
|
+
* @param {string | number} customerId
|
|
404
|
+
* @param {string | number} adGroupId
|
|
405
|
+
* @param {string | number} type
|
|
406
|
+
* @param {string | number} modificationMethod
|
|
407
|
+
* @param {string | number} startDate
|
|
408
|
+
* @param {string | number} endDate
|
|
409
|
+
* @returns `AdGroupSimulationResourceName`
|
|
410
|
+
* @example const adGroupSimulation: ResourceNames.AdGroupSimulationResourceName = ResourceNames.adGroupSimulation(10987417, 21974834, 43949668, 87899336, 175798672, 351597344)
|
|
411
|
+
*/
|
|
412
|
+
function adGroupSimulation(customerId, adGroupId, type, modificationMethod, startDate, endDate) {
|
|
413
|
+
return `customers/${customerId}/adGroupSimulations/${adGroupId}~${type}~${modificationMethod}~${startDate}~${endDate}`;
|
|
414
|
+
}
|
|
415
|
+
/**
|
|
416
|
+
* @param {string | number} customerId
|
|
417
|
+
* @param {string | number} adGroupId
|
|
418
|
+
* @param {string | number} criterionId
|
|
419
|
+
* @param {string | number} parameterIndex
|
|
420
|
+
* @returns `AdParameterResourceName`
|
|
421
|
+
* @example const adParameter: ResourceNames.AdParameterResourceName = ResourceNames.adParameter(10987417, 21974834, 43949668, 87899336)
|
|
422
|
+
*/
|
|
423
|
+
function adParameter(customerId, adGroupId, criterionId, parameterIndex) {
|
|
424
|
+
return `customers/${customerId}/adParameters/${adGroupId}~${criterionId}~${parameterIndex}`;
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* @param {string | number} customerId
|
|
428
|
+
* @param {string | number} campaignId
|
|
429
|
+
* @param {string | number} criterionId
|
|
430
|
+
* @returns `AdScheduleViewResourceName`
|
|
431
|
+
* @example const adScheduleView: ResourceNames.AdScheduleViewResourceName = ResourceNames.adScheduleView(10987417, 21974834, 43949668)
|
|
432
|
+
*/
|
|
433
|
+
function adScheduleView(customerId, campaignId, criterionId) {
|
|
434
|
+
return `customers/${customerId}/adScheduleViews/${campaignId}~${criterionId}`;
|
|
435
|
+
}
|
|
436
|
+
/**
|
|
437
|
+
* @param {string | number} customerId
|
|
438
|
+
* @param {string | number} adGroupId
|
|
439
|
+
* @param {string | number} criterionId
|
|
440
|
+
* @returns `AgeRangeViewResourceName`
|
|
441
|
+
* @example const ageRangeView: ResourceNames.AgeRangeViewResourceName = ResourceNames.ageRangeView(10987417, 21974834, 43949668)
|
|
442
|
+
*/
|
|
443
|
+
function ageRangeView(customerId, adGroupId, criterionId) {
|
|
444
|
+
return `customers/${customerId}/ageRangeViews/${adGroupId}~${criterionId}`;
|
|
445
|
+
}
|
|
446
|
+
/**
|
|
447
|
+
* @param {string | number} customerId
|
|
448
|
+
* @param {string | number} adGroupId
|
|
449
|
+
* @param {string | number} searchTerm
|
|
450
|
+
* @param {string | number} landingPage
|
|
451
|
+
* @param {string | number} headline
|
|
452
|
+
* @returns `AiMaxSearchTermAdCombinationViewResourceName`
|
|
453
|
+
* @example const aiMaxSearchTermAdCombinationView: ResourceNames.AiMaxSearchTermAdCombinationViewResourceName = ResourceNames.aiMaxSearchTermAdCombinationView(10987417, 21974834, 43949668, 87899336, 175798672)
|
|
454
|
+
*/
|
|
455
|
+
function aiMaxSearchTermAdCombinationView(customerId, adGroupId, searchTerm, landingPage, headline) {
|
|
456
|
+
return `customers/${customerId}/aiMaxSearchTermAdCombinationViews/${adGroupId}~${searchTerm}~${landingPage}~${headline}`;
|
|
457
|
+
}
|
|
458
|
+
/**
|
|
459
|
+
* @param {string | number} customerId
|
|
460
|
+
* @param {string | number} campaignId
|
|
461
|
+
* @param {string | number} adGroupId
|
|
462
|
+
* @param {string | number} androidPrivacyInteractionType
|
|
463
|
+
* @param {string | number} androidPrivacyNetworkType
|
|
464
|
+
* @param {string | number} androidPrivacyInteractionDate
|
|
465
|
+
* @returns `AndroidPrivacySharedKeyGoogleAdGroupResourceName`
|
|
466
|
+
* @example const androidPrivacySharedKeyGoogleAdGroup: ResourceNames.AndroidPrivacySharedKeyGoogleAdGroupResourceName = ResourceNames.androidPrivacySharedKeyGoogleAdGroup(10987417, 21974834, 43949668, 87899336, 175798672, 351597344)
|
|
467
|
+
*/
|
|
468
|
+
function androidPrivacySharedKeyGoogleAdGroup(customerId, campaignId, adGroupId, androidPrivacyInteractionType, androidPrivacyNetworkType, androidPrivacyInteractionDate) {
|
|
469
|
+
return `customers/${customerId}/androidPrivacySharedKeyGoogleAdGroups/${campaignId}~${adGroupId}~${androidPrivacyInteractionType}~${androidPrivacyNetworkType}~${androidPrivacyInteractionDate}`;
|
|
470
|
+
}
|
|
471
|
+
/**
|
|
472
|
+
* @param {string | number} customerId
|
|
473
|
+
* @param {string | number} campaignId
|
|
474
|
+
* @param {string | number} androidPrivacyInteractionType
|
|
475
|
+
* @param {string | number} androidPrivacyInteractionDate
|
|
476
|
+
* @returns `AndroidPrivacySharedKeyGoogleCampaignResourceName`
|
|
477
|
+
* @example const androidPrivacySharedKeyGoogleCampaign: ResourceNames.AndroidPrivacySharedKeyGoogleCampaignResourceName = ResourceNames.androidPrivacySharedKeyGoogleCampaign(10987417, 21974834, 43949668, 87899336)
|
|
478
|
+
*/
|
|
479
|
+
function androidPrivacySharedKeyGoogleCampaign(customerId, campaignId, androidPrivacyInteractionType, androidPrivacyInteractionDate) {
|
|
480
|
+
return `customers/${customerId}/androidPrivacySharedKeyGoogleCampaigns/${campaignId}~${androidPrivacyInteractionType}~${androidPrivacyInteractionDate}`;
|
|
481
|
+
}
|
|
482
|
+
/**
|
|
483
|
+
* @param {string | number} customerId
|
|
484
|
+
* @param {string | number} campaignId
|
|
485
|
+
* @param {string | number} androidPrivacyInteractionType
|
|
486
|
+
* @param {string | number} androidPrivacyNetworkType
|
|
487
|
+
* @param {string | number} androidPrivacyInteractionDate
|
|
488
|
+
* @returns `AndroidPrivacySharedKeyGoogleNetworkTypeResourceName`
|
|
489
|
+
* @example const androidPrivacySharedKeyGoogleNetworkType: ResourceNames.AndroidPrivacySharedKeyGoogleNetworkTypeResourceName = ResourceNames.androidPrivacySharedKeyGoogleNetworkType(10987417, 21974834, 43949668, 87899336, 175798672)
|
|
490
|
+
*/
|
|
491
|
+
function androidPrivacySharedKeyGoogleNetworkType(customerId, campaignId, androidPrivacyInteractionType, androidPrivacyNetworkType, androidPrivacyInteractionDate) {
|
|
492
|
+
return `customers/${customerId}/androidPrivacySharedKeyGoogleNetworkTypes/${campaignId}~${androidPrivacyInteractionType}~${androidPrivacyNetworkType}~${androidPrivacyInteractionDate}`;
|
|
493
|
+
}
|
|
494
|
+
/**
|
|
495
|
+
* @param {string | number} customerId
|
|
496
|
+
* @param {string | number} adGroupId
|
|
497
|
+
* @param {string | number} adId
|
|
498
|
+
* @param {string | number} assetCombinationCategory
|
|
499
|
+
* @returns `AppTopCombinationViewResourceName`
|
|
500
|
+
* @example const appTopCombinationView: ResourceNames.AppTopCombinationViewResourceName = ResourceNames.appTopCombinationView(10987417, 21974834, 43949668, 87899336)
|
|
501
|
+
*/
|
|
502
|
+
function appTopCombinationView(customerId, adGroupId, adId, assetCombinationCategory) {
|
|
503
|
+
return `customers/${customerId}/appTopCombinationViews/${adGroupId}~${adId}~${assetCombinationCategory}`;
|
|
504
|
+
}
|
|
505
|
+
/**
|
|
506
|
+
* @param {string | number} customerId
|
|
507
|
+
* @param {string | number} couponCode
|
|
508
|
+
* @returns `AppliedIncentiveResourceName`
|
|
509
|
+
* @example const appliedIncentive: ResourceNames.AppliedIncentiveResourceName = ResourceNames.appliedIncentive(10987417, 21974834)
|
|
510
|
+
*/
|
|
511
|
+
function appliedIncentive(customerId, couponCode) {
|
|
512
|
+
return `customers/${customerId}/appliedIncentives/${couponCode}`;
|
|
513
|
+
}
|
|
514
|
+
/**
|
|
515
|
+
* @param {string | number} customerId
|
|
516
|
+
* @param {string | number} assetId
|
|
517
|
+
* @returns `AssetResourceName`
|
|
518
|
+
* @example const asset: ResourceNames.AssetResourceName = ResourceNames.asset(10987417, 21974834)
|
|
519
|
+
*/
|
|
520
|
+
function asset(customerId, assetId) {
|
|
521
|
+
return `customers/${customerId}/assets/${assetId}`;
|
|
522
|
+
}
|
|
523
|
+
/**
|
|
524
|
+
* @param {string | number} customerId
|
|
525
|
+
* @param {string | number} fieldType
|
|
526
|
+
* @returns `AssetFieldTypeViewResourceName`
|
|
527
|
+
* @example const assetFieldTypeView: ResourceNames.AssetFieldTypeViewResourceName = ResourceNames.assetFieldTypeView(10987417, 21974834)
|
|
528
|
+
*/
|
|
529
|
+
function assetFieldTypeView(customerId, fieldType) {
|
|
530
|
+
return `customers/${customerId}/assetFieldTypeViews/${fieldType}`;
|
|
531
|
+
}
|
|
532
|
+
/**
|
|
533
|
+
* @param {string | number} customerId
|
|
534
|
+
* @param {string | number} assetGroupId
|
|
535
|
+
* @returns `AssetGroupResourceName`
|
|
536
|
+
* @example const assetGroup: ResourceNames.AssetGroupResourceName = ResourceNames.assetGroup(10987417, 21974834)
|
|
537
|
+
*/
|
|
538
|
+
function assetGroup(customerId, assetGroupId) {
|
|
539
|
+
return `customers/${customerId}/assetGroups/${assetGroupId}`;
|
|
540
|
+
}
|
|
541
|
+
/**
|
|
542
|
+
* @param {string | number} customerId
|
|
543
|
+
* @param {string | number} assetGroupId
|
|
544
|
+
* @param {string | number} assetId
|
|
545
|
+
* @param {string | number} fieldType
|
|
546
|
+
* @returns `AssetGroupAssetResourceName`
|
|
547
|
+
* @example const assetGroupAsset: ResourceNames.AssetGroupAssetResourceName = ResourceNames.assetGroupAsset(10987417, 21974834, 43949668, 87899336)
|
|
548
|
+
*/
|
|
549
|
+
function assetGroupAsset(customerId, assetGroupId, assetId, fieldType) {
|
|
550
|
+
return `customers/${customerId}/assetGroupAssets/${assetGroupId}~${assetId}~${fieldType}`;
|
|
551
|
+
}
|
|
552
|
+
/**
|
|
553
|
+
* @param {string | number} customerId
|
|
554
|
+
* @param {string | number} assetGroupId
|
|
555
|
+
* @param {string | number} listingGroupFilterId
|
|
556
|
+
* @returns `AssetGroupListingGroupFilterResourceName`
|
|
557
|
+
* @example const assetGroupListingGroupFilter: ResourceNames.AssetGroupListingGroupFilterResourceName = ResourceNames.assetGroupListingGroupFilter(10987417, 21974834, 43949668)
|
|
558
|
+
*/
|
|
559
|
+
function assetGroupListingGroupFilter(customerId, assetGroupId, listingGroupFilterId) {
|
|
560
|
+
return `customers/${customerId}/assetGroupListingGroupFilters/${assetGroupId}~${listingGroupFilterId}`;
|
|
561
|
+
}
|
|
562
|
+
/**
|
|
563
|
+
* @param {string | number} customerId
|
|
564
|
+
* @param {string | number} assetGroupId
|
|
565
|
+
* @param {string | number} listingGroupFilterId
|
|
566
|
+
* @returns `AssetGroupProductGroupViewResourceName`
|
|
567
|
+
* @example const assetGroupProductGroupView: ResourceNames.AssetGroupProductGroupViewResourceName = ResourceNames.assetGroupProductGroupView(10987417, 21974834, 43949668)
|
|
568
|
+
*/
|
|
569
|
+
function assetGroupProductGroupView(customerId, assetGroupId, listingGroupFilterId) {
|
|
570
|
+
return `customers/${customerId}/assetGroupProductGroupViews/${assetGroupId}~${listingGroupFilterId}`;
|
|
571
|
+
}
|
|
572
|
+
/**
|
|
573
|
+
* @param {string | number} customerId
|
|
574
|
+
* @param {string | number} assetGroupId
|
|
575
|
+
* @param {string | number} criterionId
|
|
576
|
+
* @returns `AssetGroupSignalResourceName`
|
|
577
|
+
* @example const assetGroupSignal: ResourceNames.AssetGroupSignalResourceName = ResourceNames.assetGroupSignal(10987417, 21974834, 43949668)
|
|
578
|
+
*/
|
|
579
|
+
function assetGroupSignal(customerId, assetGroupId, criterionId) {
|
|
580
|
+
return `customers/${customerId}/assetGroupSignals/${assetGroupId}~${criterionId}`;
|
|
581
|
+
}
|
|
582
|
+
/**
|
|
583
|
+
* @param {string | number} customerId
|
|
584
|
+
* @param {string | number} assetGroupId
|
|
585
|
+
* @param {string | number} assetCombinationCategory
|
|
586
|
+
* @returns `AssetGroupTopCombinationViewResourceName`
|
|
587
|
+
* @example const assetGroupTopCombinationView: ResourceNames.AssetGroupTopCombinationViewResourceName = ResourceNames.assetGroupTopCombinationView(10987417, 21974834, 43949668)
|
|
588
|
+
*/
|
|
589
|
+
function assetGroupTopCombinationView(customerId, assetGroupId, assetCombinationCategory) {
|
|
590
|
+
return `customers/${customerId}/assetGroupTopCombinationViews/${assetGroupId}~${assetCombinationCategory}`;
|
|
591
|
+
}
|
|
592
|
+
/**
|
|
593
|
+
* @param {string | number} customerId
|
|
594
|
+
* @param {string | number} assetSetId
|
|
595
|
+
* @returns `AssetSetResourceName`
|
|
596
|
+
* @example const assetSet: ResourceNames.AssetSetResourceName = ResourceNames.assetSet(10987417, 21974834)
|
|
597
|
+
*/
|
|
598
|
+
function assetSet(customerId, assetSetId) {
|
|
599
|
+
return `customers/${customerId}/assetSets/${assetSetId}`;
|
|
600
|
+
}
|
|
601
|
+
/**
|
|
602
|
+
* @param {string | number} customerId
|
|
603
|
+
* @param {string | number} assetSetId
|
|
604
|
+
* @param {string | number} assetId
|
|
605
|
+
* @returns `AssetSetAssetResourceName`
|
|
606
|
+
* @example const assetSetAsset: ResourceNames.AssetSetAssetResourceName = ResourceNames.assetSetAsset(10987417, 21974834, 43949668)
|
|
607
|
+
*/
|
|
608
|
+
function assetSetAsset(customerId, assetSetId, assetId) {
|
|
609
|
+
return `customers/${customerId}/assetSetAssets/${assetSetId}~${assetId}`;
|
|
610
|
+
}
|
|
611
|
+
/**
|
|
612
|
+
* @param {string | number} customerId
|
|
613
|
+
* @param {string | number} assetSetType
|
|
614
|
+
* @returns `AssetSetTypeViewResourceName`
|
|
615
|
+
* @example const assetSetTypeView: ResourceNames.AssetSetTypeViewResourceName = ResourceNames.assetSetTypeView(10987417, 21974834)
|
|
616
|
+
*/
|
|
617
|
+
function assetSetTypeView(customerId, assetSetType) {
|
|
618
|
+
return `customers/${customerId}/assetSetTypeViews/${assetSetType}`;
|
|
619
|
+
}
|
|
620
|
+
/**
|
|
621
|
+
* @param {string | number} customerId
|
|
622
|
+
* @param {string | number} audienceId
|
|
623
|
+
* @returns `AudienceResourceName`
|
|
624
|
+
* @example const audience: ResourceNames.AudienceResourceName = ResourceNames.audience(10987417, 21974834)
|
|
625
|
+
*/
|
|
626
|
+
function audience(customerId, audienceId) {
|
|
627
|
+
return `customers/${customerId}/audiences/${audienceId}`;
|
|
628
|
+
}
|
|
629
|
+
/**
|
|
630
|
+
* @param {string | number} customerId
|
|
631
|
+
* @param {string | number} batchJobId
|
|
632
|
+
* @returns `BatchJobResourceName`
|
|
633
|
+
* @example const batchJob: ResourceNames.BatchJobResourceName = ResourceNames.batchJob(10987417, 21974834)
|
|
634
|
+
*/
|
|
635
|
+
function batchJob(customerId, batchJobId) {
|
|
636
|
+
return `customers/${customerId}/batchJobs/${batchJobId}`;
|
|
637
|
+
}
|
|
638
|
+
/**
|
|
639
|
+
* @param {string | number} customerId
|
|
640
|
+
* @param {string | number} seasonalityEventId
|
|
641
|
+
* @returns `BiddingDataExclusionResourceName`
|
|
642
|
+
* @example const biddingDataExclusion: ResourceNames.BiddingDataExclusionResourceName = ResourceNames.biddingDataExclusion(10987417, 21974834)
|
|
643
|
+
*/
|
|
644
|
+
function biddingDataExclusion(customerId, seasonalityEventId) {
|
|
645
|
+
return `customers/${customerId}/biddingDataExclusions/${seasonalityEventId}`;
|
|
646
|
+
}
|
|
647
|
+
/**
|
|
648
|
+
* @param {string | number} customerId
|
|
649
|
+
* @param {string | number} seasonalityEventId
|
|
650
|
+
* @returns `BiddingSeasonalityAdjustmentResourceName`
|
|
651
|
+
* @example const biddingSeasonalityAdjustment: ResourceNames.BiddingSeasonalityAdjustmentResourceName = ResourceNames.biddingSeasonalityAdjustment(10987417, 21974834)
|
|
652
|
+
*/
|
|
653
|
+
function biddingSeasonalityAdjustment(customerId, seasonalityEventId) {
|
|
654
|
+
return `customers/${customerId}/biddingSeasonalityAdjustments/${seasonalityEventId}`;
|
|
655
|
+
}
|
|
656
|
+
/**
|
|
657
|
+
* @param {string | number} customerId
|
|
658
|
+
* @param {string | number} biddingStrategyId
|
|
659
|
+
* @returns `BiddingStrategyResourceName`
|
|
660
|
+
* @example const biddingStrategy: ResourceNames.BiddingStrategyResourceName = ResourceNames.biddingStrategy(10987417, 21974834)
|
|
661
|
+
*/
|
|
662
|
+
function biddingStrategy(customerId, biddingStrategyId) {
|
|
663
|
+
return `customers/${customerId}/biddingStrategies/${biddingStrategyId}`;
|
|
664
|
+
}
|
|
665
|
+
/**
|
|
666
|
+
* @param {string | number} customerId
|
|
667
|
+
* @param {string | number} biddingStrategyId
|
|
668
|
+
* @param {string | number} type
|
|
669
|
+
* @param {string | number} modificationMethod
|
|
670
|
+
* @param {string | number} startDate
|
|
671
|
+
* @param {string | number} endDate
|
|
672
|
+
* @returns `BiddingStrategySimulationResourceName`
|
|
673
|
+
* @example const biddingStrategySimulation: ResourceNames.BiddingStrategySimulationResourceName = ResourceNames.biddingStrategySimulation(10987417, 21974834, 43949668, 87899336, 175798672, 351597344)
|
|
674
|
+
*/
|
|
675
|
+
function biddingStrategySimulation(customerId, biddingStrategyId, type, modificationMethod, startDate, endDate) {
|
|
676
|
+
return `customers/${customerId}/biddingStrategySimulations/${biddingStrategyId}~${type}~${modificationMethod}~${startDate}~${endDate}`;
|
|
677
|
+
}
|
|
678
|
+
/**
|
|
679
|
+
* @param {string | number} customerId
|
|
680
|
+
* @param {string | number} billingSetupId
|
|
681
|
+
* @returns `BillingSetupResourceName`
|
|
682
|
+
* @example const billingSetup: ResourceNames.BillingSetupResourceName = ResourceNames.billingSetup(10987417, 21974834)
|
|
683
|
+
*/
|
|
684
|
+
function billingSetup(customerId, billingSetupId) {
|
|
685
|
+
return `customers/${customerId}/billingSetups/${billingSetupId}`;
|
|
686
|
+
}
|
|
687
|
+
/**
|
|
688
|
+
* @param {string | number} customerId
|
|
689
|
+
* @param {string | number} callDetailId
|
|
690
|
+
* @returns `CallViewResourceName`
|
|
691
|
+
* @example const callView: ResourceNames.CallViewResourceName = ResourceNames.callView(10987417, 21974834)
|
|
692
|
+
*/
|
|
693
|
+
function callView(customerId, callDetailId) {
|
|
694
|
+
return `customers/${customerId}/callViews/${callDetailId}`;
|
|
695
|
+
}
|
|
696
|
+
/**
|
|
697
|
+
* @param {string | number} customerId
|
|
698
|
+
* @param {string | number} campaignId
|
|
699
|
+
* @returns `CampaignResourceName`
|
|
700
|
+
* @example const campaign: ResourceNames.CampaignResourceName = ResourceNames.campaign(10987417, 21974834)
|
|
701
|
+
*/
|
|
702
|
+
function campaign(customerId, campaignId) {
|
|
703
|
+
return `customers/${customerId}/campaigns/${campaignId}`;
|
|
704
|
+
}
|
|
705
|
+
/**
|
|
706
|
+
* @param {string | number} customerId
|
|
707
|
+
* @param {string | number} campaignId
|
|
708
|
+
* @param {string | number} assetId
|
|
709
|
+
* @param {string | number} assetLinkSource
|
|
710
|
+
* @param {string | number} fieldType
|
|
711
|
+
* @returns `CampaignAggregateAssetViewResourceName`
|
|
712
|
+
* @example const campaignAggregateAssetView: ResourceNames.CampaignAggregateAssetViewResourceName = ResourceNames.campaignAggregateAssetView(10987417, 21974834, 43949668, 87899336, 175798672)
|
|
713
|
+
*/
|
|
714
|
+
function campaignAggregateAssetView(customerId, campaignId, assetId, assetLinkSource, fieldType) {
|
|
715
|
+
return `customers/${customerId}/campaignAggregateAssetViews/${campaignId}~${assetId}~${assetLinkSource}~${fieldType}`;
|
|
716
|
+
}
|
|
717
|
+
/**
|
|
718
|
+
* @param {string | number} customerId
|
|
719
|
+
* @param {string | number} campaignId
|
|
720
|
+
* @param {string | number} assetId
|
|
721
|
+
* @param {string | number} fieldType
|
|
722
|
+
* @returns `CampaignAssetResourceName`
|
|
723
|
+
* @example const campaignAsset: ResourceNames.CampaignAssetResourceName = ResourceNames.campaignAsset(10987417, 21974834, 43949668, 87899336)
|
|
724
|
+
*/
|
|
725
|
+
function campaignAsset(customerId, campaignId, assetId, fieldType) {
|
|
726
|
+
return `customers/${customerId}/campaignAssets/${campaignId}~${assetId}~${fieldType}`;
|
|
727
|
+
}
|
|
728
|
+
/**
|
|
729
|
+
* @param {string | number} customerId
|
|
730
|
+
* @param {string | number} campaignId
|
|
731
|
+
* @param {string | number} assetSetId
|
|
732
|
+
* @returns `CampaignAssetSetResourceName`
|
|
733
|
+
* @example const campaignAssetSet: ResourceNames.CampaignAssetSetResourceName = ResourceNames.campaignAssetSet(10987417, 21974834, 43949668)
|
|
734
|
+
*/
|
|
735
|
+
function campaignAssetSet(customerId, campaignId, assetSetId) {
|
|
736
|
+
return `customers/${customerId}/campaignAssetSets/${campaignId}~${assetSetId}`;
|
|
737
|
+
}
|
|
738
|
+
/**
|
|
739
|
+
* @param {string | number} customerId
|
|
740
|
+
* @param {string | number} campaignId
|
|
741
|
+
* @param {string | number} criterionId
|
|
742
|
+
* @returns `CampaignAudienceViewResourceName`
|
|
743
|
+
* @example const campaignAudienceView: ResourceNames.CampaignAudienceViewResourceName = ResourceNames.campaignAudienceView(10987417, 21974834, 43949668)
|
|
744
|
+
*/
|
|
745
|
+
function campaignAudienceView(customerId, campaignId, criterionId) {
|
|
746
|
+
return `customers/${customerId}/campaignAudienceViews/${campaignId}~${criterionId}`;
|
|
747
|
+
}
|
|
748
|
+
/**
|
|
749
|
+
* @param {string | number} customerId
|
|
750
|
+
* @param {string | number} campaignId
|
|
751
|
+
* @param {string | number} criterionId
|
|
752
|
+
* @returns `CampaignBidModifierResourceName`
|
|
753
|
+
* @example const campaignBidModifier: ResourceNames.CampaignBidModifierResourceName = ResourceNames.campaignBidModifier(10987417, 21974834, 43949668)
|
|
754
|
+
*/
|
|
755
|
+
function campaignBidModifier(customerId, campaignId, criterionId) {
|
|
756
|
+
return `customers/${customerId}/campaignBidModifiers/${campaignId}~${criterionId}`;
|
|
757
|
+
}
|
|
758
|
+
/**
|
|
759
|
+
* @param {string | number} customerId
|
|
760
|
+
* @param {string | number} campaignBudgetId
|
|
761
|
+
* @returns `CampaignBudgetResourceName`
|
|
762
|
+
* @example const campaignBudget: ResourceNames.CampaignBudgetResourceName = ResourceNames.campaignBudget(10987417, 21974834)
|
|
763
|
+
*/
|
|
764
|
+
function campaignBudget(customerId, campaignBudgetId) {
|
|
765
|
+
return `customers/${customerId}/campaignBudgets/${campaignBudgetId}`;
|
|
766
|
+
}
|
|
767
|
+
/**
|
|
768
|
+
* @param {string | number} customerId
|
|
769
|
+
* @param {string | number} campaignId
|
|
770
|
+
* @param {string | number} category
|
|
771
|
+
* @param {string | number} source
|
|
772
|
+
* @returns `CampaignConversionGoalResourceName`
|
|
773
|
+
* @example const campaignConversionGoal: ResourceNames.CampaignConversionGoalResourceName = ResourceNames.campaignConversionGoal(10987417, 21974834, 43949668, 87899336)
|
|
774
|
+
*/
|
|
775
|
+
function campaignConversionGoal(customerId, campaignId, category, source) {
|
|
776
|
+
return `customers/${customerId}/campaignConversionGoals/${campaignId}~${category}~${source}`;
|
|
777
|
+
}
|
|
778
|
+
/**
|
|
779
|
+
* @param {string | number} customerId
|
|
780
|
+
* @param {string | number} campaignId
|
|
781
|
+
* @param {string | number} criterionId
|
|
782
|
+
* @returns `CampaignCriterionResourceName`
|
|
783
|
+
* @example const campaignCriterion: ResourceNames.CampaignCriterionResourceName = ResourceNames.campaignCriterion(10987417, 21974834, 43949668)
|
|
784
|
+
*/
|
|
785
|
+
function campaignCriterion(customerId, campaignId, criterionId) {
|
|
786
|
+
return `customers/${customerId}/campaignCriteria/${campaignId}~${criterionId}`;
|
|
787
|
+
}
|
|
788
|
+
/**
|
|
789
|
+
* @param {string | number} customerId
|
|
790
|
+
* @param {string | number} campaignId
|
|
791
|
+
* @param {string | number} customizerAttributeId
|
|
792
|
+
* @returns `CampaignCustomizerResourceName`
|
|
793
|
+
* @example const campaignCustomizer: ResourceNames.CampaignCustomizerResourceName = ResourceNames.campaignCustomizer(10987417, 21974834, 43949668)
|
|
794
|
+
*/
|
|
795
|
+
function campaignCustomizer(customerId, campaignId, customizerAttributeId) {
|
|
796
|
+
return `customers/${customerId}/campaignCustomizers/${campaignId}~${customizerAttributeId}`;
|
|
797
|
+
}
|
|
798
|
+
/**
|
|
799
|
+
* @param {string | number} customerId
|
|
800
|
+
* @param {string | number} baseCampaignId
|
|
801
|
+
* @param {string | number} draftId
|
|
802
|
+
* @returns `CampaignDraftResourceName`
|
|
803
|
+
* @example const campaignDraft: ResourceNames.CampaignDraftResourceName = ResourceNames.campaignDraft(10987417, 21974834, 43949668)
|
|
804
|
+
*/
|
|
805
|
+
function campaignDraft(customerId, baseCampaignId, draftId) {
|
|
806
|
+
return `customers/${customerId}/campaignDrafts/${baseCampaignId}~${draftId}`;
|
|
807
|
+
}
|
|
808
|
+
/**
|
|
809
|
+
* @param {string | number} customerId
|
|
810
|
+
* @param {string | number} campaignId
|
|
811
|
+
* @param {string | number} unifiedGoalId
|
|
812
|
+
* @returns `CampaignGoalConfigResourceName`
|
|
813
|
+
* @example const campaignGoalConfig: ResourceNames.CampaignGoalConfigResourceName = ResourceNames.campaignGoalConfig(10987417, 21974834, 43949668)
|
|
814
|
+
*/
|
|
815
|
+
function campaignGoalConfig(customerId, campaignId, unifiedGoalId) {
|
|
816
|
+
return `customers/${customerId}/campaignGoalConfigs/${campaignId}~${unifiedGoalId}`;
|
|
817
|
+
}
|
|
818
|
+
/**
|
|
819
|
+
* @param {string | number} customerId
|
|
820
|
+
* @param {string | number} campaignGroupId
|
|
821
|
+
* @returns `CampaignGroupResourceName`
|
|
822
|
+
* @example const campaignGroup: ResourceNames.CampaignGroupResourceName = ResourceNames.campaignGroup(10987417, 21974834)
|
|
823
|
+
*/
|
|
824
|
+
function campaignGroup(customerId, campaignGroupId) {
|
|
825
|
+
return `customers/${customerId}/campaignGroups/${campaignGroupId}`;
|
|
826
|
+
}
|
|
827
|
+
/**
|
|
828
|
+
* @param {string | number} customerId
|
|
829
|
+
* @param {string | number} campaignId
|
|
830
|
+
* @param {string | number} labelId
|
|
831
|
+
* @returns `CampaignLabelResourceName`
|
|
832
|
+
* @example const campaignLabel: ResourceNames.CampaignLabelResourceName = ResourceNames.campaignLabel(10987417, 21974834, 43949668)
|
|
833
|
+
*/
|
|
834
|
+
function campaignLabel(customerId, campaignId, labelId) {
|
|
835
|
+
return `customers/${customerId}/campaignLabels/${campaignId}~${labelId}`;
|
|
836
|
+
}
|
|
837
|
+
/**
|
|
838
|
+
* @param {string | number} customerId
|
|
839
|
+
* @param {string | number} campaignId
|
|
840
|
+
* @param {string | number} clusterId
|
|
841
|
+
* @returns `CampaignSearchTermInsightResourceName`
|
|
842
|
+
* @example const campaignSearchTermInsight: ResourceNames.CampaignSearchTermInsightResourceName = ResourceNames.campaignSearchTermInsight(10987417, 21974834, 43949668)
|
|
843
|
+
*/
|
|
844
|
+
function campaignSearchTermInsight(customerId, campaignId, clusterId) {
|
|
845
|
+
return `customers/${customerId}/campaignSearchTermInsights/${campaignId}~${clusterId}`;
|
|
846
|
+
}
|
|
847
|
+
/**
|
|
848
|
+
* @param {string | number} customerId
|
|
849
|
+
* @param {string | number} campaignId
|
|
850
|
+
* @param {string | number} query
|
|
851
|
+
* @returns `CampaignSearchTermViewResourceName`
|
|
852
|
+
* @example const campaignSearchTermView: ResourceNames.CampaignSearchTermViewResourceName = ResourceNames.campaignSearchTermView(10987417, 21974834, 43949668)
|
|
853
|
+
*/
|
|
854
|
+
function campaignSearchTermView(customerId, campaignId, query) {
|
|
855
|
+
return `customers/${customerId}/campaignSearchTermViews/${campaignId}~${query}`;
|
|
856
|
+
}
|
|
857
|
+
/**
|
|
858
|
+
* @param {string | number} customerId
|
|
859
|
+
* @param {string | number} campaignId
|
|
860
|
+
* @param {string | number} sharedSetId
|
|
861
|
+
* @returns `CampaignSharedSetResourceName`
|
|
862
|
+
* @example const campaignSharedSet: ResourceNames.CampaignSharedSetResourceName = ResourceNames.campaignSharedSet(10987417, 21974834, 43949668)
|
|
863
|
+
*/
|
|
864
|
+
function campaignSharedSet(customerId, campaignId, sharedSetId) {
|
|
865
|
+
return `customers/${customerId}/campaignSharedSets/${campaignId}~${sharedSetId}`;
|
|
866
|
+
}
|
|
867
|
+
/**
|
|
868
|
+
* @param {string | number} customerId
|
|
869
|
+
* @param {string | number} campaignId
|
|
870
|
+
* @param {string | number} type
|
|
871
|
+
* @param {string | number} modificationMethod
|
|
872
|
+
* @param {string | number} startDate
|
|
873
|
+
* @param {string | number} endDate
|
|
874
|
+
* @returns `CampaignSimulationResourceName`
|
|
875
|
+
* @example const campaignSimulation: ResourceNames.CampaignSimulationResourceName = ResourceNames.campaignSimulation(10987417, 21974834, 43949668, 87899336, 175798672, 351597344)
|
|
876
|
+
*/
|
|
877
|
+
function campaignSimulation(customerId, campaignId, type, modificationMethod, startDate, endDate) {
|
|
878
|
+
return `customers/${customerId}/campaignSimulations/${campaignId}~${type}~${modificationMethod}~${startDate}~${endDate}`;
|
|
879
|
+
}
|
|
880
|
+
/**
|
|
881
|
+
* @param {string | number} criterionId
|
|
882
|
+
* @returns `CarrierConstantResourceName`
|
|
883
|
+
* @example const carrierConstant: ResourceNames.CarrierConstantResourceName = ResourceNames.carrierConstant(10987417)
|
|
884
|
+
*/
|
|
885
|
+
function carrierConstant(criterionId) {
|
|
886
|
+
return `carrierConstants/${criterionId}`;
|
|
887
|
+
}
|
|
888
|
+
/**
|
|
889
|
+
* @param {string | number} customerId
|
|
890
|
+
* @returns `CartDataSalesViewResourceName`
|
|
891
|
+
* @example const cartDataSalesView: ResourceNames.CartDataSalesViewResourceName = ResourceNames.cartDataSalesView(10987417)
|
|
892
|
+
*/
|
|
893
|
+
function cartDataSalesView(customerId) {
|
|
894
|
+
return `customers/${customerId}/cartDataSalesView`;
|
|
895
|
+
}
|
|
896
|
+
/**
|
|
897
|
+
* @param {string | number} customerId
|
|
898
|
+
* @param {string | number} timestampMicros
|
|
899
|
+
* @param {string | number} commandIndex
|
|
900
|
+
* @param {string | number} mutateIndex
|
|
901
|
+
* @returns `ChangeEventResourceName`
|
|
902
|
+
* @example const changeEvent: ResourceNames.ChangeEventResourceName = ResourceNames.changeEvent(10987417, 21974834, 43949668, 87899336)
|
|
903
|
+
*/
|
|
904
|
+
function changeEvent(customerId, timestampMicros, commandIndex, mutateIndex) {
|
|
905
|
+
return `customers/${customerId}/changeEvents/${timestampMicros}~${commandIndex}~${mutateIndex}`;
|
|
906
|
+
}
|
|
907
|
+
/**
|
|
908
|
+
* @param {string | number} customerId
|
|
909
|
+
* @param {string | number} changeStatusId
|
|
910
|
+
* @returns `ChangeStatusResourceName`
|
|
911
|
+
* @example const changeStatus: ResourceNames.ChangeStatusResourceName = ResourceNames.changeStatus(10987417, 21974834)
|
|
912
|
+
*/
|
|
913
|
+
function changeStatus(customerId, changeStatusId) {
|
|
914
|
+
return `customers/${customerId}/changeStatus/${changeStatusId}`;
|
|
915
|
+
}
|
|
916
|
+
/**
|
|
917
|
+
* @param {string | number} customerId
|
|
918
|
+
* @param {string | number} advertisingChannelType
|
|
919
|
+
* @param {string | number} assetId
|
|
920
|
+
* @param {string | number} assetSource
|
|
921
|
+
* @param {string | number} fieldType
|
|
922
|
+
* @returns `ChannelAggregateAssetViewResourceName`
|
|
923
|
+
* @example const channelAggregateAssetView: ResourceNames.ChannelAggregateAssetViewResourceName = ResourceNames.channelAggregateAssetView(10987417, 21974834, 43949668, 87899336, 175798672)
|
|
924
|
+
*/
|
|
925
|
+
function channelAggregateAssetView(customerId, advertisingChannelType, assetId, assetSource, fieldType) {
|
|
926
|
+
return `customers/${customerId}/channelAggregateAssetViews/${advertisingChannelType}~${assetId}~${assetSource}~${fieldType}`;
|
|
927
|
+
}
|
|
928
|
+
/**
|
|
929
|
+
* @param {string | number} customerId
|
|
930
|
+
* @param {string | number} date
|
|
931
|
+
* @param {string | number} gclid
|
|
932
|
+
* @returns `ClickViewResourceName`
|
|
933
|
+
* @example const clickView: ResourceNames.ClickViewResourceName = ResourceNames.clickView(10987417, 21974834, 43949668)
|
|
934
|
+
*/
|
|
935
|
+
function clickView(customerId, date, gclid) {
|
|
936
|
+
return `customers/${customerId}/clickViews/${date}~${gclid}`;
|
|
937
|
+
}
|
|
938
|
+
/**
|
|
939
|
+
* @param {string | number} customerId
|
|
940
|
+
* @param {string | number} combinedAudienceId
|
|
941
|
+
* @returns `CombinedAudienceResourceName`
|
|
942
|
+
* @example const combinedAudience: ResourceNames.CombinedAudienceResourceName = ResourceNames.combinedAudience(10987417, 21974834)
|
|
943
|
+
*/
|
|
944
|
+
function combinedAudience(customerId, combinedAudienceId) {
|
|
945
|
+
return `customers/${customerId}/combinedAudiences/${combinedAudienceId}`;
|
|
946
|
+
}
|
|
947
|
+
/**
|
|
948
|
+
* @param {string | number} customerId
|
|
949
|
+
* @param {string | number} adGroupId
|
|
950
|
+
* @param {string | number} criterionId
|
|
951
|
+
* @returns `ContentCriterionViewResourceName`
|
|
952
|
+
* @example const contentCriterionView: ResourceNames.ContentCriterionViewResourceName = ResourceNames.contentCriterionView(10987417, 21974834, 43949668)
|
|
953
|
+
*/
|
|
954
|
+
function contentCriterionView(customerId, adGroupId, criterionId) {
|
|
955
|
+
return `customers/${customerId}/contentCriterionViews/${adGroupId}~${criterionId}`;
|
|
956
|
+
}
|
|
957
|
+
/**
|
|
958
|
+
* @param {string | number} customerId
|
|
959
|
+
* @param {string | number} conversionActionId
|
|
960
|
+
* @returns `ConversionActionResourceName`
|
|
961
|
+
* @example const conversionAction: ResourceNames.ConversionActionResourceName = ResourceNames.conversionAction(10987417, 21974834)
|
|
962
|
+
*/
|
|
963
|
+
function conversionAction(customerId, conversionActionId) {
|
|
964
|
+
return `customers/${customerId}/conversionActions/${conversionActionId}`;
|
|
965
|
+
}
|
|
966
|
+
/**
|
|
967
|
+
* @param {string | number} customerId
|
|
968
|
+
* @param {string | number} conversionCustomVariableId
|
|
969
|
+
* @returns `ConversionCustomVariableResourceName`
|
|
970
|
+
* @example const conversionCustomVariable: ResourceNames.ConversionCustomVariableResourceName = ResourceNames.conversionCustomVariable(10987417, 21974834)
|
|
971
|
+
*/
|
|
972
|
+
function conversionCustomVariable(customerId, conversionCustomVariableId) {
|
|
973
|
+
return `customers/${customerId}/conversionCustomVariables/${conversionCustomVariableId}`;
|
|
974
|
+
}
|
|
975
|
+
/**
|
|
976
|
+
* @param {string | number} customerId
|
|
977
|
+
* @param {string | number} campaignId
|
|
978
|
+
* @returns `ConversionGoalCampaignConfigResourceName`
|
|
979
|
+
* @example const conversionGoalCampaignConfig: ResourceNames.ConversionGoalCampaignConfigResourceName = ResourceNames.conversionGoalCampaignConfig(10987417, 21974834)
|
|
980
|
+
*/
|
|
981
|
+
function conversionGoalCampaignConfig(customerId, campaignId) {
|
|
982
|
+
return `customers/${customerId}/conversionGoalCampaignConfigs/${campaignId}`;
|
|
983
|
+
}
|
|
984
|
+
/**
|
|
985
|
+
* @param {string | number} customerId
|
|
986
|
+
* @param {string | number} conversionValueRuleId
|
|
987
|
+
* @returns `ConversionValueRuleResourceName`
|
|
988
|
+
* @example const conversionValueRule: ResourceNames.ConversionValueRuleResourceName = ResourceNames.conversionValueRule(10987417, 21974834)
|
|
989
|
+
*/
|
|
990
|
+
function conversionValueRule(customerId, conversionValueRuleId) {
|
|
991
|
+
return `customers/${customerId}/conversionValueRules/${conversionValueRuleId}`;
|
|
992
|
+
}
|
|
993
|
+
/**
|
|
994
|
+
* @param {string | number} customerId
|
|
995
|
+
* @param {string | number} conversionValueRuleSetId
|
|
996
|
+
* @returns `ConversionValueRuleSetResourceName`
|
|
997
|
+
* @example const conversionValueRuleSet: ResourceNames.ConversionValueRuleSetResourceName = ResourceNames.conversionValueRuleSet(10987417, 21974834)
|
|
998
|
+
*/
|
|
999
|
+
function conversionValueRuleSet(customerId, conversionValueRuleSetId) {
|
|
1000
|
+
return `customers/${customerId}/conversionValueRuleSets/${conversionValueRuleSetId}`;
|
|
1001
|
+
}
|
|
1002
|
+
/**
|
|
1003
|
+
* @param {string | number} code
|
|
1004
|
+
* @returns `CurrencyConstantResourceName`
|
|
1005
|
+
* @example const currencyConstant: ResourceNames.CurrencyConstantResourceName = ResourceNames.currencyConstant(10987417)
|
|
1006
|
+
*/
|
|
1007
|
+
function currencyConstant(code) {
|
|
1008
|
+
return `currencyConstants/${code}`;
|
|
1009
|
+
}
|
|
1010
|
+
/**
|
|
1011
|
+
* @param {string | number} customerId
|
|
1012
|
+
* @param {string | number} customAudienceId
|
|
1013
|
+
* @returns `CustomAudienceResourceName`
|
|
1014
|
+
* @example const customAudience: ResourceNames.CustomAudienceResourceName = ResourceNames.customAudience(10987417, 21974834)
|
|
1015
|
+
*/
|
|
1016
|
+
function customAudience(customerId, customAudienceId) {
|
|
1017
|
+
return `customers/${customerId}/customAudiences/${customAudienceId}`;
|
|
1018
|
+
}
|
|
1019
|
+
/**
|
|
1020
|
+
* @param {string | number} customerId
|
|
1021
|
+
* @param {string | number} goalId
|
|
1022
|
+
* @returns `CustomConversionGoalResourceName`
|
|
1023
|
+
* @example const customConversionGoal: ResourceNames.CustomConversionGoalResourceName = ResourceNames.customConversionGoal(10987417, 21974834)
|
|
1024
|
+
*/
|
|
1025
|
+
function customConversionGoal(customerId, goalId) {
|
|
1026
|
+
return `customers/${customerId}/customConversionGoals/${goalId}`;
|
|
1027
|
+
}
|
|
1028
|
+
/**
|
|
1029
|
+
* @param {string | number} customerId
|
|
1030
|
+
* @param {string | number} customInterestId
|
|
1031
|
+
* @returns `CustomInterestResourceName`
|
|
1032
|
+
* @example const customInterest: ResourceNames.CustomInterestResourceName = ResourceNames.customInterest(10987417, 21974834)
|
|
1033
|
+
*/
|
|
1034
|
+
function customInterest(customerId, customInterestId) {
|
|
1035
|
+
return `customers/${customerId}/customInterests/${customInterestId}`;
|
|
1036
|
+
}
|
|
1037
|
+
/**
|
|
1038
|
+
* @param {string | number} customerId
|
|
1039
|
+
* @returns `CustomerResourceName`
|
|
1040
|
+
* @example const customer: ResourceNames.CustomerResourceName = ResourceNames.customer(10987417)
|
|
1041
|
+
*/
|
|
1042
|
+
function customer(customerId) {
|
|
1043
|
+
return `customers/${customerId}`;
|
|
1044
|
+
}
|
|
1045
|
+
/**
|
|
1046
|
+
* @param {string | number} customerId
|
|
1047
|
+
* @param {string | number} assetId
|
|
1048
|
+
* @param {string | number} fieldType
|
|
1049
|
+
* @returns `CustomerAssetResourceName`
|
|
1050
|
+
* @example const customerAsset: ResourceNames.CustomerAssetResourceName = ResourceNames.customerAsset(10987417, 21974834, 43949668)
|
|
1051
|
+
*/
|
|
1052
|
+
function customerAsset(customerId, assetId, fieldType) {
|
|
1053
|
+
return `customers/${customerId}/customerAssets/${assetId}~${fieldType}`;
|
|
1054
|
+
}
|
|
1055
|
+
/**
|
|
1056
|
+
* @param {string | number} customerId
|
|
1057
|
+
* @param {string | number} assetSetId
|
|
1058
|
+
* @returns `CustomerAssetSetResourceName`
|
|
1059
|
+
* @example const customerAssetSet: ResourceNames.CustomerAssetSetResourceName = ResourceNames.customerAssetSet(10987417, 21974834)
|
|
1060
|
+
*/
|
|
1061
|
+
function customerAssetSet(customerId, assetSetId) {
|
|
1062
|
+
return `customers/${customerId}/customerAssetSets/${assetSetId}`;
|
|
1063
|
+
}
|
|
1064
|
+
/**
|
|
1065
|
+
* @param {string | number} customerId
|
|
1066
|
+
* @param {string | number} clientCustomerId
|
|
1067
|
+
* @returns `CustomerClientResourceName`
|
|
1068
|
+
* @example const customerClient: ResourceNames.CustomerClientResourceName = ResourceNames.customerClient(10987417, 21974834)
|
|
1069
|
+
*/
|
|
1070
|
+
function customerClient(customerId, clientCustomerId) {
|
|
1071
|
+
return `customers/${customerId}/customerClients/${clientCustomerId}`;
|
|
1072
|
+
}
|
|
1073
|
+
/**
|
|
1074
|
+
* @param {string | number} customerId
|
|
1075
|
+
* @param {string | number} clientCustomerId
|
|
1076
|
+
* @param {string | number} managerLinkId
|
|
1077
|
+
* @returns `CustomerClientLinkResourceName`
|
|
1078
|
+
* @example const customerClientLink: ResourceNames.CustomerClientLinkResourceName = ResourceNames.customerClientLink(10987417, 21974834, 43949668)
|
|
1079
|
+
*/
|
|
1080
|
+
function customerClientLink(customerId, clientCustomerId, managerLinkId) {
|
|
1081
|
+
return `customers/${customerId}/customerClientLinks/${clientCustomerId}~${managerLinkId}`;
|
|
1082
|
+
}
|
|
1083
|
+
/**
|
|
1084
|
+
* @param {string | number} customerId
|
|
1085
|
+
* @param {string | number} category
|
|
1086
|
+
* @param {string | number} source
|
|
1087
|
+
* @returns `CustomerConversionGoalResourceName`
|
|
1088
|
+
* @example const customerConversionGoal: ResourceNames.CustomerConversionGoalResourceName = ResourceNames.customerConversionGoal(10987417, 21974834, 43949668)
|
|
1089
|
+
*/
|
|
1090
|
+
function customerConversionGoal(customerId, category, source) {
|
|
1091
|
+
return `customers/${customerId}/customerConversionGoals/${category}~${source}`;
|
|
1092
|
+
}
|
|
1093
|
+
/**
|
|
1094
|
+
* @param {string | number} customerId
|
|
1095
|
+
* @param {string | number} customizerAttributeId
|
|
1096
|
+
* @returns `CustomerCustomizerResourceName`
|
|
1097
|
+
* @example const customerCustomizer: ResourceNames.CustomerCustomizerResourceName = ResourceNames.customerCustomizer(10987417, 21974834)
|
|
1098
|
+
*/
|
|
1099
|
+
function customerCustomizer(customerId, customizerAttributeId) {
|
|
1100
|
+
return `customers/${customerId}/customerCustomizers/${customizerAttributeId}`;
|
|
1101
|
+
}
|
|
1102
|
+
/**
|
|
1103
|
+
* @param {string | number} customerId
|
|
1104
|
+
* @param {string | number} labelId
|
|
1105
|
+
* @returns `CustomerLabelResourceName`
|
|
1106
|
+
* @example const customerLabel: ResourceNames.CustomerLabelResourceName = ResourceNames.customerLabel(10987417, 21974834)
|
|
1107
|
+
*/
|
|
1108
|
+
function customerLabel(customerId, labelId) {
|
|
1109
|
+
return `customers/${customerId}/customerLabels/${labelId}`;
|
|
1110
|
+
}
|
|
1111
|
+
/**
|
|
1112
|
+
* @param {string | number} customerId
|
|
1113
|
+
* @param {string | number} managerCustomerId
|
|
1114
|
+
* @param {string | number} managerLinkId
|
|
1115
|
+
* @returns `CustomerManagerLinkResourceName`
|
|
1116
|
+
* @example const customerManagerLink: ResourceNames.CustomerManagerLinkResourceName = ResourceNames.customerManagerLink(10987417, 21974834, 43949668)
|
|
1117
|
+
*/
|
|
1118
|
+
function customerManagerLink(customerId, managerCustomerId, managerLinkId) {
|
|
1119
|
+
return `customers/${customerId}/customerManagerLinks/${managerCustomerId}~${managerLinkId}`;
|
|
1120
|
+
}
|
|
1121
|
+
/**
|
|
1122
|
+
* @param {string | number} customerId
|
|
1123
|
+
* @param {string | number} criterionId
|
|
1124
|
+
* @returns `CustomerNegativeCriterionResourceName`
|
|
1125
|
+
* @example const customerNegativeCriterion: ResourceNames.CustomerNegativeCriterionResourceName = ResourceNames.customerNegativeCriterion(10987417, 21974834)
|
|
1126
|
+
*/
|
|
1127
|
+
function customerNegativeCriterion(customerId, criterionId) {
|
|
1128
|
+
return `customers/${customerId}/customerNegativeCriteria/${criterionId}`;
|
|
1129
|
+
}
|
|
1130
|
+
/**
|
|
1131
|
+
* @param {string | number} customerId
|
|
1132
|
+
* @param {string | number} clusterId
|
|
1133
|
+
* @returns `CustomerSearchTermInsightResourceName`
|
|
1134
|
+
* @example const customerSearchTermInsight: ResourceNames.CustomerSearchTermInsightResourceName = ResourceNames.customerSearchTermInsight(10987417, 21974834)
|
|
1135
|
+
*/
|
|
1136
|
+
function customerSearchTermInsight(customerId, clusterId) {
|
|
1137
|
+
return `customers/${customerId}/customerSearchTermInsights/${clusterId}`;
|
|
1138
|
+
}
|
|
1139
|
+
/**
|
|
1140
|
+
* @param {string | number} customerId
|
|
1141
|
+
* @param {string | number} accountLinkId
|
|
1142
|
+
* @returns `CustomerSkAdNetworkConversionValueSchemaResourceName`
|
|
1143
|
+
* @example const customerSkAdNetworkConversionValueSchema: ResourceNames.CustomerSkAdNetworkConversionValueSchemaResourceName = ResourceNames.customerSkAdNetworkConversionValueSchema(10987417, 21974834)
|
|
1144
|
+
*/
|
|
1145
|
+
function customerSkAdNetworkConversionValueSchema(customerId, accountLinkId) {
|
|
1146
|
+
return `customers/${customerId}/customerSkAdNetworkConversionValueSchemas/${accountLinkId}`;
|
|
1147
|
+
}
|
|
1148
|
+
/**
|
|
1149
|
+
* @param {string | number} customerId
|
|
1150
|
+
* @param {string | number} userId
|
|
1151
|
+
* @returns `CustomerUserAccessResourceName`
|
|
1152
|
+
* @example const customerUserAccess: ResourceNames.CustomerUserAccessResourceName = ResourceNames.customerUserAccess(10987417, 21974834)
|
|
1153
|
+
*/
|
|
1154
|
+
function customerUserAccess(customerId, userId) {
|
|
1155
|
+
return `customers/${customerId}/customerUserAccesses/${userId}`;
|
|
1156
|
+
}
|
|
1157
|
+
/**
|
|
1158
|
+
* @param {string | number} customerId
|
|
1159
|
+
* @param {string | number} invitationId
|
|
1160
|
+
* @returns `CustomerUserAccessInvitationResourceName`
|
|
1161
|
+
* @example const customerUserAccessInvitation: ResourceNames.CustomerUserAccessInvitationResourceName = ResourceNames.customerUserAccessInvitation(10987417, 21974834)
|
|
1162
|
+
*/
|
|
1163
|
+
function customerUserAccessInvitation(customerId, invitationId) {
|
|
1164
|
+
return `customers/${customerId}/customerUserAccessInvitations/${invitationId}`;
|
|
1165
|
+
}
|
|
1166
|
+
/**
|
|
1167
|
+
* @param {string | number} customerId
|
|
1168
|
+
* @param {string | number} customizerAttributeId
|
|
1169
|
+
* @returns `CustomizerAttributeResourceName`
|
|
1170
|
+
* @example const customizerAttribute: ResourceNames.CustomizerAttributeResourceName = ResourceNames.customizerAttribute(10987417, 21974834)
|
|
1171
|
+
*/
|
|
1172
|
+
function customizerAttribute(customerId, customizerAttributeId) {
|
|
1173
|
+
return `customers/${customerId}/customizerAttributes/${customizerAttributeId}`;
|
|
1174
|
+
}
|
|
1175
|
+
/**
|
|
1176
|
+
* @param {string | number} customerId
|
|
1177
|
+
* @param {string | number} productLinkId
|
|
1178
|
+
* @param {string | number} dataLinkId
|
|
1179
|
+
* @returns `DataLinkResourceName`
|
|
1180
|
+
* @example const dataLink: ResourceNames.DataLinkResourceName = ResourceNames.dataLink(10987417, 21974834, 43949668)
|
|
1181
|
+
*/
|
|
1182
|
+
function dataLink(customerId, productLinkId, dataLinkId) {
|
|
1183
|
+
return `customers/${customerId}/dataLinks/${productLinkId}~${dataLinkId}`;
|
|
1184
|
+
}
|
|
1185
|
+
/**
|
|
1186
|
+
* @param {string | number} customerId
|
|
1187
|
+
* @param {string | number} placementFingerprint
|
|
1188
|
+
* @returns `DetailContentSuitabilityPlacementViewResourceName`
|
|
1189
|
+
* @example const detailContentSuitabilityPlacementView: ResourceNames.DetailContentSuitabilityPlacementViewResourceName = ResourceNames.detailContentSuitabilityPlacementView(10987417, 21974834)
|
|
1190
|
+
*/
|
|
1191
|
+
function detailContentSuitabilityPlacementView(customerId, placementFingerprint) {
|
|
1192
|
+
return `customers/${customerId}/detailContentSuitabilityPlacementViews/${placementFingerprint}`;
|
|
1193
|
+
}
|
|
1194
|
+
/**
|
|
1195
|
+
* @param {string | number} customerId
|
|
1196
|
+
* @param {string | number} adGroupId
|
|
1197
|
+
* @param {string | number} base64Placement
|
|
1198
|
+
* @returns `DetailPlacementViewResourceName`
|
|
1199
|
+
* @example const detailPlacementView: ResourceNames.DetailPlacementViewResourceName = ResourceNames.detailPlacementView(10987417, 21974834, 43949668)
|
|
1200
|
+
*/
|
|
1201
|
+
function detailPlacementView(customerId, adGroupId, base64Placement) {
|
|
1202
|
+
return `customers/${customerId}/detailPlacementViews/${adGroupId}~${base64Placement}`;
|
|
1203
|
+
}
|
|
1204
|
+
/**
|
|
1205
|
+
* @param {string | number} customerId
|
|
1206
|
+
* @param {string | number} detailedDemographicId
|
|
1207
|
+
* @returns `DetailedDemographicResourceName`
|
|
1208
|
+
* @example const detailedDemographic: ResourceNames.DetailedDemographicResourceName = ResourceNames.detailedDemographic(10987417, 21974834)
|
|
1209
|
+
*/
|
|
1210
|
+
function detailedDemographic(customerId, detailedDemographicId) {
|
|
1211
|
+
return `customers/${customerId}/detailedDemographics/${detailedDemographicId}`;
|
|
1212
|
+
}
|
|
1213
|
+
/**
|
|
1214
|
+
* @param {string | number} customerId
|
|
1215
|
+
* @param {string | number} adGroupId
|
|
1216
|
+
* @param {string | number} criterionId
|
|
1217
|
+
* @returns `DisplayKeywordViewResourceName`
|
|
1218
|
+
* @example const displayKeywordView: ResourceNames.DisplayKeywordViewResourceName = ResourceNames.displayKeywordView(10987417, 21974834, 43949668)
|
|
1219
|
+
*/
|
|
1220
|
+
function displayKeywordView(customerId, adGroupId, criterionId) {
|
|
1221
|
+
return `customers/${customerId}/displayKeywordViews/${adGroupId}~${criterionId}`;
|
|
1222
|
+
}
|
|
1223
|
+
/**
|
|
1224
|
+
* @param {string | number} customerId
|
|
1225
|
+
* @param {string | number} placeholderChainId
|
|
1226
|
+
* @param {string | number} distanceBucket
|
|
1227
|
+
* @returns `DistanceViewResourceName`
|
|
1228
|
+
* @example const distanceView: ResourceNames.DistanceViewResourceName = ResourceNames.distanceView(10987417, 21974834, 43949668)
|
|
1229
|
+
*/
|
|
1230
|
+
function distanceView(customerId, placeholderChainId, distanceBucket) {
|
|
1231
|
+
return `customers/${customerId}/distanceViews/${placeholderChainId}~${distanceBucket}`;
|
|
1232
|
+
}
|
|
1233
|
+
/**
|
|
1234
|
+
* @param {string | number} customerId
|
|
1235
|
+
* @param {string | number} campaignId
|
|
1236
|
+
* @param {string | number} base64Category
|
|
1237
|
+
* @param {string | number} languageCode
|
|
1238
|
+
* @returns `DomainCategoryResourceName`
|
|
1239
|
+
* @example const domainCategory: ResourceNames.DomainCategoryResourceName = ResourceNames.domainCategory(10987417, 21974834, 43949668, 87899336)
|
|
1240
|
+
*/
|
|
1241
|
+
function domainCategory(customerId, campaignId, base64Category, languageCode) {
|
|
1242
|
+
return `customers/${customerId}/domainCategories/${campaignId}~${base64Category}~${languageCode}`;
|
|
1243
|
+
}
|
|
1244
|
+
/**
|
|
1245
|
+
* @param {string | number} customerId
|
|
1246
|
+
* @param {string | number} adGroupId
|
|
1247
|
+
* @param {string | number} searchTermFingerprint
|
|
1248
|
+
* @param {string | number} headlineFingerprint
|
|
1249
|
+
* @param {string | number} landingPageFingerprint
|
|
1250
|
+
* @param {string | number} pageUrlFingerprint
|
|
1251
|
+
* @returns `DynamicSearchAdsSearchTermViewResourceName`
|
|
1252
|
+
* @example const dynamicSearchAdsSearchTermView: ResourceNames.DynamicSearchAdsSearchTermViewResourceName = ResourceNames.dynamicSearchAdsSearchTermView(10987417, 21974834, 43949668, 87899336, 175798672, 351597344)
|
|
1253
|
+
*/
|
|
1254
|
+
function dynamicSearchAdsSearchTermView(customerId, adGroupId, searchTermFingerprint, headlineFingerprint, landingPageFingerprint, pageUrlFingerprint) {
|
|
1255
|
+
return `customers/${customerId}/dynamicSearchAdsSearchTermViews/${adGroupId}~${searchTermFingerprint}~${headlineFingerprint}~${landingPageFingerprint}~${pageUrlFingerprint}`;
|
|
1256
|
+
}
|
|
1257
|
+
/**
|
|
1258
|
+
* @param {string | number} customerId
|
|
1259
|
+
* @param {string | number} expandedFinalUrlFingerprint
|
|
1260
|
+
* @returns `ExpandedLandingPageViewResourceName`
|
|
1261
|
+
* @example const expandedLandingPageView: ResourceNames.ExpandedLandingPageViewResourceName = ResourceNames.expandedLandingPageView(10987417, 21974834)
|
|
1262
|
+
*/
|
|
1263
|
+
function expandedLandingPageView(customerId, expandedFinalUrlFingerprint) {
|
|
1264
|
+
return `customers/${customerId}/expandedLandingPageViews/${expandedFinalUrlFingerprint}`;
|
|
1265
|
+
}
|
|
1266
|
+
/**
|
|
1267
|
+
* @param {string | number} customerId
|
|
1268
|
+
* @param {string | number} trialId
|
|
1269
|
+
* @returns `ExperimentResourceName`
|
|
1270
|
+
* @example const experiment: ResourceNames.ExperimentResourceName = ResourceNames.experiment(10987417, 21974834)
|
|
1271
|
+
*/
|
|
1272
|
+
function experiment(customerId, trialId) {
|
|
1273
|
+
return `customers/${customerId}/experiments/${trialId}`;
|
|
1274
|
+
}
|
|
1275
|
+
/**
|
|
1276
|
+
* @param {string | number} customerId
|
|
1277
|
+
* @param {string | number} trialId
|
|
1278
|
+
* @param {string | number} trialArmId
|
|
1279
|
+
* @returns `ExperimentArmResourceName`
|
|
1280
|
+
* @example const experimentArm: ResourceNames.ExperimentArmResourceName = ResourceNames.experimentArm(10987417, 21974834, 43949668)
|
|
1281
|
+
*/
|
|
1282
|
+
function experimentArm(customerId, trialId, trialArmId) {
|
|
1283
|
+
return `customers/${customerId}/experimentArms/${trialId}~${trialArmId}`;
|
|
1284
|
+
}
|
|
1285
|
+
/**
|
|
1286
|
+
* @param {string | number} customerId
|
|
1287
|
+
* @param {string | number} campaignId
|
|
1288
|
+
* @param {string | number} assetId
|
|
1289
|
+
* @param {string | number} fieldType
|
|
1290
|
+
* @param {string | number} urlFp
|
|
1291
|
+
* @returns `FinalUrlExpansionAssetViewResourceName`
|
|
1292
|
+
* @example const finalUrlExpansionAssetView: ResourceNames.FinalUrlExpansionAssetViewResourceName = ResourceNames.finalUrlExpansionAssetView(10987417, 21974834, 43949668, 87899336, 175798672)
|
|
1293
|
+
*/
|
|
1294
|
+
function finalUrlExpansionAssetView(customerId, campaignId, assetId, fieldType, urlFp) {
|
|
1295
|
+
return `customers/${customerId}/finalUrlExpansionAssetViews/${campaignId}~${assetId}~${fieldType}~${urlFp}`;
|
|
1296
|
+
}
|
|
1297
|
+
/**
|
|
1298
|
+
* @param {string | number} customerId
|
|
1299
|
+
* @param {string | number} adGroupId
|
|
1300
|
+
* @param {string | number} criterionId
|
|
1301
|
+
* @returns `GenderViewResourceName`
|
|
1302
|
+
* @example const genderView: ResourceNames.GenderViewResourceName = ResourceNames.genderView(10987417, 21974834, 43949668)
|
|
1303
|
+
*/
|
|
1304
|
+
function genderView(customerId, adGroupId, criterionId) {
|
|
1305
|
+
return `customers/${customerId}/genderViews/${adGroupId}~${criterionId}`;
|
|
1306
|
+
}
|
|
1307
|
+
/**
|
|
1308
|
+
* @param {string | number} criterionId
|
|
1309
|
+
* @returns `GeoTargetConstantResourceName`
|
|
1310
|
+
* @example const geoTargetConstant: ResourceNames.GeoTargetConstantResourceName = ResourceNames.geoTargetConstant(10987417)
|
|
1311
|
+
*/
|
|
1312
|
+
function geoTargetConstant(criterionId) {
|
|
1313
|
+
return `geoTargetConstants/${criterionId}`;
|
|
1314
|
+
}
|
|
1315
|
+
/**
|
|
1316
|
+
* @param {string | number} customerId
|
|
1317
|
+
* @param {string | number} countryCriterionId
|
|
1318
|
+
* @param {string | number} locationType
|
|
1319
|
+
* @returns `GeographicViewResourceName`
|
|
1320
|
+
* @example const geographicView: ResourceNames.GeographicViewResourceName = ResourceNames.geographicView(10987417, 21974834, 43949668)
|
|
1321
|
+
*/
|
|
1322
|
+
function geographicView(customerId, countryCriterionId, locationType) {
|
|
1323
|
+
return `customers/${customerId}/geographicViews/${countryCriterionId}~${locationType}`;
|
|
1324
|
+
}
|
|
1325
|
+
/**
|
|
1326
|
+
* @param {string | number} customerId
|
|
1327
|
+
* @param {string | number} unifiedGoalId
|
|
1328
|
+
* @returns `GoalResourceName`
|
|
1329
|
+
* @example const goal: ResourceNames.GoalResourceName = ResourceNames.goal(10987417, 21974834)
|
|
1330
|
+
*/
|
|
1331
|
+
function goal(customerId, unifiedGoalId) {
|
|
1332
|
+
return `customers/${customerId}/goals/${unifiedGoalId}`;
|
|
1333
|
+
}
|
|
1334
|
+
/**
|
|
1335
|
+
* @param {string | number} googleAdsField
|
|
1336
|
+
* @returns `GoogleAdsFieldResourceName`
|
|
1337
|
+
* @example const googleAdsField: ResourceNames.GoogleAdsFieldResourceName = ResourceNames.googleAdsField(10987417)
|
|
1338
|
+
*/
|
|
1339
|
+
function googleAdsField(googleAdsField) {
|
|
1340
|
+
return `googleAdsFields/${googleAdsField}`;
|
|
1341
|
+
}
|
|
1342
|
+
/**
|
|
1343
|
+
* @param {string | number} customerId
|
|
1344
|
+
* @param {string | number} placementFingerprint
|
|
1345
|
+
* @returns `GroupContentSuitabilityPlacementViewResourceName`
|
|
1346
|
+
* @example const groupContentSuitabilityPlacementView: ResourceNames.GroupContentSuitabilityPlacementViewResourceName = ResourceNames.groupContentSuitabilityPlacementView(10987417, 21974834)
|
|
1347
|
+
*/
|
|
1348
|
+
function groupContentSuitabilityPlacementView(customerId, placementFingerprint) {
|
|
1349
|
+
return `customers/${customerId}/groupContentSuitabilityPlacementViews/${placementFingerprint}`;
|
|
1350
|
+
}
|
|
1351
|
+
/**
|
|
1352
|
+
* @param {string | number} customerId
|
|
1353
|
+
* @param {string | number} adGroupId
|
|
1354
|
+
* @param {string | number} base64Placement
|
|
1355
|
+
* @returns `GroupPlacementViewResourceName`
|
|
1356
|
+
* @example const groupPlacementView: ResourceNames.GroupPlacementViewResourceName = ResourceNames.groupPlacementView(10987417, 21974834, 43949668)
|
|
1357
|
+
*/
|
|
1358
|
+
function groupPlacementView(customerId, adGroupId, base64Placement) {
|
|
1359
|
+
return `customers/${customerId}/groupPlacementViews/${adGroupId}~${base64Placement}`;
|
|
1360
|
+
}
|
|
1361
|
+
/**
|
|
1362
|
+
* @param {string | number} customerId
|
|
1363
|
+
* @param {string | number} adGroupId
|
|
1364
|
+
* @param {string | number} criterionId
|
|
1365
|
+
* @returns `HotelGroupViewResourceName`
|
|
1366
|
+
* @example const hotelGroupView: ResourceNames.HotelGroupViewResourceName = ResourceNames.hotelGroupView(10987417, 21974834, 43949668)
|
|
1367
|
+
*/
|
|
1368
|
+
function hotelGroupView(customerId, adGroupId, criterionId) {
|
|
1369
|
+
return `customers/${customerId}/hotelGroupViews/${adGroupId}~${criterionId}`;
|
|
1370
|
+
}
|
|
1371
|
+
/**
|
|
1372
|
+
* @param {string | number} customerId
|
|
1373
|
+
* @returns `HotelPerformanceViewResourceName`
|
|
1374
|
+
* @example const hotelPerformanceView: ResourceNames.HotelPerformanceViewResourceName = ResourceNames.hotelPerformanceView(10987417)
|
|
1375
|
+
*/
|
|
1376
|
+
function hotelPerformanceView(customerId) {
|
|
1377
|
+
return `customers/${customerId}/hotelPerformanceView`;
|
|
1378
|
+
}
|
|
1379
|
+
/**
|
|
1380
|
+
* @param {string | number} customerId
|
|
1381
|
+
* @param {string | number} commissionId
|
|
1382
|
+
* @returns `HotelReconciliationResourceName`
|
|
1383
|
+
* @example const hotelReconciliation: ResourceNames.HotelReconciliationResourceName = ResourceNames.hotelReconciliation(10987417, 21974834)
|
|
1384
|
+
*/
|
|
1385
|
+
function hotelReconciliation(customerId, commissionId) {
|
|
1386
|
+
return `customers/${customerId}/hotelReconciliations/${commissionId}`;
|
|
1387
|
+
}
|
|
1388
|
+
/**
|
|
1389
|
+
* @param {string | number} customerId
|
|
1390
|
+
* @param {string | number} adGroupId
|
|
1391
|
+
* @param {string | number} criterionId
|
|
1392
|
+
* @returns `IncomeRangeViewResourceName`
|
|
1393
|
+
* @example const incomeRangeView: ResourceNames.IncomeRangeViewResourceName = ResourceNames.incomeRangeView(10987417, 21974834, 43949668)
|
|
1394
|
+
*/
|
|
1395
|
+
function incomeRangeView(customerId, adGroupId, criterionId) {
|
|
1396
|
+
return `customers/${customerId}/incomeRangeViews/${adGroupId}~${criterionId}`;
|
|
1397
|
+
}
|
|
1398
|
+
/**
|
|
1399
|
+
* @param {string | number} customerId
|
|
1400
|
+
* @param {string | number} invoiceId
|
|
1401
|
+
* @returns `InvoiceResourceName`
|
|
1402
|
+
* @example const invoice: ResourceNames.InvoiceResourceName = ResourceNames.invoice(10987417, 21974834)
|
|
1403
|
+
*/
|
|
1404
|
+
function invoice(customerId, invoiceId) {
|
|
1405
|
+
return `customers/${customerId}/invoices/${invoiceId}`;
|
|
1406
|
+
}
|
|
1407
|
+
/**
|
|
1408
|
+
* @param {string | number} customerId
|
|
1409
|
+
* @param {string | number} keywordPlanId
|
|
1410
|
+
* @returns `KeywordPlanResourceName`
|
|
1411
|
+
* @example const keywordPlan: ResourceNames.KeywordPlanResourceName = ResourceNames.keywordPlan(10987417, 21974834)
|
|
1412
|
+
*/
|
|
1413
|
+
function keywordPlan(customerId, keywordPlanId) {
|
|
1414
|
+
return `customers/${customerId}/keywordPlans/${keywordPlanId}`;
|
|
1415
|
+
}
|
|
1416
|
+
/**
|
|
1417
|
+
* @param {string | number} customerId
|
|
1418
|
+
* @param {string | number} keywordPlanAdGroupId
|
|
1419
|
+
* @returns `KeywordPlanAdGroupResourceName`
|
|
1420
|
+
* @example const keywordPlanAdGroup: ResourceNames.KeywordPlanAdGroupResourceName = ResourceNames.keywordPlanAdGroup(10987417, 21974834)
|
|
1421
|
+
*/
|
|
1422
|
+
function keywordPlanAdGroup(customerId, keywordPlanAdGroupId) {
|
|
1423
|
+
return `customers/${customerId}/keywordPlanAdGroups/${keywordPlanAdGroupId}`;
|
|
1424
|
+
}
|
|
1425
|
+
/**
|
|
1426
|
+
* @param {string | number} customerId
|
|
1427
|
+
* @param {string | number} keywordPlanAdGroupKeywordId
|
|
1428
|
+
* @returns `KeywordPlanAdGroupKeywordResourceName`
|
|
1429
|
+
* @example const keywordPlanAdGroupKeyword: ResourceNames.KeywordPlanAdGroupKeywordResourceName = ResourceNames.keywordPlanAdGroupKeyword(10987417, 21974834)
|
|
1430
|
+
*/
|
|
1431
|
+
function keywordPlanAdGroupKeyword(customerId, keywordPlanAdGroupKeywordId) {
|
|
1432
|
+
return `customers/${customerId}/keywordPlanAdGroupKeywords/${keywordPlanAdGroupKeywordId}`;
|
|
1433
|
+
}
|
|
1434
|
+
/**
|
|
1435
|
+
* @param {string | number} customerId
|
|
1436
|
+
* @param {string | number} keywordPlanCampaignId
|
|
1437
|
+
* @returns `KeywordPlanCampaignResourceName`
|
|
1438
|
+
* @example const keywordPlanCampaign: ResourceNames.KeywordPlanCampaignResourceName = ResourceNames.keywordPlanCampaign(10987417, 21974834)
|
|
1439
|
+
*/
|
|
1440
|
+
function keywordPlanCampaign(customerId, keywordPlanCampaignId) {
|
|
1441
|
+
return `customers/${customerId}/keywordPlanCampaigns/${keywordPlanCampaignId}`;
|
|
1442
|
+
}
|
|
1443
|
+
/**
|
|
1444
|
+
* @param {string | number} customerId
|
|
1445
|
+
* @param {string | number} keywordPlanCampaignKeywordId
|
|
1446
|
+
* @returns `KeywordPlanCampaignKeywordResourceName`
|
|
1447
|
+
* @example const keywordPlanCampaignKeyword: ResourceNames.KeywordPlanCampaignKeywordResourceName = ResourceNames.keywordPlanCampaignKeyword(10987417, 21974834)
|
|
1448
|
+
*/
|
|
1449
|
+
function keywordPlanCampaignKeyword(customerId, keywordPlanCampaignKeywordId) {
|
|
1450
|
+
return `customers/${customerId}/keywordPlanCampaignKeywords/${keywordPlanCampaignKeywordId}`;
|
|
1451
|
+
}
|
|
1452
|
+
/**
|
|
1453
|
+
* @param {string | number} expressCategoryId
|
|
1454
|
+
* @param {string | number} expressSubCategoryId
|
|
1455
|
+
* @returns `KeywordThemeConstantResourceName`
|
|
1456
|
+
* @example const keywordThemeConstant: ResourceNames.KeywordThemeConstantResourceName = ResourceNames.keywordThemeConstant(10987417, 21974834)
|
|
1457
|
+
*/
|
|
1458
|
+
function keywordThemeConstant(expressCategoryId, expressSubCategoryId) {
|
|
1459
|
+
return `keywordThemeConstants/${expressCategoryId}~${expressSubCategoryId}`;
|
|
1460
|
+
}
|
|
1461
|
+
/**
|
|
1462
|
+
* @param {string | number} customerId
|
|
1463
|
+
* @param {string | number} adGroupId
|
|
1464
|
+
* @param {string | number} criterionId
|
|
1465
|
+
* @returns `KeywordViewResourceName`
|
|
1466
|
+
* @example const keywordView: ResourceNames.KeywordViewResourceName = ResourceNames.keywordView(10987417, 21974834, 43949668)
|
|
1467
|
+
*/
|
|
1468
|
+
function keywordView(customerId, adGroupId, criterionId) {
|
|
1469
|
+
return `customers/${customerId}/keywordViews/${adGroupId}~${criterionId}`;
|
|
1470
|
+
}
|
|
1471
|
+
/**
|
|
1472
|
+
* @param {string | number} customerId
|
|
1473
|
+
* @param {string | number} labelId
|
|
1474
|
+
* @returns `LabelResourceName`
|
|
1475
|
+
* @example const label: ResourceNames.LabelResourceName = ResourceNames.label(10987417, 21974834)
|
|
1476
|
+
*/
|
|
1477
|
+
function label(customerId, labelId) {
|
|
1478
|
+
return `customers/${customerId}/labels/${labelId}`;
|
|
1479
|
+
}
|
|
1480
|
+
/**
|
|
1481
|
+
* @param {string | number} customerId
|
|
1482
|
+
* @param {string | number} unexpandedFinalUrlFingerprint
|
|
1483
|
+
* @returns `LandingPageViewResourceName`
|
|
1484
|
+
* @example const landingPageView: ResourceNames.LandingPageViewResourceName = ResourceNames.landingPageView(10987417, 21974834)
|
|
1485
|
+
*/
|
|
1486
|
+
function landingPageView(customerId, unexpandedFinalUrlFingerprint) {
|
|
1487
|
+
return `customers/${customerId}/landingPageViews/${unexpandedFinalUrlFingerprint}`;
|
|
1488
|
+
}
|
|
1489
|
+
/**
|
|
1490
|
+
* @param {string | number} criterionId
|
|
1491
|
+
* @returns `LanguageConstantResourceName`
|
|
1492
|
+
* @example const languageConstant: ResourceNames.LanguageConstantResourceName = ResourceNames.languageConstant(10987417)
|
|
1493
|
+
*/
|
|
1494
|
+
function languageConstant(criterionId) {
|
|
1495
|
+
return `languageConstants/${criterionId}`;
|
|
1496
|
+
}
|
|
1497
|
+
/**
|
|
1498
|
+
* @param {string | number} customerId
|
|
1499
|
+
* @param {string | number} leadFormUserSubmissionId
|
|
1500
|
+
* @returns `LeadFormSubmissionDataResourceName`
|
|
1501
|
+
* @example const leadFormSubmissionData: ResourceNames.LeadFormSubmissionDataResourceName = ResourceNames.leadFormSubmissionData(10987417, 21974834)
|
|
1502
|
+
*/
|
|
1503
|
+
function leadFormSubmissionData(customerId, leadFormUserSubmissionId) {
|
|
1504
|
+
return `customers/${customerId}/leadFormSubmissionData/${leadFormUserSubmissionId}`;
|
|
1505
|
+
}
|
|
1506
|
+
/**
|
|
1507
|
+
* @param {string | number} customerId
|
|
1508
|
+
* @param {string | number} lifeEventId
|
|
1509
|
+
* @returns `LifeEventResourceName`
|
|
1510
|
+
* @example const lifeEvent: ResourceNames.LifeEventResourceName = ResourceNames.lifeEvent(10987417, 21974834)
|
|
1511
|
+
*/
|
|
1512
|
+
function lifeEvent(customerId, lifeEventId) {
|
|
1513
|
+
return `customers/${customerId}/lifeEvents/${lifeEventId}`;
|
|
1514
|
+
}
|
|
1515
|
+
/**
|
|
1516
|
+
* @param {string | number} customerId
|
|
1517
|
+
* @param {string | number} liftMeasurementConfigurationId
|
|
1518
|
+
* @param {string | number} campaignId
|
|
1519
|
+
* @param {string | number} criterionId
|
|
1520
|
+
* @returns `LiftMeasurementAgeRangeResourceName`
|
|
1521
|
+
* @example const liftMeasurementAgeRange: ResourceNames.LiftMeasurementAgeRangeResourceName = ResourceNames.liftMeasurementAgeRange(10987417, 21974834, 43949668, 87899336)
|
|
1522
|
+
*/
|
|
1523
|
+
function liftMeasurementAgeRange(customerId, liftMeasurementConfigurationId, campaignId, criterionId) {
|
|
1524
|
+
return `customers/${customerId}/liftMeasurementAgeRanges/${liftMeasurementConfigurationId}~${campaignId}~${criterionId}`;
|
|
1525
|
+
}
|
|
1526
|
+
/**
|
|
1527
|
+
* @param {string | number} customerId
|
|
1528
|
+
* @param {string | number} liftMeasurementConfigurationId
|
|
1529
|
+
* @param {string | number} campaignId
|
|
1530
|
+
* @returns `LiftMeasurementCampaignResourceName`
|
|
1531
|
+
* @example const liftMeasurementCampaign: ResourceNames.LiftMeasurementCampaignResourceName = ResourceNames.liftMeasurementCampaign(10987417, 21974834, 43949668)
|
|
1532
|
+
*/
|
|
1533
|
+
function liftMeasurementCampaign(customerId, liftMeasurementConfigurationId, campaignId) {
|
|
1534
|
+
return `customers/${customerId}/liftMeasurementCampaigns/${liftMeasurementConfigurationId}~${campaignId}`;
|
|
1535
|
+
}
|
|
1536
|
+
/**
|
|
1537
|
+
* @param {string | number} customerId
|
|
1538
|
+
* @param {string | number} liftMeasurementConfigurationId
|
|
1539
|
+
* @returns `LiftMeasurementConfigResourceName`
|
|
1540
|
+
* @example const liftMeasurementConfig: ResourceNames.LiftMeasurementConfigResourceName = ResourceNames.liftMeasurementConfig(10987417, 21974834)
|
|
1541
|
+
*/
|
|
1542
|
+
function liftMeasurementConfig(customerId, liftMeasurementConfigurationId) {
|
|
1543
|
+
return `customers/${customerId}/liftMeasurementConfigs/${liftMeasurementConfigurationId}`;
|
|
1544
|
+
}
|
|
1545
|
+
/**
|
|
1546
|
+
* @param {string | number} customerId
|
|
1547
|
+
* @param {string | number} liftMeasurementConfigurationId
|
|
1548
|
+
* @param {string | number} campaignId
|
|
1549
|
+
* @param {string | number} criterionId
|
|
1550
|
+
* @returns `LiftMeasurementDeviceResourceName`
|
|
1551
|
+
* @example const liftMeasurementDevice: ResourceNames.LiftMeasurementDeviceResourceName = ResourceNames.liftMeasurementDevice(10987417, 21974834, 43949668, 87899336)
|
|
1552
|
+
*/
|
|
1553
|
+
function liftMeasurementDevice(customerId, liftMeasurementConfigurationId, campaignId, criterionId) {
|
|
1554
|
+
return `customers/${customerId}/liftMeasurementDevices/${liftMeasurementConfigurationId}~${campaignId}~${criterionId}`;
|
|
1555
|
+
}
|
|
1556
|
+
/**
|
|
1557
|
+
* @param {string | number} customerId
|
|
1558
|
+
* @param {string | number} liftMeasurementConfigurationId
|
|
1559
|
+
* @param {string | number} liftMeasurementFlightId
|
|
1560
|
+
* @returns `LiftMeasurementFlightResourceName`
|
|
1561
|
+
* @example const liftMeasurementFlight: ResourceNames.LiftMeasurementFlightResourceName = ResourceNames.liftMeasurementFlight(10987417, 21974834, 43949668)
|
|
1562
|
+
*/
|
|
1563
|
+
function liftMeasurementFlight(customerId, liftMeasurementConfigurationId, liftMeasurementFlightId) {
|
|
1564
|
+
return `customers/${customerId}/liftMeasurementFlights/${liftMeasurementConfigurationId}~${liftMeasurementFlightId}`;
|
|
1565
|
+
}
|
|
1566
|
+
/**
|
|
1567
|
+
* @param {string | number} customerId
|
|
1568
|
+
* @param {string | number} liftMeasurementConfigurationId
|
|
1569
|
+
* @param {string | number} campaignId
|
|
1570
|
+
* @param {string | number} criterionId
|
|
1571
|
+
* @returns `LiftMeasurementGenderResourceName`
|
|
1572
|
+
* @example const liftMeasurementGender: ResourceNames.LiftMeasurementGenderResourceName = ResourceNames.liftMeasurementGender(10987417, 21974834, 43949668, 87899336)
|
|
1573
|
+
*/
|
|
1574
|
+
function liftMeasurementGender(customerId, liftMeasurementConfigurationId, campaignId, criterionId) {
|
|
1575
|
+
return `customers/${customerId}/liftMeasurementGenders/${liftMeasurementConfigurationId}~${campaignId}~${criterionId}`;
|
|
1576
|
+
}
|
|
1577
|
+
/**
|
|
1578
|
+
* @param {string | number} customerId
|
|
1579
|
+
* @param {string | number} liftMeasurementConfigurationId
|
|
1580
|
+
* @param {string | number} campaignId
|
|
1581
|
+
* @param {string | number} externalVideoId
|
|
1582
|
+
* @returns `LiftMeasurementVideoResourceName`
|
|
1583
|
+
* @example const liftMeasurementVideo: ResourceNames.LiftMeasurementVideoResourceName = ResourceNames.liftMeasurementVideo(10987417, 21974834, 43949668, 87899336)
|
|
1584
|
+
*/
|
|
1585
|
+
function liftMeasurementVideo(customerId, liftMeasurementConfigurationId, campaignId, externalVideoId) {
|
|
1586
|
+
return `customers/${customerId}/liftMeasurementVideos/${liftMeasurementConfigurationId}~${campaignId}~${externalVideoId}`;
|
|
1587
|
+
}
|
|
1588
|
+
/**
|
|
1589
|
+
* @param {string | number} customerId
|
|
1590
|
+
* @param {string | number} glsEmployeeId
|
|
1591
|
+
* @returns `LocalServicesEmployeeResourceName`
|
|
1592
|
+
* @example const localServicesEmployee: ResourceNames.LocalServicesEmployeeResourceName = ResourceNames.localServicesEmployee(10987417, 21974834)
|
|
1593
|
+
*/
|
|
1594
|
+
function localServicesEmployee(customerId, glsEmployeeId) {
|
|
1595
|
+
return `customers/${customerId}/localServicesEmployees/${glsEmployeeId}`;
|
|
1596
|
+
}
|
|
1597
|
+
/**
|
|
1598
|
+
* @param {string | number} customerId
|
|
1599
|
+
* @param {string | number} localServicesLeadId
|
|
1600
|
+
* @returns `LocalServicesLeadResourceName`
|
|
1601
|
+
* @example const localServicesLead: ResourceNames.LocalServicesLeadResourceName = ResourceNames.localServicesLead(10987417, 21974834)
|
|
1602
|
+
*/
|
|
1603
|
+
function localServicesLead(customerId, localServicesLeadId) {
|
|
1604
|
+
return `customers/${customerId}/localServicesLeads/${localServicesLeadId}`;
|
|
1605
|
+
}
|
|
1606
|
+
/**
|
|
1607
|
+
* @param {string | number} customerId
|
|
1608
|
+
* @param {string | number} localServicesLeadConversationId
|
|
1609
|
+
* @returns `LocalServicesLeadConversationResourceName`
|
|
1610
|
+
* @example const localServicesLeadConversation: ResourceNames.LocalServicesLeadConversationResourceName = ResourceNames.localServicesLeadConversation(10987417, 21974834)
|
|
1611
|
+
*/
|
|
1612
|
+
function localServicesLeadConversation(customerId, localServicesLeadConversationId) {
|
|
1613
|
+
return `customers/${customerId}/localServicesLeadConversations/${localServicesLeadConversationId}`;
|
|
1614
|
+
}
|
|
1615
|
+
/**
|
|
1616
|
+
* @param {string | number} customerId
|
|
1617
|
+
* @param {string | number} glsVerificationArtifactId
|
|
1618
|
+
* @returns `LocalServicesVerificationArtifactResourceName`
|
|
1619
|
+
* @example const localServicesVerificationArtifact: ResourceNames.LocalServicesVerificationArtifactResourceName = ResourceNames.localServicesVerificationArtifact(10987417, 21974834)
|
|
1620
|
+
*/
|
|
1621
|
+
function localServicesVerificationArtifact(customerId, glsVerificationArtifactId) {
|
|
1622
|
+
return `customers/${customerId}/localServicesVerificationArtifacts/${glsVerificationArtifactId}`;
|
|
1623
|
+
}
|
|
1624
|
+
/**
|
|
1625
|
+
* @param {string | number} customerId
|
|
1626
|
+
* @param {string | number} campaignId
|
|
1627
|
+
* @param {string | number} adGroupId
|
|
1628
|
+
* @param {string | number} criterionId
|
|
1629
|
+
* @returns `LocationInterestViewResourceName`
|
|
1630
|
+
* @example const locationInterestView: ResourceNames.LocationInterestViewResourceName = ResourceNames.locationInterestView(10987417, 21974834, 43949668, 87899336)
|
|
1631
|
+
*/
|
|
1632
|
+
function locationInterestView(customerId, campaignId, adGroupId, criterionId) {
|
|
1633
|
+
return `customers/${customerId}/locationInterestViews/${campaignId}~${adGroupId}~${criterionId}`;
|
|
1634
|
+
}
|
|
1635
|
+
/**
|
|
1636
|
+
* @param {string | number} customerId
|
|
1637
|
+
* @param {string | number} campaignId
|
|
1638
|
+
* @param {string | number} criterionId
|
|
1639
|
+
* @returns `LocationViewResourceName`
|
|
1640
|
+
* @example const locationView: ResourceNames.LocationViewResourceName = ResourceNames.locationView(10987417, 21974834, 43949668)
|
|
1641
|
+
*/
|
|
1642
|
+
function locationView(customerId, campaignId, criterionId) {
|
|
1643
|
+
return `customers/${customerId}/locationViews/${campaignId}~${criterionId}`;
|
|
1644
|
+
}
|
|
1645
|
+
/**
|
|
1646
|
+
* @param {string | number} customerId
|
|
1647
|
+
* @param {string | number} adGroupId
|
|
1648
|
+
* @param {string | number} criterionId
|
|
1649
|
+
* @returns `ManagedPlacementViewResourceName`
|
|
1650
|
+
* @example const managedPlacementView: ResourceNames.ManagedPlacementViewResourceName = ResourceNames.managedPlacementView(10987417, 21974834, 43949668)
|
|
1651
|
+
*/
|
|
1652
|
+
function managedPlacementView(customerId, adGroupId, criterionId) {
|
|
1653
|
+
return `customers/${customerId}/managedPlacementViews/${adGroupId}~${criterionId}`;
|
|
1654
|
+
}
|
|
1655
|
+
/**
|
|
1656
|
+
* @param {string | number} customerId
|
|
1657
|
+
* @param {string | number} countryCriterionId
|
|
1658
|
+
* @returns `MatchedLocationInterestViewResourceName`
|
|
1659
|
+
* @example const matchedLocationInterestView: ResourceNames.MatchedLocationInterestViewResourceName = ResourceNames.matchedLocationInterestView(10987417, 21974834)
|
|
1660
|
+
*/
|
|
1661
|
+
function matchedLocationInterestView(customerId, countryCriterionId) {
|
|
1662
|
+
return `customers/${customerId}/matchedLocationInterestViews/${countryCriterionId}`;
|
|
1663
|
+
}
|
|
1664
|
+
/**
|
|
1665
|
+
* @param {string | number} customerId
|
|
1666
|
+
* @param {string | number} mediaFileId
|
|
1667
|
+
* @returns `MediaFileResourceName`
|
|
1668
|
+
* @example const mediaFile: ResourceNames.MediaFileResourceName = ResourceNames.mediaFile(10987417, 21974834)
|
|
1669
|
+
*/
|
|
1670
|
+
function mediaFile(customerId, mediaFileId) {
|
|
1671
|
+
return `customers/${customerId}/mediaFiles/${mediaFileId}`;
|
|
1672
|
+
}
|
|
1673
|
+
/**
|
|
1674
|
+
* @param {string | number} mobileAppCategoryId
|
|
1675
|
+
* @returns `MobileAppCategoryConstantResourceName`
|
|
1676
|
+
* @example const mobileAppCategoryConstant: ResourceNames.MobileAppCategoryConstantResourceName = ResourceNames.mobileAppCategoryConstant(10987417)
|
|
1677
|
+
*/
|
|
1678
|
+
function mobileAppCategoryConstant(mobileAppCategoryId) {
|
|
1679
|
+
return `mobileAppCategoryConstants/${mobileAppCategoryId}`;
|
|
1680
|
+
}
|
|
1681
|
+
/**
|
|
1682
|
+
* @param {string | number} criterionId
|
|
1683
|
+
* @returns `MobileDeviceConstantResourceName`
|
|
1684
|
+
* @example const mobileDeviceConstant: ResourceNames.MobileDeviceConstantResourceName = ResourceNames.mobileDeviceConstant(10987417)
|
|
1685
|
+
*/
|
|
1686
|
+
function mobileDeviceConstant(criterionId) {
|
|
1687
|
+
return `mobileDeviceConstants/${criterionId}`;
|
|
1688
|
+
}
|
|
1689
|
+
/**
|
|
1690
|
+
* @param {string | number} customerId
|
|
1691
|
+
* @param {string | number} customerInvitationId
|
|
1692
|
+
* @returns `MultiPartyAuthReviewResourceName`
|
|
1693
|
+
* @example const multiPartyAuthReview: ResourceNames.MultiPartyAuthReviewResourceName = ResourceNames.multiPartyAuthReview(10987417, 21974834)
|
|
1694
|
+
*/
|
|
1695
|
+
function multiPartyAuthReview(customerId, customerInvitationId) {
|
|
1696
|
+
return `customers/${customerId}/multiPartyAuthReviews/${customerInvitationId}`;
|
|
1697
|
+
}
|
|
1698
|
+
/**
|
|
1699
|
+
* @param {string | number} customerId
|
|
1700
|
+
* @param {string | number} client
|
|
1701
|
+
* @returns `OfflineConversionUploadClientSummaryResourceName`
|
|
1702
|
+
* @example const offlineConversionUploadClientSummary: ResourceNames.OfflineConversionUploadClientSummaryResourceName = ResourceNames.offlineConversionUploadClientSummary(10987417, 21974834)
|
|
1703
|
+
*/
|
|
1704
|
+
function offlineConversionUploadClientSummary(customerId, client) {
|
|
1705
|
+
return `customers/${customerId}/offlineConversionUploadClientSummaries/${client}`;
|
|
1706
|
+
}
|
|
1707
|
+
/**
|
|
1708
|
+
* @param {string | number} customerId
|
|
1709
|
+
* @param {string | number} conversionTypeId
|
|
1710
|
+
* @param {string | number} client
|
|
1711
|
+
* @returns `OfflineConversionUploadConversionActionSummaryResourceName`
|
|
1712
|
+
* @example const offlineConversionUploadConversionActionSummary: ResourceNames.OfflineConversionUploadConversionActionSummaryResourceName = ResourceNames.offlineConversionUploadConversionActionSummary(10987417, 21974834, 43949668)
|
|
1713
|
+
*/
|
|
1714
|
+
function offlineConversionUploadConversionActionSummary(customerId, conversionTypeId, client) {
|
|
1715
|
+
return `customers/${customerId}/offlineConversionUploadConversionActionSummaries/${conversionTypeId}~${client}`;
|
|
1716
|
+
}
|
|
1717
|
+
/**
|
|
1718
|
+
* @param {string | number} customerId
|
|
1719
|
+
* @param {string | number} offlineUserDataUpdateId
|
|
1720
|
+
* @returns `OfflineUserDataJobResourceName`
|
|
1721
|
+
* @example const offlineUserDataJob: ResourceNames.OfflineUserDataJobResourceName = ResourceNames.offlineUserDataJob(10987417, 21974834)
|
|
1722
|
+
*/
|
|
1723
|
+
function offlineUserDataJob(customerId, offlineUserDataUpdateId) {
|
|
1724
|
+
return `customers/${customerId}/offlineUserDataJobs/${offlineUserDataUpdateId}`;
|
|
1725
|
+
}
|
|
1726
|
+
/**
|
|
1727
|
+
* @param {string | number} criterionId
|
|
1728
|
+
* @returns `OperatingSystemVersionConstantResourceName`
|
|
1729
|
+
* @example const operatingSystemVersionConstant: ResourceNames.OperatingSystemVersionConstantResourceName = ResourceNames.operatingSystemVersionConstant(10987417)
|
|
1730
|
+
*/
|
|
1731
|
+
function operatingSystemVersionConstant(criterionId) {
|
|
1732
|
+
return `operatingSystemVersionConstants/${criterionId}`;
|
|
1733
|
+
}
|
|
1734
|
+
/**
|
|
1735
|
+
* @param {string | number} customerId
|
|
1736
|
+
* @param {string | number} campaignId
|
|
1737
|
+
* @param {string | number} adGroupId
|
|
1738
|
+
* @param {string | number} base64SearchTerm
|
|
1739
|
+
* @returns `PaidOrganicSearchTermViewResourceName`
|
|
1740
|
+
* @example const paidOrganicSearchTermView: ResourceNames.PaidOrganicSearchTermViewResourceName = ResourceNames.paidOrganicSearchTermView(10987417, 21974834, 43949668, 87899336)
|
|
1741
|
+
*/
|
|
1742
|
+
function paidOrganicSearchTermView(customerId, campaignId, adGroupId, base64SearchTerm) {
|
|
1743
|
+
return `customers/${customerId}/paidOrganicSearchTermViews/${campaignId}~${adGroupId}~${base64SearchTerm}`;
|
|
1744
|
+
}
|
|
1745
|
+
/**
|
|
1746
|
+
* @param {string | number} customerId
|
|
1747
|
+
* @param {string | number} adGroupId
|
|
1748
|
+
* @param {string | number} criterionId
|
|
1749
|
+
* @returns `ParentalStatusViewResourceName`
|
|
1750
|
+
* @example const parentalStatusView: ResourceNames.ParentalStatusViewResourceName = ResourceNames.parentalStatusView(10987417, 21974834, 43949668)
|
|
1751
|
+
*/
|
|
1752
|
+
function parentalStatusView(customerId, adGroupId, criterionId) {
|
|
1753
|
+
return `customers/${customerId}/parentalStatusViews/${adGroupId}~${criterionId}`;
|
|
1754
|
+
}
|
|
1755
|
+
/**
|
|
1756
|
+
* @param {string | number} customerId
|
|
1757
|
+
* @param {string | number} paymentsAccountId
|
|
1758
|
+
* @returns `PaymentsAccountResourceName`
|
|
1759
|
+
* @example const paymentsAccount: ResourceNames.PaymentsAccountResourceName = ResourceNames.paymentsAccount(10987417, 21974834)
|
|
1760
|
+
*/
|
|
1761
|
+
function paymentsAccount(customerId, paymentsAccountId) {
|
|
1762
|
+
return `customers/${customerId}/paymentsAccounts/${paymentsAccountId}`;
|
|
1763
|
+
}
|
|
1764
|
+
/**
|
|
1765
|
+
* @param {string | number} customerId
|
|
1766
|
+
* @param {string | number} placeId
|
|
1767
|
+
* @returns `PerStoreViewResourceName`
|
|
1768
|
+
* @example const perStoreView: ResourceNames.PerStoreViewResourceName = ResourceNames.perStoreView(10987417, 21974834)
|
|
1769
|
+
*/
|
|
1770
|
+
function perStoreView(customerId, placeId) {
|
|
1771
|
+
return `customers/${customerId}/perStoreViews/${placeId}`;
|
|
1772
|
+
}
|
|
1773
|
+
/**
|
|
1774
|
+
* @param {string | number} customerId
|
|
1775
|
+
* @param {string | number} base_64Placement
|
|
1776
|
+
* @returns `PerformanceMaxPlacementViewResourceName`
|
|
1777
|
+
* @example const performanceMaxPlacementView: ResourceNames.PerformanceMaxPlacementViewResourceName = ResourceNames.performanceMaxPlacementView(10987417, 21974834)
|
|
1778
|
+
*/
|
|
1779
|
+
function performanceMaxPlacementView(customerId, base_64Placement) {
|
|
1780
|
+
return `customers/${customerId}/performanceMaxPlacementViews/${base_64Placement}`;
|
|
1781
|
+
}
|
|
1782
|
+
/**
|
|
1783
|
+
* @param {string | number} level
|
|
1784
|
+
* @param {string | number} categoryId
|
|
1785
|
+
* @returns `ProductCategoryConstantResourceName`
|
|
1786
|
+
* @example const productCategoryConstant: ResourceNames.ProductCategoryConstantResourceName = ResourceNames.productCategoryConstant(10987417, 21974834)
|
|
1787
|
+
*/
|
|
1788
|
+
function productCategoryConstant(level, categoryId) {
|
|
1789
|
+
return `productCategoryConstants/${level}~${categoryId}`;
|
|
1790
|
+
}
|
|
1791
|
+
/**
|
|
1792
|
+
* @param {string | number} customerId
|
|
1793
|
+
* @param {string | number} adgroupId
|
|
1794
|
+
* @param {string | number} criterionId
|
|
1795
|
+
* @returns `ProductGroupViewResourceName`
|
|
1796
|
+
* @example const productGroupView: ResourceNames.ProductGroupViewResourceName = ResourceNames.productGroupView(10987417, 21974834, 43949668)
|
|
1797
|
+
*/
|
|
1798
|
+
function productGroupView(customerId, adgroupId, criterionId) {
|
|
1799
|
+
return `customers/${customerId}/productGroupViews/${adgroupId}~${criterionId}`;
|
|
1800
|
+
}
|
|
1801
|
+
/**
|
|
1802
|
+
* @param {string | number} customerId
|
|
1803
|
+
* @param {string | number} productLinkId
|
|
1804
|
+
* @returns `ProductLinkResourceName`
|
|
1805
|
+
* @example const productLink: ResourceNames.ProductLinkResourceName = ResourceNames.productLink(10987417, 21974834)
|
|
1806
|
+
*/
|
|
1807
|
+
function productLink(customerId, productLinkId) {
|
|
1808
|
+
return `customers/${customerId}/productLinks/${productLinkId}`;
|
|
1809
|
+
}
|
|
1810
|
+
/**
|
|
1811
|
+
* @param {string | number} customerId
|
|
1812
|
+
* @param {string | number} customerInvitationId
|
|
1813
|
+
* @returns `ProductLinkInvitationResourceName`
|
|
1814
|
+
* @example const productLinkInvitation: ResourceNames.ProductLinkInvitationResourceName = ResourceNames.productLinkInvitation(10987417, 21974834)
|
|
1815
|
+
*/
|
|
1816
|
+
function productLinkInvitation(customerId, customerInvitationId) {
|
|
1817
|
+
return `customers/${customerId}/productLinkInvitations/${customerInvitationId}`;
|
|
1818
|
+
}
|
|
1819
|
+
/**
|
|
1820
|
+
* @param {string | number} qualifyingQuestionId
|
|
1821
|
+
* @returns `QualifyingQuestionResourceName`
|
|
1822
|
+
* @example const qualifyingQuestion: ResourceNames.QualifyingQuestionResourceName = ResourceNames.qualifyingQuestion(10987417)
|
|
1823
|
+
*/
|
|
1824
|
+
function qualifyingQuestion(qualifyingQuestionId) {
|
|
1825
|
+
return `qualifyingQuestions/${qualifyingQuestionId}`;
|
|
1826
|
+
}
|
|
1827
|
+
/**
|
|
1828
|
+
* @param {string | number} customerId
|
|
1829
|
+
* @param {string | number} recommendationId
|
|
1830
|
+
* @returns `RecommendationResourceName`
|
|
1831
|
+
* @example const recommendation: ResourceNames.RecommendationResourceName = ResourceNames.recommendation(10987417, 21974834)
|
|
1832
|
+
*/
|
|
1833
|
+
function recommendation(customerId, recommendationId) {
|
|
1834
|
+
return `customers/${customerId}/recommendations/${recommendationId}`;
|
|
1835
|
+
}
|
|
1836
|
+
/**
|
|
1837
|
+
* @param {string | number} customerId
|
|
1838
|
+
* @param {string | number} recommendationType
|
|
1839
|
+
* @returns `RecommendationSubscriptionResourceName`
|
|
1840
|
+
* @example const recommendationSubscription: ResourceNames.RecommendationSubscriptionResourceName = ResourceNames.recommendationSubscription(10987417, 21974834)
|
|
1841
|
+
*/
|
|
1842
|
+
function recommendationSubscription(customerId, recommendationType) {
|
|
1843
|
+
return `customers/${customerId}/recommendationSubscriptions/${recommendationType}`;
|
|
1844
|
+
}
|
|
1845
|
+
/**
|
|
1846
|
+
* @param {string | number} customerId
|
|
1847
|
+
* @param {string | number} remarketingActionId
|
|
1848
|
+
* @returns `RemarketingActionResourceName`
|
|
1849
|
+
* @example const remarketingAction: ResourceNames.RemarketingActionResourceName = ResourceNames.remarketingAction(10987417, 21974834)
|
|
1850
|
+
*/
|
|
1851
|
+
function remarketingAction(customerId, remarketingActionId) {
|
|
1852
|
+
return `customers/${customerId}/remarketingActions/${remarketingActionId}`;
|
|
1853
|
+
}
|
|
1854
|
+
/**
|
|
1855
|
+
* @param {string | number} customerId
|
|
1856
|
+
* @param {string | number} campaignId
|
|
1857
|
+
* @param {string | number} adGroupId
|
|
1858
|
+
* @param {string | number} query
|
|
1859
|
+
* @returns `SearchTermViewResourceName`
|
|
1860
|
+
* @example const searchTermView: ResourceNames.SearchTermViewResourceName = ResourceNames.searchTermView(10987417, 21974834, 43949668, 87899336)
|
|
1861
|
+
*/
|
|
1862
|
+
function searchTermView(customerId, campaignId, adGroupId, query) {
|
|
1863
|
+
return `customers/${customerId}/searchTermViews/${campaignId}~${adGroupId}~${query}`;
|
|
1864
|
+
}
|
|
1865
|
+
/**
|
|
1866
|
+
* @param {string | number} customerId
|
|
1867
|
+
* @param {string | number} sharedSetId
|
|
1868
|
+
* @param {string | number} criterionId
|
|
1869
|
+
* @returns `SharedCriterionResourceName`
|
|
1870
|
+
* @example const sharedCriterion: ResourceNames.SharedCriterionResourceName = ResourceNames.sharedCriterion(10987417, 21974834, 43949668)
|
|
1871
|
+
*/
|
|
1872
|
+
function sharedCriterion(customerId, sharedSetId, criterionId) {
|
|
1873
|
+
return `customers/${customerId}/sharedCriteria/${sharedSetId}~${criterionId}`;
|
|
1874
|
+
}
|
|
1875
|
+
/**
|
|
1876
|
+
* @param {string | number} customerId
|
|
1877
|
+
* @param {string | number} sharedSetId
|
|
1878
|
+
* @returns `SharedSetResourceName`
|
|
1879
|
+
* @example const sharedSet: ResourceNames.SharedSetResourceName = ResourceNames.sharedSet(10987417, 21974834)
|
|
1880
|
+
*/
|
|
1881
|
+
function sharedSet(customerId, sharedSetId) {
|
|
1882
|
+
return `customers/${customerId}/sharedSets/${sharedSetId}`;
|
|
1883
|
+
}
|
|
1884
|
+
/**
|
|
1885
|
+
* @param {string | number} customerId
|
|
1886
|
+
* @returns `ShoppingPerformanceViewResourceName`
|
|
1887
|
+
* @example const shoppingPerformanceView: ResourceNames.ShoppingPerformanceViewResourceName = ResourceNames.shoppingPerformanceView(10987417)
|
|
1888
|
+
*/
|
|
1889
|
+
function shoppingPerformanceView(customerId) {
|
|
1890
|
+
return `customers/${customerId}/shoppingPerformanceView`;
|
|
1891
|
+
}
|
|
1892
|
+
/**
|
|
1893
|
+
* @param {string | number} customerId
|
|
1894
|
+
* @param {string | number} merchantCenterId
|
|
1895
|
+
* @param {string | number} channel
|
|
1896
|
+
* @param {string | number} languageCode
|
|
1897
|
+
* @param {string | number} feedLabel
|
|
1898
|
+
* @param {string | number} itemId
|
|
1899
|
+
* @returns `ShoppingProductResourceName`
|
|
1900
|
+
* @example const shoppingProduct: ResourceNames.ShoppingProductResourceName = ResourceNames.shoppingProduct(10987417, 21974834, 43949668, 87899336, 175798672, 351597344)
|
|
1901
|
+
*/
|
|
1902
|
+
function shoppingProduct(customerId, merchantCenterId, channel, languageCode, feedLabel, itemId) {
|
|
1903
|
+
return `customers/${customerId}/shoppingProducts/${merchantCenterId}~${channel}~${languageCode}~${feedLabel}~${itemId}`;
|
|
1904
|
+
}
|
|
1905
|
+
/**
|
|
1906
|
+
* @param {string | number} customerId
|
|
1907
|
+
* @param {string | number} campaignId
|
|
1908
|
+
* @param {string | number} query
|
|
1909
|
+
* @returns `SmartCampaignSearchTermViewResourceName`
|
|
1910
|
+
* @example const smartCampaignSearchTermView: ResourceNames.SmartCampaignSearchTermViewResourceName = ResourceNames.smartCampaignSearchTermView(10987417, 21974834, 43949668)
|
|
1911
|
+
*/
|
|
1912
|
+
function smartCampaignSearchTermView(customerId, campaignId, query) {
|
|
1913
|
+
return `customers/${customerId}/smartCampaignSearchTermViews/${campaignId}~${query}`;
|
|
1914
|
+
}
|
|
1915
|
+
/**
|
|
1916
|
+
* @param {string | number} customerId
|
|
1917
|
+
* @param {string | number} campaignId
|
|
1918
|
+
* @returns `SmartCampaignSettingResourceName`
|
|
1919
|
+
* @example const smartCampaignSetting: ResourceNames.SmartCampaignSettingResourceName = ResourceNames.smartCampaignSetting(10987417, 21974834)
|
|
1920
|
+
*/
|
|
1921
|
+
function smartCampaignSetting(customerId, campaignId) {
|
|
1922
|
+
return `customers/${customerId}/smartCampaignSettings/${campaignId}`;
|
|
1923
|
+
}
|
|
1924
|
+
/**
|
|
1925
|
+
* @param {string | number} customerId
|
|
1926
|
+
* @param {string | number} campaignId
|
|
1927
|
+
* @param {string | number} targetingExpansionType
|
|
1928
|
+
* @returns `TargetingExpansionViewResourceName`
|
|
1929
|
+
* @example const targetingExpansionView: ResourceNames.TargetingExpansionViewResourceName = ResourceNames.targetingExpansionView(10987417, 21974834, 43949668)
|
|
1930
|
+
*/
|
|
1931
|
+
function targetingExpansionView(customerId, campaignId, targetingExpansionType) {
|
|
1932
|
+
return `customers/${customerId}/targetingExpansionViews/${campaignId}~${targetingExpansionType}`;
|
|
1933
|
+
}
|
|
1934
|
+
/**
|
|
1935
|
+
* @param {string | number} customerId
|
|
1936
|
+
* @param {string | number} customerLinkId
|
|
1937
|
+
* @returns `ThirdPartyAppAnalyticsLinkResourceName`
|
|
1938
|
+
* @example const thirdPartyAppAnalyticsLink: ResourceNames.ThirdPartyAppAnalyticsLinkResourceName = ResourceNames.thirdPartyAppAnalyticsLink(10987417, 21974834)
|
|
1939
|
+
*/
|
|
1940
|
+
function thirdPartyAppAnalyticsLink(customerId, customerLinkId) {
|
|
1941
|
+
return `customers/${customerId}/thirdPartyAppAnalyticsLinks/${customerLinkId}`;
|
|
1942
|
+
}
|
|
1943
|
+
/**
|
|
1944
|
+
* @param {string | number} topicId
|
|
1945
|
+
* @returns `TopicConstantResourceName`
|
|
1946
|
+
* @example const topicConstant: ResourceNames.TopicConstantResourceName = ResourceNames.topicConstant(10987417)
|
|
1947
|
+
*/
|
|
1948
|
+
function topicConstant(topicId) {
|
|
1949
|
+
return `topicConstants/${topicId}`;
|
|
1950
|
+
}
|
|
1951
|
+
/**
|
|
1952
|
+
* @param {string | number} customerId
|
|
1953
|
+
* @param {string | number} adGroupId
|
|
1954
|
+
* @param {string | number} criterionId
|
|
1955
|
+
* @returns `TopicViewResourceName`
|
|
1956
|
+
* @example const topicView: ResourceNames.TopicViewResourceName = ResourceNames.topicView(10987417, 21974834, 43949668)
|
|
1957
|
+
*/
|
|
1958
|
+
function topicView(customerId, adGroupId, criterionId) {
|
|
1959
|
+
return `customers/${customerId}/topicViews/${adGroupId}~${criterionId}`;
|
|
1960
|
+
}
|
|
1961
|
+
/**
|
|
1962
|
+
* @param {string | number} customerId
|
|
1963
|
+
* @param {string | number} adGroupId
|
|
1964
|
+
* @param {string | number} criterionId
|
|
1965
|
+
* @returns `TravelActivityGroupViewResourceName`
|
|
1966
|
+
* @example const travelActivityGroupView: ResourceNames.TravelActivityGroupViewResourceName = ResourceNames.travelActivityGroupView(10987417, 21974834, 43949668)
|
|
1967
|
+
*/
|
|
1968
|
+
function travelActivityGroupView(customerId, adGroupId, criterionId) {
|
|
1969
|
+
return `customers/${customerId}/travelActivityGroupViews/${adGroupId}~${criterionId}`;
|
|
1970
|
+
}
|
|
1971
|
+
/**
|
|
1972
|
+
* @param {string | number} customerId
|
|
1973
|
+
* @returns `TravelActivityPerformanceViewResourceName`
|
|
1974
|
+
* @example const travelActivityPerformanceView: ResourceNames.TravelActivityPerformanceViewResourceName = ResourceNames.travelActivityPerformanceView(10987417)
|
|
1975
|
+
*/
|
|
1976
|
+
function travelActivityPerformanceView(customerId) {
|
|
1977
|
+
return `customers/${customerId}/travelActivityPerformanceViews`;
|
|
1978
|
+
}
|
|
1979
|
+
/**
|
|
1980
|
+
* @param {string | number} customerId
|
|
1981
|
+
* @param {string | number} userInterestId
|
|
1982
|
+
* @returns `UserInterestResourceName`
|
|
1983
|
+
* @example const userInterest: ResourceNames.UserInterestResourceName = ResourceNames.userInterest(10987417, 21974834)
|
|
1984
|
+
*/
|
|
1985
|
+
function userInterest(customerId, userInterestId) {
|
|
1986
|
+
return `customers/${customerId}/userInterests/${userInterestId}`;
|
|
1987
|
+
}
|
|
1988
|
+
/**
|
|
1989
|
+
* @param {string | number} customerId
|
|
1990
|
+
* @param {string | number} userListId
|
|
1991
|
+
* @returns `UserListResourceName`
|
|
1992
|
+
* @example const userList: ResourceNames.UserListResourceName = ResourceNames.userList(10987417, 21974834)
|
|
1993
|
+
*/
|
|
1994
|
+
function userList(customerId, userListId) {
|
|
1995
|
+
return `customers/${customerId}/userLists/${userListId}`;
|
|
1996
|
+
}
|
|
1997
|
+
/**
|
|
1998
|
+
* @param {string | number} customerId
|
|
1999
|
+
* @param {string | number} userListId
|
|
2000
|
+
* @param {string | number} semanticLabel
|
|
2001
|
+
* @returns `UserListCustomerTypeResourceName`
|
|
2002
|
+
* @example const userListCustomerType: ResourceNames.UserListCustomerTypeResourceName = ResourceNames.userListCustomerType(10987417, 21974834, 43949668)
|
|
2003
|
+
*/
|
|
2004
|
+
function userListCustomerType(customerId, userListId, semanticLabel) {
|
|
2005
|
+
return `customers/${customerId}/userListCustomerTypes/${userListId}~${semanticLabel}`;
|
|
2006
|
+
}
|
|
2007
|
+
/**
|
|
2008
|
+
* @param {string | number} customerId
|
|
2009
|
+
* @param {string | number} countryCriterionId
|
|
2010
|
+
* @param {string | number} isTargetingLocation
|
|
2011
|
+
* @returns `UserLocationViewResourceName`
|
|
2012
|
+
* @example const userLocationView: ResourceNames.UserLocationViewResourceName = ResourceNames.userLocationView(10987417, 21974834, 43949668)
|
|
2013
|
+
*/
|
|
2014
|
+
function userLocationView(customerId, countryCriterionId, isTargetingLocation) {
|
|
2015
|
+
return `customers/${customerId}/userLocationViews/${countryCriterionId}~${isTargetingLocation}`;
|
|
2016
|
+
}
|
|
2017
|
+
/**
|
|
2018
|
+
* @param {string | number} customerId
|
|
2019
|
+
* @param {string | number} videoId
|
|
2020
|
+
* @returns `VideoResourceName`
|
|
2021
|
+
* @example const video: ResourceNames.VideoResourceName = ResourceNames.video(10987417, 21974834)
|
|
2022
|
+
*/
|
|
2023
|
+
function video(customerId, videoId) {
|
|
2024
|
+
return `customers/${customerId}/videos/${videoId}`;
|
|
2025
|
+
}
|
|
2026
|
+
/**
|
|
2027
|
+
* @param {string | number} customerId
|
|
2028
|
+
* @param {string | number} videoEnhancement
|
|
2029
|
+
* @returns `VideoEnhancementResourceName`
|
|
2030
|
+
* @example const videoEnhancement: ResourceNames.VideoEnhancementResourceName = ResourceNames.videoEnhancement(10987417, 21974834)
|
|
2031
|
+
*/
|
|
2032
|
+
function videoEnhancement(customerId, videoEnhancement) {
|
|
2033
|
+
return `customers/${customerId}/videoEnhancements/${videoEnhancement}`;
|
|
2034
|
+
}
|
|
2035
|
+
/**
|
|
2036
|
+
* @param {string | number} customerId
|
|
2037
|
+
* @param {string | number} adGroupId
|
|
2038
|
+
* @param {string | number} criterionId
|
|
2039
|
+
* @returns `WebpageViewResourceName`
|
|
2040
|
+
* @example const webpageView: ResourceNames.WebpageViewResourceName = ResourceNames.webpageView(10987417, 21974834, 43949668)
|
|
2041
|
+
*/
|
|
2042
|
+
function webpageView(customerId, adGroupId, criterionId) {
|
|
2043
|
+
return `customers/${customerId}/webpageViews/${adGroupId}~${criterionId}`;
|
|
2044
|
+
}
|
|
2045
|
+
/**
|
|
2046
|
+
* @param {string | number} customerId
|
|
2047
|
+
* @param {string | number} videoUploadId
|
|
2048
|
+
* @returns `YouTubeVideoUploadResourceName`
|
|
2049
|
+
* @example const youTubeVideoUpload: ResourceNames.YouTubeVideoUploadResourceName = ResourceNames.youTubeVideoUpload(10987417, 21974834)
|
|
2050
|
+
*/
|
|
2051
|
+
function youTubeVideoUpload(customerId, videoUploadId) {
|
|
2052
|
+
return `customers/${customerId}/youTubeVideoUploads/${videoUploadId}`;
|
|
2053
|
+
}
|