google-ads-googleads 2.2.0 → 2.2.1
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.
- checksums.yaml +4 -4
- data/ChangeLog +3 -0
- data/lib/google/ads/google_ads/factories/v1/operations.rb +54 -0
- data/lib/google/ads/google_ads/factories/v1/services.rb +309 -103
- data/lib/google/ads/google_ads/google_ads_client.rb +28 -2
- data/lib/google/ads/google_ads/patch_lro_headers.rb +92 -0
- data/lib/google/ads/google_ads/version.rb +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc8e4f351fdb74766a4707c673e7128ce176d6ccd71ea7502f1239f9c9f541ae
|
4
|
+
data.tar.gz: a9d1a0e8b06282165ac3e164085f79b22fa3ab07ba71d645c4359cd113f48435
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7aea8684a68e7caee59fb24a5a4d89b36317759422c157f93ba41f51fddd31b2ec2d400b5f2d02ad9f16acf8ff5ca529012cf70e7a326254d3ca7131cb347007
|
7
|
+
data.tar.gz: 85a689bd378f7cc2d7943952dd205175137e579b39832c121e09e640c645a6d48a57299d78e2cbe3a1118ae615979048ac715b143d109b2c3e529a4f4afef301
|
data/ChangeLog
CHANGED
@@ -3164,6 +3164,7 @@ module Google
|
|
3164
3164
|
#
|
3165
3165
|
# @param path [String] the resource name of the resource to delete.
|
3166
3166
|
def self.feed_attribute(path)
|
3167
|
+
require "google/ads/google_ads/v1/resources/feed_pb.rb"
|
3167
3168
|
op = Google::Ads::GoogleAds::V1::Resources::FeedAttributeOperation.new
|
3168
3169
|
op["remove"] = path
|
3169
3170
|
op
|
@@ -3174,6 +3175,7 @@ module Google
|
|
3174
3175
|
#
|
3175
3176
|
# @param path [String] the resource name of the resource to delete.
|
3176
3177
|
def self.custom_interest(path)
|
3178
|
+
require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb"
|
3177
3179
|
op = Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new
|
3178
3180
|
op["remove"] = path
|
3179
3181
|
op
|
@@ -3184,6 +3186,7 @@ module Google
|
|
3184
3186
|
#
|
3185
3187
|
# @param path [String] the resource name of the resource to delete.
|
3186
3188
|
def self.remarketing_action(path)
|
3189
|
+
require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb"
|
3187
3190
|
op = Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new
|
3188
3191
|
op["remove"] = path
|
3189
3192
|
op
|
@@ -3194,6 +3197,7 @@ module Google
|
|
3194
3197
|
#
|
3195
3198
|
# @param path [String] the resource name of the resource to delete.
|
3196
3199
|
def self.keyword_plan_campaign(path)
|
3200
|
+
require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_pb.rb"
|
3197
3201
|
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation.new
|
3198
3202
|
op["remove"] = path
|
3199
3203
|
op
|
@@ -3204,6 +3208,7 @@ module Google
|
|
3204
3208
|
#
|
3205
3209
|
# @param path [String] the resource name of the resource to delete.
|
3206
3210
|
def self.ad_group_ad_label(path)
|
3211
|
+
require "google/ads/google_ads/v1/services/ad_group_ad_label_service_pb.rb"
|
3207
3212
|
op = Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation.new
|
3208
3213
|
op["remove"] = path
|
3209
3214
|
op
|
@@ -3214,6 +3219,7 @@ module Google
|
|
3214
3219
|
#
|
3215
3220
|
# @param path [String] the resource name of the resource to delete.
|
3216
3221
|
def self.ad_group_ad(path)
|
3222
|
+
require "google/ads/google_ads/v1/services/ad_group_ad_service_pb.rb"
|
3217
3223
|
op = Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation.new
|
3218
3224
|
op["remove"] = path
|
3219
3225
|
op
|
@@ -3224,6 +3230,7 @@ module Google
|
|
3224
3230
|
#
|
3225
3231
|
# @param path [String] the resource name of the resource to delete.
|
3226
3232
|
def self.ad_group_bid_modifier(path)
|
3233
|
+
require "google/ads/google_ads/v1/services/ad_group_bid_modifier_service_pb.rb"
|
3227
3234
|
op = Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation.new
|
3228
3235
|
op["remove"] = path
|
3229
3236
|
op
|
@@ -3234,6 +3241,7 @@ module Google
|
|
3234
3241
|
#
|
3235
3242
|
# @param path [String] the resource name of the resource to delete.
|
3236
3243
|
def self.ad_group_criterion_label(path)
|
3244
|
+
require "google/ads/google_ads/v1/services/ad_group_criterion_label_service_pb.rb"
|
3237
3245
|
op = Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation.new
|
3238
3246
|
op["remove"] = path
|
3239
3247
|
op
|
@@ -3244,6 +3252,7 @@ module Google
|
|
3244
3252
|
#
|
3245
3253
|
# @param path [String] the resource name of the resource to delete.
|
3246
3254
|
def self.ad_group_criterion(path)
|
3255
|
+
require "google/ads/google_ads/v1/services/ad_group_criterion_service_pb.rb"
|
3247
3256
|
op = Google::Ads::GoogleAds::V1::Services::AdGroupCriterionOperation.new
|
3248
3257
|
op["remove"] = path
|
3249
3258
|
op
|
@@ -3254,6 +3263,7 @@ module Google
|
|
3254
3263
|
#
|
3255
3264
|
# @param path [String] the resource name of the resource to delete.
|
3256
3265
|
def self.ad_group_extension_setting(path)
|
3266
|
+
require "google/ads/google_ads/v1/services/ad_group_extension_setting_service_pb.rb"
|
3257
3267
|
op = Google::Ads::GoogleAds::V1::Services::AdGroupExtensionSettingOperation.new
|
3258
3268
|
op["remove"] = path
|
3259
3269
|
op
|
@@ -3264,6 +3274,7 @@ module Google
|
|
3264
3274
|
#
|
3265
3275
|
# @param path [String] the resource name of the resource to delete.
|
3266
3276
|
def self.ad_group_feed(path)
|
3277
|
+
require "google/ads/google_ads/v1/services/ad_group_feed_service_pb.rb"
|
3267
3278
|
op = Google::Ads::GoogleAds::V1::Services::AdGroupFeedOperation.new
|
3268
3279
|
op["remove"] = path
|
3269
3280
|
op
|
@@ -3274,6 +3285,7 @@ module Google
|
|
3274
3285
|
#
|
3275
3286
|
# @param path [String] the resource name of the resource to delete.
|
3276
3287
|
def self.ad_group_label(path)
|
3288
|
+
require "google/ads/google_ads/v1/services/ad_group_label_service_pb.rb"
|
3277
3289
|
op = Google::Ads::GoogleAds::V1::Services::AdGroupLabelOperation.new
|
3278
3290
|
op["remove"] = path
|
3279
3291
|
op
|
@@ -3284,6 +3296,7 @@ module Google
|
|
3284
3296
|
#
|
3285
3297
|
# @param path [String] the resource name of the resource to delete.
|
3286
3298
|
def self.ad_group(path)
|
3299
|
+
require "google/ads/google_ads/v1/services/ad_group_service_pb.rb"
|
3287
3300
|
op = Google::Ads::GoogleAds::V1::Services::AdGroupOperation.new
|
3288
3301
|
op["remove"] = path
|
3289
3302
|
op
|
@@ -3294,6 +3307,7 @@ module Google
|
|
3294
3307
|
#
|
3295
3308
|
# @param path [String] the resource name of the resource to delete.
|
3296
3309
|
def self.ad_parameter(path)
|
3310
|
+
require "google/ads/google_ads/v1/services/ad_parameter_service_pb.rb"
|
3297
3311
|
op = Google::Ads::GoogleAds::V1::Services::AdParameterOperation.new
|
3298
3312
|
op["remove"] = path
|
3299
3313
|
op
|
@@ -3304,6 +3318,7 @@ module Google
|
|
3304
3318
|
#
|
3305
3319
|
# @param path [String] the resource name of the resource to delete.
|
3306
3320
|
def self.asset(path)
|
3321
|
+
require "google/ads/google_ads/v1/services/asset_service_pb.rb"
|
3307
3322
|
op = Google::Ads::GoogleAds::V1::Services::AssetOperation.new
|
3308
3323
|
op["remove"] = path
|
3309
3324
|
op
|
@@ -3314,6 +3329,7 @@ module Google
|
|
3314
3329
|
#
|
3315
3330
|
# @param path [String] the resource name of the resource to delete.
|
3316
3331
|
def self.bidding_strategy(path)
|
3332
|
+
require "google/ads/google_ads/v1/services/bidding_strategy_service_pb.rb"
|
3317
3333
|
op = Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation.new
|
3318
3334
|
op["remove"] = path
|
3319
3335
|
op
|
@@ -3324,6 +3340,7 @@ module Google
|
|
3324
3340
|
#
|
3325
3341
|
# @param path [String] the resource name of the resource to delete.
|
3326
3342
|
def self.campaign_bid_modifier(path)
|
3343
|
+
require "google/ads/google_ads/v1/services/campaign_bid_modifier_service_pb.rb"
|
3327
3344
|
op = Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation.new
|
3328
3345
|
op["remove"] = path
|
3329
3346
|
op
|
@@ -3334,6 +3351,7 @@ module Google
|
|
3334
3351
|
#
|
3335
3352
|
# @param path [String] the resource name of the resource to delete.
|
3336
3353
|
def self.campaign_budget(path)
|
3354
|
+
require "google/ads/google_ads/v1/services/campaign_budget_service_pb.rb"
|
3337
3355
|
op = Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation.new
|
3338
3356
|
op["remove"] = path
|
3339
3357
|
op
|
@@ -3344,6 +3362,7 @@ module Google
|
|
3344
3362
|
#
|
3345
3363
|
# @param path [String] the resource name of the resource to delete.
|
3346
3364
|
def self.campaign_criterion(path)
|
3365
|
+
require "google/ads/google_ads/v1/services/campaign_criterion_service_pb.rb"
|
3347
3366
|
op = Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation.new
|
3348
3367
|
op["remove"] = path
|
3349
3368
|
op
|
@@ -3354,6 +3373,7 @@ module Google
|
|
3354
3373
|
#
|
3355
3374
|
# @param path [String] the resource name of the resource to delete.
|
3356
3375
|
def self.campaign_draft(path)
|
3376
|
+
require "google/ads/google_ads/v1/services/campaign_draft_service_pb.rb"
|
3357
3377
|
op = Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation.new
|
3358
3378
|
op["remove"] = path
|
3359
3379
|
op
|
@@ -3364,6 +3384,7 @@ module Google
|
|
3364
3384
|
#
|
3365
3385
|
# @param path [String] the resource name of the resource to delete.
|
3366
3386
|
def self.campaign_experiment(path)
|
3387
|
+
require "google/ads/google_ads/v1/services/campaign_experiment_service_pb.rb"
|
3367
3388
|
op = Google::Ads::GoogleAds::V1::Services::CampaignExperimentOperation.new
|
3368
3389
|
op["remove"] = path
|
3369
3390
|
op
|
@@ -3374,6 +3395,7 @@ module Google
|
|
3374
3395
|
#
|
3375
3396
|
# @param path [String] the resource name of the resource to delete.
|
3376
3397
|
def self.campaign_extension_setting(path)
|
3398
|
+
require "google/ads/google_ads/v1/services/campaign_extension_setting_service_pb.rb"
|
3377
3399
|
op = Google::Ads::GoogleAds::V1::Services::CampaignExtensionSettingOperation.new
|
3378
3400
|
op["remove"] = path
|
3379
3401
|
op
|
@@ -3384,6 +3406,7 @@ module Google
|
|
3384
3406
|
#
|
3385
3407
|
# @param path [String] the resource name of the resource to delete.
|
3386
3408
|
def self.campaign_feed(path)
|
3409
|
+
require "google/ads/google_ads/v1/services/campaign_feed_service_pb.rb"
|
3387
3410
|
op = Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new
|
3388
3411
|
op["remove"] = path
|
3389
3412
|
op
|
@@ -3394,6 +3417,7 @@ module Google
|
|
3394
3417
|
#
|
3395
3418
|
# @param path [String] the resource name of the resource to delete.
|
3396
3419
|
def self.campaign_label(path)
|
3420
|
+
require "google/ads/google_ads/v1/services/campaign_label_service_pb.rb"
|
3397
3421
|
op = Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation.new
|
3398
3422
|
op["remove"] = path
|
3399
3423
|
op
|
@@ -3404,6 +3428,7 @@ module Google
|
|
3404
3428
|
#
|
3405
3429
|
# @param path [String] the resource name of the resource to delete.
|
3406
3430
|
def self.campaign(path)
|
3431
|
+
require "google/ads/google_ads/v1/services/campaign_service_pb.rb"
|
3407
3432
|
op = Google::Ads::GoogleAds::V1::Services::CampaignOperation.new
|
3408
3433
|
op["remove"] = path
|
3409
3434
|
op
|
@@ -3414,6 +3439,7 @@ module Google
|
|
3414
3439
|
#
|
3415
3440
|
# @param path [String] the resource name of the resource to delete.
|
3416
3441
|
def self.campaign_shared_set(path)
|
3442
|
+
require "google/ads/google_ads/v1/services/campaign_shared_set_service_pb.rb"
|
3417
3443
|
op = Google::Ads::GoogleAds::V1::Services::CampaignSharedSetOperation.new
|
3418
3444
|
op["remove"] = path
|
3419
3445
|
op
|
@@ -3424,6 +3450,7 @@ module Google
|
|
3424
3450
|
#
|
3425
3451
|
# @param path [String] the resource name of the resource to delete.
|
3426
3452
|
def self.conversion_action(path)
|
3453
|
+
require "google/ads/google_ads/v1/services/conversion_action_service_pb.rb"
|
3427
3454
|
op = Google::Ads::GoogleAds::V1::Services::ConversionActionOperation.new
|
3428
3455
|
op["remove"] = path
|
3429
3456
|
op
|
@@ -3434,6 +3461,7 @@ module Google
|
|
3434
3461
|
#
|
3435
3462
|
# @param path [String] the resource name of the resource to delete.
|
3436
3463
|
def self.customer_extension_setting(path)
|
3464
|
+
require "google/ads/google_ads/v1/services/customer_extension_setting_service_pb.rb"
|
3437
3465
|
op = Google::Ads::GoogleAds::V1::Services::CustomerExtensionSettingOperation.new
|
3438
3466
|
op["remove"] = path
|
3439
3467
|
op
|
@@ -3444,6 +3472,7 @@ module Google
|
|
3444
3472
|
#
|
3445
3473
|
# @param path [String] the resource name of the resource to delete.
|
3446
3474
|
def self.customer_feed(path)
|
3475
|
+
require "google/ads/google_ads/v1/services/customer_feed_service_pb.rb"
|
3447
3476
|
op = Google::Ads::GoogleAds::V1::Services::CustomerFeedOperation.new
|
3448
3477
|
op["remove"] = path
|
3449
3478
|
op
|
@@ -3454,6 +3483,7 @@ module Google
|
|
3454
3483
|
#
|
3455
3484
|
# @param path [String] the resource name of the resource to delete.
|
3456
3485
|
def self.customer_label(path)
|
3486
|
+
require "google/ads/google_ads/v1/services/customer_label_service_pb.rb"
|
3457
3487
|
op = Google::Ads::GoogleAds::V1::Services::CustomerLabelOperation.new
|
3458
3488
|
op["remove"] = path
|
3459
3489
|
op
|
@@ -3464,6 +3494,7 @@ module Google
|
|
3464
3494
|
#
|
3465
3495
|
# @param path [String] the resource name of the resource to delete.
|
3466
3496
|
def self.customer_negative_criterion(path)
|
3497
|
+
require "google/ads/google_ads/v1/services/customer_negative_criterion_service_pb.rb"
|
3467
3498
|
op = Google::Ads::GoogleAds::V1::Services::CustomerNegativeCriterionOperation.new
|
3468
3499
|
op["remove"] = path
|
3469
3500
|
op
|
@@ -3474,6 +3505,7 @@ module Google
|
|
3474
3505
|
#
|
3475
3506
|
# @param path [String] the resource name of the resource to delete.
|
3476
3507
|
def self.customer(path)
|
3508
|
+
require "google/ads/google_ads/v1/services/customer_service_pb.rb"
|
3477
3509
|
op = Google::Ads::GoogleAds::V1::Services::CustomerOperation.new
|
3478
3510
|
op["remove"] = path
|
3479
3511
|
op
|
@@ -3484,6 +3516,7 @@ module Google
|
|
3484
3516
|
#
|
3485
3517
|
# @param path [String] the resource name of the resource to delete.
|
3486
3518
|
def self.extension_feed_item(path)
|
3519
|
+
require "google/ads/google_ads/v1/services/extension_feed_item_service_pb.rb"
|
3487
3520
|
op = Google::Ads::GoogleAds::V1::Services::ExtensionFeedItemOperation.new
|
3488
3521
|
op["remove"] = path
|
3489
3522
|
op
|
@@ -3494,6 +3527,7 @@ module Google
|
|
3494
3527
|
#
|
3495
3528
|
# @param path [String] the resource name of the resource to delete.
|
3496
3529
|
def self.feed_item(path)
|
3530
|
+
require "google/ads/google_ads/v1/services/feed_item_service_pb.rb"
|
3497
3531
|
op = Google::Ads::GoogleAds::V1::Services::FeedItemOperation.new
|
3498
3532
|
op["remove"] = path
|
3499
3533
|
op
|
@@ -3504,6 +3538,7 @@ module Google
|
|
3504
3538
|
#
|
3505
3539
|
# @param path [String] the resource name of the resource to delete.
|
3506
3540
|
def self.feed_item_target(path)
|
3541
|
+
require "google/ads/google_ads/v1/services/feed_item_target_service_pb.rb"
|
3507
3542
|
op = Google::Ads::GoogleAds::V1::Services::FeedItemTargetOperation.new
|
3508
3543
|
op["remove"] = path
|
3509
3544
|
op
|
@@ -3514,6 +3549,7 @@ module Google
|
|
3514
3549
|
#
|
3515
3550
|
# @param path [String] the resource name of the resource to delete.
|
3516
3551
|
def self.feed_mapping(path)
|
3552
|
+
require "google/ads/google_ads/v1/services/feed_mapping_service_pb.rb"
|
3517
3553
|
op = Google::Ads::GoogleAds::V1::Services::FeedMappingOperation.new
|
3518
3554
|
op["remove"] = path
|
3519
3555
|
op
|
@@ -3524,6 +3560,7 @@ module Google
|
|
3524
3560
|
#
|
3525
3561
|
# @param path [String] the resource name of the resource to delete.
|
3526
3562
|
def self.feed(path)
|
3563
|
+
require "google/ads/google_ads/v1/services/feed_service_pb.rb"
|
3527
3564
|
op = Google::Ads::GoogleAds::V1::Services::FeedOperation.new
|
3528
3565
|
op["remove"] = path
|
3529
3566
|
op
|
@@ -3534,6 +3571,7 @@ module Google
|
|
3534
3571
|
#
|
3535
3572
|
# @param path [String] the resource name of the resource to delete.
|
3536
3573
|
def self.label(path)
|
3574
|
+
require "google/ads/google_ads/v1/services/label_service_pb.rb"
|
3537
3575
|
op = Google::Ads::GoogleAds::V1::Services::LabelOperation.new
|
3538
3576
|
op["remove"] = path
|
3539
3577
|
op
|
@@ -3544,6 +3582,7 @@ module Google
|
|
3544
3582
|
#
|
3545
3583
|
# @param path [String] the resource name of the resource to delete.
|
3546
3584
|
def self.media_file(path)
|
3585
|
+
require "google/ads/google_ads/v1/services/media_file_service_pb.rb"
|
3547
3586
|
op = Google::Ads::GoogleAds::V1::Services::MediaFileOperation.new
|
3548
3587
|
op["remove"] = path
|
3549
3588
|
op
|
@@ -3554,6 +3593,7 @@ module Google
|
|
3554
3593
|
#
|
3555
3594
|
# @param path [String] the resource name of the resource to delete.
|
3556
3595
|
def self.shared_criterion(path)
|
3596
|
+
require "google/ads/google_ads/v1/services/shared_criterion_service_pb.rb"
|
3557
3597
|
op = Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation.new
|
3558
3598
|
op["remove"] = path
|
3559
3599
|
op
|
@@ -3564,6 +3604,7 @@ module Google
|
|
3564
3604
|
#
|
3565
3605
|
# @param path [String] the resource name of the resource to delete.
|
3566
3606
|
def self.shared_set(path)
|
3607
|
+
require "google/ads/google_ads/v1/services/shared_set_service_pb.rb"
|
3567
3608
|
op = Google::Ads::GoogleAds::V1::Services::SharedSetOperation.new
|
3568
3609
|
op["remove"] = path
|
3569
3610
|
op
|
@@ -3574,6 +3615,7 @@ module Google
|
|
3574
3615
|
#
|
3575
3616
|
# @param path [String] the resource name of the resource to delete.
|
3576
3617
|
def self.user_list(path)
|
3618
|
+
require "google/ads/google_ads/v1/services/user_list_service_pb.rb"
|
3577
3619
|
op = Google::Ads::GoogleAds::V1::Services::UserListOperation.new
|
3578
3620
|
op["remove"] = path
|
3579
3621
|
op
|
@@ -3584,6 +3626,7 @@ module Google
|
|
3584
3626
|
#
|
3585
3627
|
# @param path [String] the resource name of the resource to delete.
|
3586
3628
|
def self.mutate(path)
|
3629
|
+
require "google/ads/google_ads/v1/services/google_ads_service_pb.rb"
|
3587
3630
|
op = Google::Ads::GoogleAds::V1::Services::MutateOperation.new
|
3588
3631
|
op["remove"] = path
|
3589
3632
|
op
|
@@ -3594,6 +3637,7 @@ module Google
|
|
3594
3637
|
#
|
3595
3638
|
# @param path [String] the resource name of the resource to delete.
|
3596
3639
|
def self.keyword_plan_keyword(path)
|
3640
|
+
require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_pb.rb"
|
3597
3641
|
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation.new
|
3598
3642
|
op["remove"] = path
|
3599
3643
|
op
|
@@ -3604,6 +3648,7 @@ module Google
|
|
3604
3648
|
#
|
3605
3649
|
# @param path [String] the resource name of the resource to delete.
|
3606
3650
|
def self.apply_recommendation(path)
|
3651
|
+
require "google/ads/google_ads/v1/services/recommendation_service_pb.rb"
|
3607
3652
|
op = Google::Ads::GoogleAds::V1::Services::ApplyRecommendationOperation.new
|
3608
3653
|
op["remove"] = path
|
3609
3654
|
op
|
@@ -3614,6 +3659,7 @@ module Google
|
|
3614
3659
|
#
|
3615
3660
|
# @param path [String] the resource name of the resource to delete.
|
3616
3661
|
def self.dismiss_recommendation(path)
|
3662
|
+
require "google/ads/google_ads/v1/services/recommendation_service_pb.rb"
|
3617
3663
|
op = Google::Ads::GoogleAds::V1::Services::DismissRecommendationRequest::DismissRecommendationOperation.new
|
3618
3664
|
op["remove"] = path
|
3619
3665
|
op
|
@@ -3624,6 +3670,7 @@ module Google
|
|
3624
3670
|
#
|
3625
3671
|
# @param path [String] the resource name of the resource to delete.
|
3626
3672
|
def self.keyword_plan_negative_keyword(path)
|
3673
|
+
require "google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_pb.rb"
|
3627
3674
|
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation.new
|
3628
3675
|
op["remove"] = path
|
3629
3676
|
op
|
@@ -3634,6 +3681,7 @@ module Google
|
|
3634
3681
|
#
|
3635
3682
|
# @param path [String] the resource name of the resource to delete.
|
3636
3683
|
def self.keyword_plan(path)
|
3684
|
+
require "google/ads/google_ads/v1/services/keyword_plan_service_pb.rb"
|
3637
3685
|
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation.new
|
3638
3686
|
op["remove"] = path
|
3639
3687
|
op
|
@@ -3644,6 +3692,7 @@ module Google
|
|
3644
3692
|
#
|
3645
3693
|
# @param path [String] the resource name of the resource to delete.
|
3646
3694
|
def self.merchant_center_link(path)
|
3695
|
+
require "google/ads/google_ads/v1/services/merchant_center_link_service_pb.rb"
|
3647
3696
|
op = Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkOperation.new
|
3648
3697
|
op["remove"] = path
|
3649
3698
|
op
|
@@ -3654,6 +3703,7 @@ module Google
|
|
3654
3703
|
#
|
3655
3704
|
# @param path [String] the resource name of the resource to delete.
|
3656
3705
|
def self.customer_manager_link(path)
|
3706
|
+
require "google/ads/google_ads/v1/services/customer_manager_link_service_pb.rb"
|
3657
3707
|
op = Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkOperation.new
|
3658
3708
|
op["remove"] = path
|
3659
3709
|
op
|
@@ -3664,6 +3714,7 @@ module Google
|
|
3664
3714
|
#
|
3665
3715
|
# @param path [String] the resource name of the resource to delete.
|
3666
3716
|
def self.account_budget_proposal(path)
|
3717
|
+
require "google/ads/google_ads/v1/services/account_budget_proposal_service_pb.rb"
|
3667
3718
|
op = Google::Ads::GoogleAds::V1::Services::AccountBudgetProposalOperation.new
|
3668
3719
|
op["remove"] = path
|
3669
3720
|
op
|
@@ -3674,6 +3725,7 @@ module Google
|
|
3674
3725
|
#
|
3675
3726
|
# @param path [String] the resource name of the resource to delete.
|
3676
3727
|
def self.customer_client_link(path)
|
3728
|
+
require "google/ads/google_ads/v1/services/customer_client_link_service_pb.rb"
|
3677
3729
|
op = Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation.new
|
3678
3730
|
op["remove"] = path
|
3679
3731
|
op
|
@@ -3684,6 +3736,7 @@ module Google
|
|
3684
3736
|
#
|
3685
3737
|
# @param path [String] the resource name of the resource to delete.
|
3686
3738
|
def self.billing_setup(path)
|
3739
|
+
require "google/ads/google_ads/v1/services/billing_setup_service_pb.rb"
|
3687
3740
|
op = Google::Ads::GoogleAds::V1::Services::BillingSetupOperation.new
|
3688
3741
|
op["remove"] = path
|
3689
3742
|
op
|
@@ -3694,6 +3747,7 @@ module Google
|
|
3694
3747
|
#
|
3695
3748
|
# @param path [String] the resource name of the resource to delete.
|
3696
3749
|
def self.keyword_plan_ad_group(path)
|
3750
|
+
require "google/ads/google_ads/v1/services/keyword_plan_ad_group_service_pb.rb"
|
3697
3751
|
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation.new
|
3698
3752
|
op["remove"] = path
|
3699
3753
|
op
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
@logging_interceptor != nil
|
27
27
|
end
|
28
28
|
|
29
|
-
def custom_interest
|
29
|
+
def custom_interest(&blk)
|
30
30
|
require "google/ads/google_ads/v1/services/custom_interest_service_client.rb"
|
31
31
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::CustomInterestServiceClient)
|
32
32
|
if have_service_path?
|
@@ -37,6 +37,8 @@ module Google
|
|
37
37
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
38
38
|
end
|
39
39
|
|
40
|
+
blk&.call(cls)
|
41
|
+
|
40
42
|
cls.new(
|
41
43
|
credentials: @credentials,
|
42
44
|
metadata: @metadata,
|
@@ -44,7 +46,7 @@ module Google
|
|
44
46
|
)
|
45
47
|
end
|
46
48
|
|
47
|
-
def change_status
|
49
|
+
def change_status(&blk)
|
48
50
|
require "google/ads/google_ads/v1/services/change_status_service_client.rb"
|
49
51
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::ChangeStatusServiceClient)
|
50
52
|
if have_service_path?
|
@@ -55,6 +57,8 @@ module Google
|
|
55
57
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
56
58
|
end
|
57
59
|
|
60
|
+
blk&.call(cls)
|
61
|
+
|
58
62
|
cls.new(
|
59
63
|
credentials: @credentials,
|
60
64
|
metadata: @metadata,
|
@@ -62,7 +66,7 @@ module Google
|
|
62
66
|
)
|
63
67
|
end
|
64
68
|
|
65
|
-
def remarketing_action
|
69
|
+
def remarketing_action(&blk)
|
66
70
|
require "google/ads/google_ads/v1/services/remarketing_action_service_client.rb"
|
67
71
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::RemarketingActionServiceClient)
|
68
72
|
if have_service_path?
|
@@ -73,6 +77,8 @@ module Google
|
|
73
77
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
74
78
|
end
|
75
79
|
|
80
|
+
blk&.call(cls)
|
81
|
+
|
76
82
|
cls.new(
|
77
83
|
credentials: @credentials,
|
78
84
|
metadata: @metadata,
|
@@ -80,7 +86,7 @@ module Google
|
|
80
86
|
)
|
81
87
|
end
|
82
88
|
|
83
|
-
def keyword_plan_campaign
|
89
|
+
def keyword_plan_campaign(&blk)
|
84
90
|
require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_client.rb"
|
85
91
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignServiceClient)
|
86
92
|
if have_service_path?
|
@@ -91,6 +97,8 @@ module Google
|
|
91
97
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
92
98
|
end
|
93
99
|
|
100
|
+
blk&.call(cls)
|
101
|
+
|
94
102
|
cls.new(
|
95
103
|
credentials: @credentials,
|
96
104
|
metadata: @metadata,
|
@@ -98,7 +106,7 @@ module Google
|
|
98
106
|
)
|
99
107
|
end
|
100
108
|
|
101
|
-
def google_ads
|
109
|
+
def google_ads(&blk)
|
102
110
|
require "google/ads/google_ads/v1/services/google_ads_service_client.rb"
|
103
111
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::GoogleAdsServiceClient)
|
104
112
|
if have_service_path?
|
@@ -109,6 +117,8 @@ module Google
|
|
109
117
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
110
118
|
end
|
111
119
|
|
120
|
+
blk&.call(cls)
|
121
|
+
|
112
122
|
cls.new(
|
113
123
|
credentials: @credentials,
|
114
124
|
metadata: @metadata,
|
@@ -116,7 +126,7 @@ module Google
|
|
116
126
|
)
|
117
127
|
end
|
118
128
|
|
119
|
-
def dynamic_search_ads_search_term_view
|
129
|
+
def dynamic_search_ads_search_term_view(&blk)
|
120
130
|
require "google/ads/google_ads/v1/services/dynamic_search_ads_search_term_view_service_client.rb"
|
121
131
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::DynamicSearchAdsSearchTermViewServiceClient)
|
122
132
|
if have_service_path?
|
@@ -127,6 +137,8 @@ module Google
|
|
127
137
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
128
138
|
end
|
129
139
|
|
140
|
+
blk&.call(cls)
|
141
|
+
|
130
142
|
cls.new(
|
131
143
|
credentials: @credentials,
|
132
144
|
metadata: @metadata,
|
@@ -134,7 +146,7 @@ module Google
|
|
134
146
|
)
|
135
147
|
end
|
136
148
|
|
137
|
-
def operating_system_version_constant
|
149
|
+
def operating_system_version_constant(&blk)
|
138
150
|
require "google/ads/google_ads/v1/services/operating_system_version_constant_service_client.rb"
|
139
151
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::OperatingSystemVersionConstantServiceClient)
|
140
152
|
if have_service_path?
|
@@ -145,6 +157,8 @@ module Google
|
|
145
157
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
146
158
|
end
|
147
159
|
|
160
|
+
blk&.call(cls)
|
161
|
+
|
148
162
|
cls.new(
|
149
163
|
credentials: @credentials,
|
150
164
|
metadata: @metadata,
|
@@ -152,7 +166,7 @@ module Google
|
|
152
166
|
)
|
153
167
|
end
|
154
168
|
|
155
|
-
def detail_placement_view
|
169
|
+
def detail_placement_view(&blk)
|
156
170
|
require "google/ads/google_ads/v1/services/detail_placement_view_service_client.rb"
|
157
171
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::DetailPlacementViewServiceClient)
|
158
172
|
if have_service_path?
|
@@ -163,6 +177,8 @@ module Google
|
|
163
177
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
164
178
|
end
|
165
179
|
|
180
|
+
blk&.call(cls)
|
181
|
+
|
166
182
|
cls.new(
|
167
183
|
credentials: @credentials,
|
168
184
|
metadata: @metadata,
|
@@ -170,7 +186,7 @@ module Google
|
|
170
186
|
)
|
171
187
|
end
|
172
188
|
|
173
|
-
def payments_account
|
189
|
+
def payments_account(&blk)
|
174
190
|
require "google/ads/google_ads/v1/services/payments_account_service_client.rb"
|
175
191
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::PaymentsAccountServiceClient)
|
176
192
|
if have_service_path?
|
@@ -181,6 +197,8 @@ module Google
|
|
181
197
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
182
198
|
end
|
183
199
|
|
200
|
+
blk&.call(cls)
|
201
|
+
|
184
202
|
cls.new(
|
185
203
|
credentials: @credentials,
|
186
204
|
metadata: @metadata,
|
@@ -188,7 +206,7 @@ module Google
|
|
188
206
|
)
|
189
207
|
end
|
190
208
|
|
191
|
-
def extension_feed_item
|
209
|
+
def extension_feed_item(&blk)
|
192
210
|
require "google/ads/google_ads/v1/services/extension_feed_item_service_client.rb"
|
193
211
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::ExtensionFeedItemServiceClient)
|
194
212
|
if have_service_path?
|
@@ -199,6 +217,8 @@ module Google
|
|
199
217
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
200
218
|
end
|
201
219
|
|
220
|
+
blk&.call(cls)
|
221
|
+
|
202
222
|
cls.new(
|
203
223
|
credentials: @credentials,
|
204
224
|
metadata: @metadata,
|
@@ -206,7 +226,7 @@ module Google
|
|
206
226
|
)
|
207
227
|
end
|
208
228
|
|
209
|
-
def feed
|
229
|
+
def feed(&blk)
|
210
230
|
require "google/ads/google_ads/v1/services/feed_service_client.rb"
|
211
231
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::FeedServiceClient)
|
212
232
|
if have_service_path?
|
@@ -217,6 +237,8 @@ module Google
|
|
217
237
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
218
238
|
end
|
219
239
|
|
240
|
+
blk&.call(cls)
|
241
|
+
|
220
242
|
cls.new(
|
221
243
|
credentials: @credentials,
|
222
244
|
metadata: @metadata,
|
@@ -224,7 +246,7 @@ module Google
|
|
224
246
|
)
|
225
247
|
end
|
226
248
|
|
227
|
-
def conversion_upload
|
249
|
+
def conversion_upload(&blk)
|
228
250
|
require "google/ads/google_ads/v1/services/conversion_upload_service_client.rb"
|
229
251
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::ConversionUploadServiceClient)
|
230
252
|
if have_service_path?
|
@@ -235,6 +257,8 @@ module Google
|
|
235
257
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
236
258
|
end
|
237
259
|
|
260
|
+
blk&.call(cls)
|
261
|
+
|
238
262
|
cls.new(
|
239
263
|
credentials: @credentials,
|
240
264
|
metadata: @metadata,
|
@@ -242,7 +266,7 @@ module Google
|
|
242
266
|
)
|
243
267
|
end
|
244
268
|
|
245
|
-
def ad_group_simulation
|
269
|
+
def ad_group_simulation(&blk)
|
246
270
|
require "google/ads/google_ads/v1/services/ad_group_simulation_service_client.rb"
|
247
271
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdGroupSimulationServiceClient)
|
248
272
|
if have_service_path?
|
@@ -253,6 +277,8 @@ module Google
|
|
253
277
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
254
278
|
end
|
255
279
|
|
280
|
+
blk&.call(cls)
|
281
|
+
|
256
282
|
cls.new(
|
257
283
|
credentials: @credentials,
|
258
284
|
metadata: @metadata,
|
@@ -260,7 +286,7 @@ module Google
|
|
260
286
|
)
|
261
287
|
end
|
262
288
|
|
263
|
-
def feed_mapping
|
289
|
+
def feed_mapping(&blk)
|
264
290
|
require "google/ads/google_ads/v1/services/feed_mapping_service_client.rb"
|
265
291
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::FeedMappingServiceClient)
|
266
292
|
if have_service_path?
|
@@ -271,6 +297,8 @@ module Google
|
|
271
297
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
272
298
|
end
|
273
299
|
|
300
|
+
blk&.call(cls)
|
301
|
+
|
274
302
|
cls.new(
|
275
303
|
credentials: @credentials,
|
276
304
|
metadata: @metadata,
|
@@ -278,7 +306,7 @@ module Google
|
|
278
306
|
)
|
279
307
|
end
|
280
308
|
|
281
|
-
def keyword_plan
|
309
|
+
def keyword_plan(&blk)
|
282
310
|
require "google/ads/google_ads/v1/services/keyword_plan_service_client.rb"
|
283
311
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::KeywordPlanServiceClient)
|
284
312
|
if have_service_path?
|
@@ -289,6 +317,8 @@ module Google
|
|
289
317
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
290
318
|
end
|
291
319
|
|
320
|
+
blk&.call(cls)
|
321
|
+
|
292
322
|
cls.new(
|
293
323
|
credentials: @credentials,
|
294
324
|
metadata: @metadata,
|
@@ -296,7 +326,7 @@ module Google
|
|
296
326
|
)
|
297
327
|
end
|
298
328
|
|
299
|
-
def campaign_extension_setting
|
329
|
+
def campaign_extension_setting(&blk)
|
300
330
|
require "google/ads/google_ads/v1/services/campaign_extension_setting_service_client.rb"
|
301
331
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::CampaignExtensionSettingServiceClient)
|
302
332
|
if have_service_path?
|
@@ -307,6 +337,8 @@ module Google
|
|
307
337
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
308
338
|
end
|
309
339
|
|
340
|
+
blk&.call(cls)
|
341
|
+
|
310
342
|
cls.new(
|
311
343
|
credentials: @credentials,
|
312
344
|
metadata: @metadata,
|
@@ -314,7 +346,7 @@ module Google
|
|
314
346
|
)
|
315
347
|
end
|
316
348
|
|
317
|
-
def campaign
|
349
|
+
def campaign(&blk)
|
318
350
|
require "google/ads/google_ads/v1/services/campaign_service_client.rb"
|
319
351
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::CampaignServiceClient)
|
320
352
|
if have_service_path?
|
@@ -325,6 +357,8 @@ module Google
|
|
325
357
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
326
358
|
end
|
327
359
|
|
360
|
+
blk&.call(cls)
|
361
|
+
|
328
362
|
cls.new(
|
329
363
|
credentials: @credentials,
|
330
364
|
metadata: @metadata,
|
@@ -332,7 +366,7 @@ module Google
|
|
332
366
|
)
|
333
367
|
end
|
334
368
|
|
335
|
-
def feed_item
|
369
|
+
def feed_item(&blk)
|
336
370
|
require "google/ads/google_ads/v1/services/feed_item_service_client.rb"
|
337
371
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::FeedItemServiceClient)
|
338
372
|
if have_service_path?
|
@@ -343,6 +377,8 @@ module Google
|
|
343
377
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
344
378
|
end
|
345
379
|
|
380
|
+
blk&.call(cls)
|
381
|
+
|
346
382
|
cls.new(
|
347
383
|
credentials: @credentials,
|
348
384
|
metadata: @metadata,
|
@@ -350,7 +386,7 @@ module Google
|
|
350
386
|
)
|
351
387
|
end
|
352
388
|
|
353
|
-
def shared_set
|
389
|
+
def shared_set(&blk)
|
354
390
|
require "google/ads/google_ads/v1/services/shared_set_service_client.rb"
|
355
391
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::SharedSetServiceClient)
|
356
392
|
if have_service_path?
|
@@ -361,6 +397,8 @@ module Google
|
|
361
397
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
362
398
|
end
|
363
399
|
|
400
|
+
blk&.call(cls)
|
401
|
+
|
364
402
|
cls.new(
|
365
403
|
credentials: @credentials,
|
366
404
|
metadata: @metadata,
|
@@ -368,7 +406,7 @@ module Google
|
|
368
406
|
)
|
369
407
|
end
|
370
408
|
|
371
|
-
def gender_view
|
409
|
+
def gender_view(&blk)
|
372
410
|
require "google/ads/google_ads/v1/services/gender_view_service_client.rb"
|
373
411
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::GenderViewServiceClient)
|
374
412
|
if have_service_path?
|
@@ -379,6 +417,8 @@ module Google
|
|
379
417
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
380
418
|
end
|
381
419
|
|
420
|
+
blk&.call(cls)
|
421
|
+
|
382
422
|
cls.new(
|
383
423
|
credentials: @credentials,
|
384
424
|
metadata: @metadata,
|
@@ -386,7 +426,7 @@ module Google
|
|
386
426
|
)
|
387
427
|
end
|
388
428
|
|
389
|
-
def ad_group_criterion_label
|
429
|
+
def ad_group_criterion_label(&blk)
|
390
430
|
require "google/ads/google_ads/v1/services/ad_group_criterion_label_service_client.rb"
|
391
431
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelServiceClient)
|
392
432
|
if have_service_path?
|
@@ -397,6 +437,8 @@ module Google
|
|
397
437
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
398
438
|
end
|
399
439
|
|
440
|
+
blk&.call(cls)
|
441
|
+
|
400
442
|
cls.new(
|
401
443
|
credentials: @credentials,
|
402
444
|
metadata: @metadata,
|
@@ -404,7 +446,7 @@ module Google
|
|
404
446
|
)
|
405
447
|
end
|
406
448
|
|
407
|
-
def ad_group_audience_view
|
449
|
+
def ad_group_audience_view(&blk)
|
408
450
|
require "google/ads/google_ads/v1/services/ad_group_audience_view_service_client.rb"
|
409
451
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdGroupAudienceViewServiceClient)
|
410
452
|
if have_service_path?
|
@@ -415,6 +457,8 @@ module Google
|
|
415
457
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
416
458
|
end
|
417
459
|
|
460
|
+
blk&.call(cls)
|
461
|
+
|
418
462
|
cls.new(
|
419
463
|
credentials: @credentials,
|
420
464
|
metadata: @metadata,
|
@@ -422,7 +466,7 @@ module Google
|
|
422
466
|
)
|
423
467
|
end
|
424
468
|
|
425
|
-
def merchant_center_link
|
469
|
+
def merchant_center_link(&blk)
|
426
470
|
require "google/ads/google_ads/v1/services/merchant_center_link_service_client.rb"
|
427
471
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkServiceClient)
|
428
472
|
if have_service_path?
|
@@ -433,6 +477,8 @@ module Google
|
|
433
477
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
434
478
|
end
|
435
479
|
|
480
|
+
blk&.call(cls)
|
481
|
+
|
436
482
|
cls.new(
|
437
483
|
credentials: @credentials,
|
438
484
|
metadata: @metadata,
|
@@ -440,7 +486,7 @@ module Google
|
|
440
486
|
)
|
441
487
|
end
|
442
488
|
|
443
|
-
def ad_group_feed
|
489
|
+
def ad_group_feed(&blk)
|
444
490
|
require "google/ads/google_ads/v1/services/ad_group_feed_service_client.rb"
|
445
491
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdGroupFeedServiceClient)
|
446
492
|
if have_service_path?
|
@@ -451,6 +497,8 @@ module Google
|
|
451
497
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
452
498
|
end
|
453
499
|
|
500
|
+
blk&.call(cls)
|
501
|
+
|
454
502
|
cls.new(
|
455
503
|
credentials: @credentials,
|
456
504
|
metadata: @metadata,
|
@@ -458,7 +506,7 @@ module Google
|
|
458
506
|
)
|
459
507
|
end
|
460
508
|
|
461
|
-
def customer_client
|
509
|
+
def customer_client(&blk)
|
462
510
|
require "google/ads/google_ads/v1/services/customer_client_service_client.rb"
|
463
511
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::CustomerClientServiceClient)
|
464
512
|
if have_service_path?
|
@@ -469,6 +517,8 @@ module Google
|
|
469
517
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
470
518
|
end
|
471
519
|
|
520
|
+
blk&.call(cls)
|
521
|
+
|
472
522
|
cls.new(
|
473
523
|
credentials: @credentials,
|
474
524
|
metadata: @metadata,
|
@@ -476,7 +526,7 @@ module Google
|
|
476
526
|
)
|
477
527
|
end
|
478
528
|
|
479
|
-
def mobile_device_constant
|
529
|
+
def mobile_device_constant(&blk)
|
480
530
|
require "google/ads/google_ads/v1/services/mobile_device_constant_service_client.rb"
|
481
531
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::MobileDeviceConstantServiceClient)
|
482
532
|
if have_service_path?
|
@@ -487,6 +537,8 @@ module Google
|
|
487
537
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
488
538
|
end
|
489
539
|
|
540
|
+
blk&.call(cls)
|
541
|
+
|
490
542
|
cls.new(
|
491
543
|
credentials: @credentials,
|
492
544
|
metadata: @metadata,
|
@@ -494,7 +546,7 @@ module Google
|
|
494
546
|
)
|
495
547
|
end
|
496
548
|
|
497
|
-
def carrier_constant
|
549
|
+
def carrier_constant(&blk)
|
498
550
|
require "google/ads/google_ads/v1/services/carrier_constant_service_client.rb"
|
499
551
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::CarrierConstantServiceClient)
|
500
552
|
if have_service_path?
|
@@ -505,6 +557,8 @@ module Google
|
|
505
557
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
506
558
|
end
|
507
559
|
|
560
|
+
blk&.call(cls)
|
561
|
+
|
508
562
|
cls.new(
|
509
563
|
credentials: @credentials,
|
510
564
|
metadata: @metadata,
|
@@ -512,7 +566,7 @@ module Google
|
|
512
566
|
)
|
513
567
|
end
|
514
568
|
|
515
|
-
def ad_group_criterion_simulation
|
569
|
+
def ad_group_criterion_simulation(&blk)
|
516
570
|
require "google/ads/google_ads/v1/services/ad_group_criterion_simulation_service_client.rb"
|
517
571
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdGroupCriterionSimulationServiceClient)
|
518
572
|
if have_service_path?
|
@@ -523,6 +577,8 @@ module Google
|
|
523
577
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
524
578
|
end
|
525
579
|
|
580
|
+
blk&.call(cls)
|
581
|
+
|
526
582
|
cls.new(
|
527
583
|
credentials: @credentials,
|
528
584
|
metadata: @metadata,
|
@@ -530,7 +586,7 @@ module Google
|
|
530
586
|
)
|
531
587
|
end
|
532
588
|
|
533
|
-
def bidding_strategy
|
589
|
+
def bidding_strategy(&blk)
|
534
590
|
require "google/ads/google_ads/v1/services/bidding_strategy_service_client.rb"
|
535
591
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::BiddingStrategyServiceClient)
|
536
592
|
if have_service_path?
|
@@ -541,6 +597,8 @@ module Google
|
|
541
597
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
542
598
|
end
|
543
599
|
|
600
|
+
blk&.call(cls)
|
601
|
+
|
544
602
|
cls.new(
|
545
603
|
credentials: @credentials,
|
546
604
|
metadata: @metadata,
|
@@ -548,7 +606,7 @@ module Google
|
|
548
606
|
)
|
549
607
|
end
|
550
608
|
|
551
|
-
def search_term_view
|
609
|
+
def search_term_view(&blk)
|
552
610
|
require "google/ads/google_ads/v1/services/search_term_view_service_client.rb"
|
553
611
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::SearchTermViewServiceClient)
|
554
612
|
if have_service_path?
|
@@ -559,6 +617,8 @@ module Google
|
|
559
617
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
560
618
|
end
|
561
619
|
|
620
|
+
blk&.call(cls)
|
621
|
+
|
562
622
|
cls.new(
|
563
623
|
credentials: @credentials,
|
564
624
|
metadata: @metadata,
|
@@ -566,7 +626,7 @@ module Google
|
|
566
626
|
)
|
567
627
|
end
|
568
628
|
|
569
|
-
def campaign_draft
|
629
|
+
def campaign_draft(&blk)
|
570
630
|
require "google/ads/google_ads/v1/services/campaign_draft_service_client.rb"
|
571
631
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::CampaignDraftServiceClient)
|
572
632
|
if have_service_path?
|
@@ -577,6 +637,8 @@ module Google
|
|
577
637
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
578
638
|
end
|
579
639
|
|
640
|
+
blk&.call(cls)
|
641
|
+
|
580
642
|
cls.new(
|
581
643
|
credentials: @credentials,
|
582
644
|
metadata: @metadata,
|
@@ -584,7 +646,7 @@ module Google
|
|
584
646
|
)
|
585
647
|
end
|
586
648
|
|
587
|
-
def operations_client
|
649
|
+
def operations_client(&blk)
|
588
650
|
require "google/ads/google_ads/v1/services/campaign_draft_service_client.rb"
|
589
651
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::CampaignDraftServiceClient::OperationsClient)
|
590
652
|
if have_service_path?
|
@@ -595,6 +657,8 @@ module Google
|
|
595
657
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
596
658
|
end
|
597
659
|
|
660
|
+
blk&.call(cls)
|
661
|
+
|
598
662
|
cls.new(
|
599
663
|
credentials: @credentials,
|
600
664
|
metadata: @metadata,
|
@@ -602,7 +666,7 @@ module Google
|
|
602
666
|
)
|
603
667
|
end
|
604
668
|
|
605
|
-
def asset
|
669
|
+
def asset(&blk)
|
606
670
|
require "google/ads/google_ads/v1/services/asset_service_client.rb"
|
607
671
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::AssetServiceClient)
|
608
672
|
if have_service_path?
|
@@ -613,6 +677,8 @@ module Google
|
|
613
677
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
614
678
|
end
|
615
679
|
|
680
|
+
blk&.call(cls)
|
681
|
+
|
616
682
|
cls.new(
|
617
683
|
credentials: @credentials,
|
618
684
|
metadata: @metadata,
|
@@ -620,7 +686,7 @@ module Google
|
|
620
686
|
)
|
621
687
|
end
|
622
688
|
|
623
|
-
def mobile_app_category_constant
|
689
|
+
def mobile_app_category_constant(&blk)
|
624
690
|
require "google/ads/google_ads/v1/services/mobile_app_category_constant_service_client.rb"
|
625
691
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::MobileAppCategoryConstantServiceClient)
|
626
692
|
if have_service_path?
|
@@ -631,6 +697,8 @@ module Google
|
|
631
697
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
632
698
|
end
|
633
699
|
|
700
|
+
blk&.call(cls)
|
701
|
+
|
634
702
|
cls.new(
|
635
703
|
credentials: @credentials,
|
636
704
|
metadata: @metadata,
|
@@ -638,7 +706,7 @@ module Google
|
|
638
706
|
)
|
639
707
|
end
|
640
708
|
|
641
|
-
def ad_group_ad
|
709
|
+
def ad_group_ad(&blk)
|
642
710
|
require "google/ads/google_ads/v1/services/ad_group_ad_service_client.rb"
|
643
711
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdGroupAdServiceClient)
|
644
712
|
if have_service_path?
|
@@ -649,6 +717,8 @@ module Google
|
|
649
717
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
650
718
|
end
|
651
719
|
|
720
|
+
blk&.call(cls)
|
721
|
+
|
652
722
|
cls.new(
|
653
723
|
credentials: @credentials,
|
654
724
|
metadata: @metadata,
|
@@ -656,7 +726,7 @@ module Google
|
|
656
726
|
)
|
657
727
|
end
|
658
728
|
|
659
|
-
def hotel_performance_view
|
729
|
+
def hotel_performance_view(&blk)
|
660
730
|
require "google/ads/google_ads/v1/services/hotel_performance_view_service_client.rb"
|
661
731
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::HotelPerformanceViewServiceClient)
|
662
732
|
if have_service_path?
|
@@ -667,6 +737,8 @@ module Google
|
|
667
737
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
668
738
|
end
|
669
739
|
|
740
|
+
blk&.call(cls)
|
741
|
+
|
670
742
|
cls.new(
|
671
743
|
credentials: @credentials,
|
672
744
|
metadata: @metadata,
|
@@ -674,7 +746,7 @@ module Google
|
|
674
746
|
)
|
675
747
|
end
|
676
748
|
|
677
|
-
def customer_label
|
749
|
+
def customer_label(&blk)
|
678
750
|
require "google/ads/google_ads/v1/services/customer_label_service_client.rb"
|
679
751
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::CustomerLabelServiceClient)
|
680
752
|
if have_service_path?
|
@@ -685,6 +757,8 @@ module Google
|
|
685
757
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
686
758
|
end
|
687
759
|
|
760
|
+
blk&.call(cls)
|
761
|
+
|
688
762
|
cls.new(
|
689
763
|
credentials: @credentials,
|
690
764
|
metadata: @metadata,
|
@@ -692,7 +766,7 @@ module Google
|
|
692
766
|
)
|
693
767
|
end
|
694
768
|
|
695
|
-
def keyword_plan_keyword
|
769
|
+
def keyword_plan_keyword(&blk)
|
696
770
|
require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_client.rb"
|
697
771
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordServiceClient)
|
698
772
|
if have_service_path?
|
@@ -703,6 +777,8 @@ module Google
|
|
703
777
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
704
778
|
end
|
705
779
|
|
780
|
+
blk&.call(cls)
|
781
|
+
|
706
782
|
cls.new(
|
707
783
|
credentials: @credentials,
|
708
784
|
metadata: @metadata,
|
@@ -710,7 +786,7 @@ module Google
|
|
710
786
|
)
|
711
787
|
end
|
712
788
|
|
713
|
-
def mutate_job
|
789
|
+
def mutate_job(&blk)
|
714
790
|
require "google/ads/google_ads/v1/services/mutate_job_service_client.rb"
|
715
791
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::MutateJobServiceClient)
|
716
792
|
if have_service_path?
|
@@ -721,6 +797,8 @@ module Google
|
|
721
797
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
722
798
|
end
|
723
799
|
|
800
|
+
blk&.call(cls)
|
801
|
+
|
724
802
|
cls.new(
|
725
803
|
credentials: @credentials,
|
726
804
|
metadata: @metadata,
|
@@ -728,7 +806,7 @@ module Google
|
|
728
806
|
)
|
729
807
|
end
|
730
808
|
|
731
|
-
def operations_client
|
809
|
+
def operations_client(&blk)
|
732
810
|
require "google/ads/google_ads/v1/services/mutate_job_service_client.rb"
|
733
811
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::MutateJobServiceClient::OperationsClient)
|
734
812
|
if have_service_path?
|
@@ -739,6 +817,8 @@ module Google
|
|
739
817
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
740
818
|
end
|
741
819
|
|
820
|
+
blk&.call(cls)
|
821
|
+
|
742
822
|
cls.new(
|
743
823
|
credentials: @credentials,
|
744
824
|
metadata: @metadata,
|
@@ -746,7 +826,7 @@ module Google
|
|
746
826
|
)
|
747
827
|
end
|
748
828
|
|
749
|
-
def ad_group_criterion
|
829
|
+
def ad_group_criterion(&blk)
|
750
830
|
require "google/ads/google_ads/v1/services/ad_group_criterion_service_client.rb"
|
751
831
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdGroupCriterionServiceClient)
|
752
832
|
if have_service_path?
|
@@ -757,6 +837,8 @@ module Google
|
|
757
837
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
758
838
|
end
|
759
839
|
|
840
|
+
blk&.call(cls)
|
841
|
+
|
760
842
|
cls.new(
|
761
843
|
credentials: @credentials,
|
762
844
|
metadata: @metadata,
|
@@ -764,7 +846,7 @@ module Google
|
|
764
846
|
)
|
765
847
|
end
|
766
848
|
|
767
|
-
def click_view
|
849
|
+
def click_view(&blk)
|
768
850
|
require "google/ads/google_ads/v1/services/click_view_service_client.rb"
|
769
851
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::ClickViewServiceClient)
|
770
852
|
if have_service_path?
|
@@ -775,6 +857,8 @@ module Google
|
|
775
857
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
776
858
|
end
|
777
859
|
|
860
|
+
blk&.call(cls)
|
861
|
+
|
778
862
|
cls.new(
|
779
863
|
credentials: @credentials,
|
780
864
|
metadata: @metadata,
|
@@ -782,7 +866,7 @@ module Google
|
|
782
866
|
)
|
783
867
|
end
|
784
868
|
|
785
|
-
def google_ads_field
|
869
|
+
def google_ads_field(&blk)
|
786
870
|
require "google/ads/google_ads/v1/services/google_ads_field_service_client.rb"
|
787
871
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::GoogleAdsFieldServiceClient)
|
788
872
|
if have_service_path?
|
@@ -793,6 +877,8 @@ module Google
|
|
793
877
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
794
878
|
end
|
795
879
|
|
880
|
+
blk&.call(cls)
|
881
|
+
|
796
882
|
cls.new(
|
797
883
|
credentials: @credentials,
|
798
884
|
metadata: @metadata,
|
@@ -800,7 +886,7 @@ module Google
|
|
800
886
|
)
|
801
887
|
end
|
802
888
|
|
803
|
-
def ad_group_bid_modifier
|
889
|
+
def ad_group_bid_modifier(&blk)
|
804
890
|
require "google/ads/google_ads/v1/services/ad_group_bid_modifier_service_client.rb"
|
805
891
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierServiceClient)
|
806
892
|
if have_service_path?
|
@@ -811,6 +897,8 @@ module Google
|
|
811
897
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
812
898
|
end
|
813
899
|
|
900
|
+
blk&.call(cls)
|
901
|
+
|
814
902
|
cls.new(
|
815
903
|
credentials: @credentials,
|
816
904
|
metadata: @metadata,
|
@@ -818,7 +906,7 @@ module Google
|
|
818
906
|
)
|
819
907
|
end
|
820
908
|
|
821
|
-
def campaign_label
|
909
|
+
def campaign_label(&blk)
|
822
910
|
require "google/ads/google_ads/v1/services/campaign_label_service_client.rb"
|
823
911
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::CampaignLabelServiceClient)
|
824
912
|
if have_service_path?
|
@@ -829,6 +917,8 @@ module Google
|
|
829
917
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
830
918
|
end
|
831
919
|
|
920
|
+
blk&.call(cls)
|
921
|
+
|
832
922
|
cls.new(
|
833
923
|
credentials: @credentials,
|
834
924
|
metadata: @metadata,
|
@@ -836,7 +926,7 @@ module Google
|
|
836
926
|
)
|
837
927
|
end
|
838
928
|
|
839
|
-
def campaign_experiment
|
929
|
+
def campaign_experiment(&blk)
|
840
930
|
require "google/ads/google_ads/v1/services/campaign_experiment_service_client.rb"
|
841
931
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::CampaignExperimentServiceClient)
|
842
932
|
if have_service_path?
|
@@ -847,6 +937,8 @@ module Google
|
|
847
937
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
848
938
|
end
|
849
939
|
|
940
|
+
blk&.call(cls)
|
941
|
+
|
850
942
|
cls.new(
|
851
943
|
credentials: @credentials,
|
852
944
|
metadata: @metadata,
|
@@ -854,7 +946,7 @@ module Google
|
|
854
946
|
)
|
855
947
|
end
|
856
948
|
|
857
|
-
def operations_client
|
949
|
+
def operations_client(&blk)
|
858
950
|
require "google/ads/google_ads/v1/services/campaign_experiment_service_client.rb"
|
859
951
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::CampaignExperimentServiceClient::OperationsClient)
|
860
952
|
if have_service_path?
|
@@ -865,6 +957,8 @@ module Google
|
|
865
957
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
866
958
|
end
|
867
959
|
|
960
|
+
blk&.call(cls)
|
961
|
+
|
868
962
|
cls.new(
|
869
963
|
credentials: @credentials,
|
870
964
|
metadata: @metadata,
|
@@ -872,7 +966,7 @@ module Google
|
|
872
966
|
)
|
873
967
|
end
|
874
968
|
|
875
|
-
def billing_setup
|
969
|
+
def billing_setup(&blk)
|
876
970
|
require "google/ads/google_ads/v1/services/billing_setup_service_client.rb"
|
877
971
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::BillingSetupServiceClient)
|
878
972
|
if have_service_path?
|
@@ -883,6 +977,8 @@ module Google
|
|
883
977
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
884
978
|
end
|
885
979
|
|
980
|
+
blk&.call(cls)
|
981
|
+
|
886
982
|
cls.new(
|
887
983
|
credentials: @credentials,
|
888
984
|
metadata: @metadata,
|
@@ -890,7 +986,7 @@ module Google
|
|
890
986
|
)
|
891
987
|
end
|
892
988
|
|
893
|
-
def media_file
|
989
|
+
def media_file(&blk)
|
894
990
|
require "google/ads/google_ads/v1/services/media_file_service_client.rb"
|
895
991
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::MediaFileServiceClient)
|
896
992
|
if have_service_path?
|
@@ -901,6 +997,8 @@ module Google
|
|
901
997
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
902
998
|
end
|
903
999
|
|
1000
|
+
blk&.call(cls)
|
1001
|
+
|
904
1002
|
cls.new(
|
905
1003
|
credentials: @credentials,
|
906
1004
|
metadata: @metadata,
|
@@ -908,7 +1006,7 @@ module Google
|
|
908
1006
|
)
|
909
1007
|
end
|
910
1008
|
|
911
|
-
def label
|
1009
|
+
def label(&blk)
|
912
1010
|
require "google/ads/google_ads/v1/services/label_service_client.rb"
|
913
1011
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::LabelServiceClient)
|
914
1012
|
if have_service_path?
|
@@ -919,6 +1017,8 @@ module Google
|
|
919
1017
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
920
1018
|
end
|
921
1019
|
|
1020
|
+
blk&.call(cls)
|
1021
|
+
|
922
1022
|
cls.new(
|
923
1023
|
credentials: @credentials,
|
924
1024
|
metadata: @metadata,
|
@@ -926,7 +1026,7 @@ module Google
|
|
926
1026
|
)
|
927
1027
|
end
|
928
1028
|
|
929
|
-
def parental_status_view
|
1029
|
+
def parental_status_view(&blk)
|
930
1030
|
require "google/ads/google_ads/v1/services/parental_status_view_service_client.rb"
|
931
1031
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::ParentalStatusViewServiceClient)
|
932
1032
|
if have_service_path?
|
@@ -937,6 +1037,8 @@ module Google
|
|
937
1037
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
938
1038
|
end
|
939
1039
|
|
1040
|
+
blk&.call(cls)
|
1041
|
+
|
940
1042
|
cls.new(
|
941
1043
|
credentials: @credentials,
|
942
1044
|
metadata: @metadata,
|
@@ -944,7 +1046,7 @@ module Google
|
|
944
1046
|
)
|
945
1047
|
end
|
946
1048
|
|
947
|
-
def geo_target_constant
|
1049
|
+
def geo_target_constant(&blk)
|
948
1050
|
require "google/ads/google_ads/v1/services/geo_target_constant_service_client.rb"
|
949
1051
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::GeoTargetConstantServiceClient)
|
950
1052
|
if have_service_path?
|
@@ -955,6 +1057,8 @@ module Google
|
|
955
1057
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
956
1058
|
end
|
957
1059
|
|
1060
|
+
blk&.call(cls)
|
1061
|
+
|
958
1062
|
cls.new(
|
959
1063
|
credentials: @credentials,
|
960
1064
|
metadata: @metadata,
|
@@ -962,7 +1066,7 @@ module Google
|
|
962
1066
|
)
|
963
1067
|
end
|
964
1068
|
|
965
|
-
def user_list
|
1069
|
+
def user_list(&blk)
|
966
1070
|
require "google/ads/google_ads/v1/services/user_list_service_client.rb"
|
967
1071
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::UserListServiceClient)
|
968
1072
|
if have_service_path?
|
@@ -973,6 +1077,8 @@ module Google
|
|
973
1077
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
974
1078
|
end
|
975
1079
|
|
1080
|
+
blk&.call(cls)
|
1081
|
+
|
976
1082
|
cls.new(
|
977
1083
|
credentials: @credentials,
|
978
1084
|
metadata: @metadata,
|
@@ -980,7 +1086,7 @@ module Google
|
|
980
1086
|
)
|
981
1087
|
end
|
982
1088
|
|
983
|
-
def shared_criterion
|
1089
|
+
def shared_criterion(&blk)
|
984
1090
|
require "google/ads/google_ads/v1/services/shared_criterion_service_client.rb"
|
985
1091
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::SharedCriterionServiceClient)
|
986
1092
|
if have_service_path?
|
@@ -991,6 +1097,8 @@ module Google
|
|
991
1097
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
992
1098
|
end
|
993
1099
|
|
1100
|
+
blk&.call(cls)
|
1101
|
+
|
994
1102
|
cls.new(
|
995
1103
|
credentials: @credentials,
|
996
1104
|
metadata: @metadata,
|
@@ -998,7 +1106,7 @@ module Google
|
|
998
1106
|
)
|
999
1107
|
end
|
1000
1108
|
|
1001
|
-
def topic_constant
|
1109
|
+
def topic_constant(&blk)
|
1002
1110
|
require "google/ads/google_ads/v1/services/topic_constant_service_client.rb"
|
1003
1111
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::TopicConstantServiceClient)
|
1004
1112
|
if have_service_path?
|
@@ -1009,6 +1117,8 @@ module Google
|
|
1009
1117
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1010
1118
|
end
|
1011
1119
|
|
1120
|
+
blk&.call(cls)
|
1121
|
+
|
1012
1122
|
cls.new(
|
1013
1123
|
credentials: @credentials,
|
1014
1124
|
metadata: @metadata,
|
@@ -1016,7 +1126,7 @@ module Google
|
|
1016
1126
|
)
|
1017
1127
|
end
|
1018
1128
|
|
1019
|
-
def managed_placement_view
|
1129
|
+
def managed_placement_view(&blk)
|
1020
1130
|
require "google/ads/google_ads/v1/services/managed_placement_view_service_client.rb"
|
1021
1131
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::ManagedPlacementViewServiceClient)
|
1022
1132
|
if have_service_path?
|
@@ -1027,6 +1137,8 @@ module Google
|
|
1027
1137
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1028
1138
|
end
|
1029
1139
|
|
1140
|
+
blk&.call(cls)
|
1141
|
+
|
1030
1142
|
cls.new(
|
1031
1143
|
credentials: @credentials,
|
1032
1144
|
metadata: @metadata,
|
@@ -1034,7 +1146,7 @@ module Google
|
|
1034
1146
|
)
|
1035
1147
|
end
|
1036
1148
|
|
1037
|
-
def campaign_budget
|
1149
|
+
def campaign_budget(&blk)
|
1038
1150
|
require "google/ads/google_ads/v1/services/campaign_budget_service_client.rb"
|
1039
1151
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::CampaignBudgetServiceClient)
|
1040
1152
|
if have_service_path?
|
@@ -1045,6 +1157,8 @@ module Google
|
|
1045
1157
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1046
1158
|
end
|
1047
1159
|
|
1160
|
+
blk&.call(cls)
|
1161
|
+
|
1048
1162
|
cls.new(
|
1049
1163
|
credentials: @credentials,
|
1050
1164
|
metadata: @metadata,
|
@@ -1052,7 +1166,7 @@ module Google
|
|
1052
1166
|
)
|
1053
1167
|
end
|
1054
1168
|
|
1055
|
-
def customer
|
1169
|
+
def customer(&blk)
|
1056
1170
|
require "google/ads/google_ads/v1/services/customer_service_client.rb"
|
1057
1171
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::CustomerServiceClient)
|
1058
1172
|
if have_service_path?
|
@@ -1063,6 +1177,8 @@ module Google
|
|
1063
1177
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1064
1178
|
end
|
1065
1179
|
|
1180
|
+
blk&.call(cls)
|
1181
|
+
|
1066
1182
|
cls.new(
|
1067
1183
|
credentials: @credentials,
|
1068
1184
|
metadata: @metadata,
|
@@ -1070,7 +1186,7 @@ module Google
|
|
1070
1186
|
)
|
1071
1187
|
end
|
1072
1188
|
|
1073
|
-
def keyword_plan_ad_group
|
1189
|
+
def keyword_plan_ad_group(&blk)
|
1074
1190
|
require "google/ads/google_ads/v1/services/keyword_plan_ad_group_service_client.rb"
|
1075
1191
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupServiceClient)
|
1076
1192
|
if have_service_path?
|
@@ -1081,6 +1197,8 @@ module Google
|
|
1081
1197
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1082
1198
|
end
|
1083
1199
|
|
1200
|
+
blk&.call(cls)
|
1201
|
+
|
1084
1202
|
cls.new(
|
1085
1203
|
credentials: @credentials,
|
1086
1204
|
metadata: @metadata,
|
@@ -1088,7 +1206,7 @@ module Google
|
|
1088
1206
|
)
|
1089
1207
|
end
|
1090
1208
|
|
1091
|
-
def campaign_feed
|
1209
|
+
def campaign_feed(&blk)
|
1092
1210
|
require "google/ads/google_ads/v1/services/campaign_feed_service_client.rb"
|
1093
1211
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::CampaignFeedServiceClient)
|
1094
1212
|
if have_service_path?
|
@@ -1099,6 +1217,8 @@ module Google
|
|
1099
1217
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1100
1218
|
end
|
1101
1219
|
|
1220
|
+
blk&.call(cls)
|
1221
|
+
|
1102
1222
|
cls.new(
|
1103
1223
|
credentials: @credentials,
|
1104
1224
|
metadata: @metadata,
|
@@ -1106,7 +1226,7 @@ module Google
|
|
1106
1226
|
)
|
1107
1227
|
end
|
1108
1228
|
|
1109
|
-
def ad_group
|
1229
|
+
def ad_group(&blk)
|
1110
1230
|
require "google/ads/google_ads/v1/services/ad_group_service_client.rb"
|
1111
1231
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdGroupServiceClient)
|
1112
1232
|
if have_service_path?
|
@@ -1117,6 +1237,8 @@ module Google
|
|
1117
1237
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1118
1238
|
end
|
1119
1239
|
|
1240
|
+
blk&.call(cls)
|
1241
|
+
|
1120
1242
|
cls.new(
|
1121
1243
|
credentials: @credentials,
|
1122
1244
|
metadata: @metadata,
|
@@ -1124,7 +1246,7 @@ module Google
|
|
1124
1246
|
)
|
1125
1247
|
end
|
1126
1248
|
|
1127
|
-
def campaign_audience_view
|
1249
|
+
def campaign_audience_view(&blk)
|
1128
1250
|
require "google/ads/google_ads/v1/services/campaign_audience_view_service_client.rb"
|
1129
1251
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::CampaignAudienceViewServiceClient)
|
1130
1252
|
if have_service_path?
|
@@ -1135,6 +1257,8 @@ module Google
|
|
1135
1257
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1136
1258
|
end
|
1137
1259
|
|
1260
|
+
blk&.call(cls)
|
1261
|
+
|
1138
1262
|
cls.new(
|
1139
1263
|
credentials: @credentials,
|
1140
1264
|
metadata: @metadata,
|
@@ -1142,7 +1266,7 @@ module Google
|
|
1142
1266
|
)
|
1143
1267
|
end
|
1144
1268
|
|
1145
|
-
def keyword_view
|
1269
|
+
def keyword_view(&blk)
|
1146
1270
|
require "google/ads/google_ads/v1/services/keyword_view_service_client.rb"
|
1147
1271
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::KeywordViewServiceClient)
|
1148
1272
|
if have_service_path?
|
@@ -1153,6 +1277,8 @@ module Google
|
|
1153
1277
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1154
1278
|
end
|
1155
1279
|
|
1280
|
+
blk&.call(cls)
|
1281
|
+
|
1156
1282
|
cls.new(
|
1157
1283
|
credentials: @credentials,
|
1158
1284
|
metadata: @metadata,
|
@@ -1160,7 +1286,7 @@ module Google
|
|
1160
1286
|
)
|
1161
1287
|
end
|
1162
1288
|
|
1163
|
-
def product_bidding_category_constant
|
1289
|
+
def product_bidding_category_constant(&blk)
|
1164
1290
|
require "google/ads/google_ads/v1/services/product_bidding_category_constant_service_client.rb"
|
1165
1291
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::ProductBiddingCategoryConstantServiceClient)
|
1166
1292
|
if have_service_path?
|
@@ -1171,6 +1297,8 @@ module Google
|
|
1171
1297
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1172
1298
|
end
|
1173
1299
|
|
1300
|
+
blk&.call(cls)
|
1301
|
+
|
1174
1302
|
cls.new(
|
1175
1303
|
credentials: @credentials,
|
1176
1304
|
metadata: @metadata,
|
@@ -1178,7 +1306,7 @@ module Google
|
|
1178
1306
|
)
|
1179
1307
|
end
|
1180
1308
|
|
1181
|
-
def conversion_action
|
1309
|
+
def conversion_action(&blk)
|
1182
1310
|
require "google/ads/google_ads/v1/services/conversion_action_service_client.rb"
|
1183
1311
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::ConversionActionServiceClient)
|
1184
1312
|
if have_service_path?
|
@@ -1189,6 +1317,8 @@ module Google
|
|
1189
1317
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1190
1318
|
end
|
1191
1319
|
|
1320
|
+
blk&.call(cls)
|
1321
|
+
|
1192
1322
|
cls.new(
|
1193
1323
|
credentials: @credentials,
|
1194
1324
|
metadata: @metadata,
|
@@ -1196,7 +1326,7 @@ module Google
|
|
1196
1326
|
)
|
1197
1327
|
end
|
1198
1328
|
|
1199
|
-
def video
|
1329
|
+
def video(&blk)
|
1200
1330
|
require "google/ads/google_ads/v1/services/video_service_client.rb"
|
1201
1331
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::VideoServiceClient)
|
1202
1332
|
if have_service_path?
|
@@ -1207,6 +1337,8 @@ module Google
|
|
1207
1337
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1208
1338
|
end
|
1209
1339
|
|
1340
|
+
blk&.call(cls)
|
1341
|
+
|
1210
1342
|
cls.new(
|
1211
1343
|
credentials: @credentials,
|
1212
1344
|
metadata: @metadata,
|
@@ -1214,7 +1346,7 @@ module Google
|
|
1214
1346
|
)
|
1215
1347
|
end
|
1216
1348
|
|
1217
|
-
def product_group_view
|
1349
|
+
def product_group_view(&blk)
|
1218
1350
|
require "google/ads/google_ads/v1/services/product_group_view_service_client.rb"
|
1219
1351
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::ProductGroupViewServiceClient)
|
1220
1352
|
if have_service_path?
|
@@ -1225,6 +1357,8 @@ module Google
|
|
1225
1357
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1226
1358
|
end
|
1227
1359
|
|
1360
|
+
blk&.call(cls)
|
1361
|
+
|
1228
1362
|
cls.new(
|
1229
1363
|
credentials: @credentials,
|
1230
1364
|
metadata: @metadata,
|
@@ -1232,7 +1366,7 @@ module Google
|
|
1232
1366
|
)
|
1233
1367
|
end
|
1234
1368
|
|
1235
|
-
def age_range_view
|
1369
|
+
def age_range_view(&blk)
|
1236
1370
|
require "google/ads/google_ads/v1/services/age_range_view_service_client.rb"
|
1237
1371
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::AgeRangeViewServiceClient)
|
1238
1372
|
if have_service_path?
|
@@ -1243,6 +1377,8 @@ module Google
|
|
1243
1377
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1244
1378
|
end
|
1245
1379
|
|
1380
|
+
blk&.call(cls)
|
1381
|
+
|
1246
1382
|
cls.new(
|
1247
1383
|
credentials: @credentials,
|
1248
1384
|
metadata: @metadata,
|
@@ -1250,7 +1386,7 @@ module Google
|
|
1250
1386
|
)
|
1251
1387
|
end
|
1252
1388
|
|
1253
|
-
def ad_group_extension_setting
|
1389
|
+
def ad_group_extension_setting(&blk)
|
1254
1390
|
require "google/ads/google_ads/v1/services/ad_group_extension_setting_service_client.rb"
|
1255
1391
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdGroupExtensionSettingServiceClient)
|
1256
1392
|
if have_service_path?
|
@@ -1261,6 +1397,8 @@ module Google
|
|
1261
1397
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1262
1398
|
end
|
1263
1399
|
|
1400
|
+
blk&.call(cls)
|
1401
|
+
|
1264
1402
|
cls.new(
|
1265
1403
|
credentials: @credentials,
|
1266
1404
|
metadata: @metadata,
|
@@ -1268,7 +1406,7 @@ module Google
|
|
1268
1406
|
)
|
1269
1407
|
end
|
1270
1408
|
|
1271
|
-
def shopping_performance_view
|
1409
|
+
def shopping_performance_view(&blk)
|
1272
1410
|
require "google/ads/google_ads/v1/services/shopping_performance_view_service_client.rb"
|
1273
1411
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::ShoppingPerformanceViewServiceClient)
|
1274
1412
|
if have_service_path?
|
@@ -1279,6 +1417,8 @@ module Google
|
|
1279
1417
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1280
1418
|
end
|
1281
1419
|
|
1420
|
+
blk&.call(cls)
|
1421
|
+
|
1282
1422
|
cls.new(
|
1283
1423
|
credentials: @credentials,
|
1284
1424
|
metadata: @metadata,
|
@@ -1286,7 +1426,7 @@ module Google
|
|
1286
1426
|
)
|
1287
1427
|
end
|
1288
1428
|
|
1289
|
-
def feed_item_target
|
1429
|
+
def feed_item_target(&blk)
|
1290
1430
|
require "google/ads/google_ads/v1/services/feed_item_target_service_client.rb"
|
1291
1431
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::FeedItemTargetServiceClient)
|
1292
1432
|
if have_service_path?
|
@@ -1297,6 +1437,8 @@ module Google
|
|
1297
1437
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1298
1438
|
end
|
1299
1439
|
|
1440
|
+
blk&.call(cls)
|
1441
|
+
|
1300
1442
|
cls.new(
|
1301
1443
|
credentials: @credentials,
|
1302
1444
|
metadata: @metadata,
|
@@ -1304,7 +1446,7 @@ module Google
|
|
1304
1446
|
)
|
1305
1447
|
end
|
1306
1448
|
|
1307
|
-
def campaign_criterion_simulation
|
1449
|
+
def campaign_criterion_simulation(&blk)
|
1308
1450
|
require "google/ads/google_ads/v1/services/campaign_criterion_simulation_service_client.rb"
|
1309
1451
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::CampaignCriterionSimulationServiceClient)
|
1310
1452
|
if have_service_path?
|
@@ -1315,6 +1457,8 @@ module Google
|
|
1315
1457
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1316
1458
|
end
|
1317
1459
|
|
1460
|
+
blk&.call(cls)
|
1461
|
+
|
1318
1462
|
cls.new(
|
1319
1463
|
credentials: @credentials,
|
1320
1464
|
metadata: @metadata,
|
@@ -1322,7 +1466,7 @@ module Google
|
|
1322
1466
|
)
|
1323
1467
|
end
|
1324
1468
|
|
1325
|
-
def paid_organic_search_term_view
|
1469
|
+
def paid_organic_search_term_view(&blk)
|
1326
1470
|
require "google/ads/google_ads/v1/services/paid_organic_search_term_view_service_client.rb"
|
1327
1471
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::PaidOrganicSearchTermViewServiceClient)
|
1328
1472
|
if have_service_path?
|
@@ -1333,6 +1477,8 @@ module Google
|
|
1333
1477
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1334
1478
|
end
|
1335
1479
|
|
1480
|
+
blk&.call(cls)
|
1481
|
+
|
1336
1482
|
cls.new(
|
1337
1483
|
credentials: @credentials,
|
1338
1484
|
metadata: @metadata,
|
@@ -1340,7 +1486,7 @@ module Google
|
|
1340
1486
|
)
|
1341
1487
|
end
|
1342
1488
|
|
1343
|
-
def campaign_criterion
|
1489
|
+
def campaign_criterion(&blk)
|
1344
1490
|
require "google/ads/google_ads/v1/services/campaign_criterion_service_client.rb"
|
1345
1491
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::CampaignCriterionServiceClient)
|
1346
1492
|
if have_service_path?
|
@@ -1351,6 +1497,8 @@ module Google
|
|
1351
1497
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1352
1498
|
end
|
1353
1499
|
|
1500
|
+
blk&.call(cls)
|
1501
|
+
|
1354
1502
|
cls.new(
|
1355
1503
|
credentials: @credentials,
|
1356
1504
|
metadata: @metadata,
|
@@ -1358,7 +1506,7 @@ module Google
|
|
1358
1506
|
)
|
1359
1507
|
end
|
1360
1508
|
|
1361
|
-
def conversion_adjustment_upload
|
1509
|
+
def conversion_adjustment_upload(&blk)
|
1362
1510
|
require "google/ads/google_ads/v1/services/conversion_adjustment_upload_service_client.rb"
|
1363
1511
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::ConversionAdjustmentUploadServiceClient)
|
1364
1512
|
if have_service_path?
|
@@ -1369,6 +1517,8 @@ module Google
|
|
1369
1517
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1370
1518
|
end
|
1371
1519
|
|
1520
|
+
blk&.call(cls)
|
1521
|
+
|
1372
1522
|
cls.new(
|
1373
1523
|
credentials: @credentials,
|
1374
1524
|
metadata: @metadata,
|
@@ -1376,7 +1526,7 @@ module Google
|
|
1376
1526
|
)
|
1377
1527
|
end
|
1378
1528
|
|
1379
|
-
def domain_category
|
1529
|
+
def domain_category(&blk)
|
1380
1530
|
require "google/ads/google_ads/v1/services/domain_category_service_client.rb"
|
1381
1531
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::DomainCategoryServiceClient)
|
1382
1532
|
if have_service_path?
|
@@ -1387,6 +1537,8 @@ module Google
|
|
1387
1537
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1388
1538
|
end
|
1389
1539
|
|
1540
|
+
blk&.call(cls)
|
1541
|
+
|
1390
1542
|
cls.new(
|
1391
1543
|
credentials: @credentials,
|
1392
1544
|
metadata: @metadata,
|
@@ -1394,7 +1546,7 @@ module Google
|
|
1394
1546
|
)
|
1395
1547
|
end
|
1396
1548
|
|
1397
|
-
def customer_extension_setting
|
1549
|
+
def customer_extension_setting(&blk)
|
1398
1550
|
require "google/ads/google_ads/v1/services/customer_extension_setting_service_client.rb"
|
1399
1551
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::CustomerExtensionSettingServiceClient)
|
1400
1552
|
if have_service_path?
|
@@ -1405,6 +1557,8 @@ module Google
|
|
1405
1557
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1406
1558
|
end
|
1407
1559
|
|
1560
|
+
blk&.call(cls)
|
1561
|
+
|
1408
1562
|
cls.new(
|
1409
1563
|
credentials: @credentials,
|
1410
1564
|
metadata: @metadata,
|
@@ -1412,7 +1566,7 @@ module Google
|
|
1412
1566
|
)
|
1413
1567
|
end
|
1414
1568
|
|
1415
|
-
def ad_group_ad_label
|
1569
|
+
def ad_group_ad_label(&blk)
|
1416
1570
|
require "google/ads/google_ads/v1/services/ad_group_ad_label_service_client.rb"
|
1417
1571
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelServiceClient)
|
1418
1572
|
if have_service_path?
|
@@ -1423,6 +1577,8 @@ module Google
|
|
1423
1577
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1424
1578
|
end
|
1425
1579
|
|
1580
|
+
blk&.call(cls)
|
1581
|
+
|
1426
1582
|
cls.new(
|
1427
1583
|
credentials: @credentials,
|
1428
1584
|
metadata: @metadata,
|
@@ -1430,7 +1586,7 @@ module Google
|
|
1430
1586
|
)
|
1431
1587
|
end
|
1432
1588
|
|
1433
|
-
def campaign_shared_set
|
1589
|
+
def campaign_shared_set(&blk)
|
1434
1590
|
require "google/ads/google_ads/v1/services/campaign_shared_set_service_client.rb"
|
1435
1591
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::CampaignSharedSetServiceClient)
|
1436
1592
|
if have_service_path?
|
@@ -1441,6 +1597,8 @@ module Google
|
|
1441
1597
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1442
1598
|
end
|
1443
1599
|
|
1600
|
+
blk&.call(cls)
|
1601
|
+
|
1444
1602
|
cls.new(
|
1445
1603
|
credentials: @credentials,
|
1446
1604
|
metadata: @metadata,
|
@@ -1448,7 +1606,7 @@ module Google
|
|
1448
1606
|
)
|
1449
1607
|
end
|
1450
1608
|
|
1451
|
-
def account_budget_proposal
|
1609
|
+
def account_budget_proposal(&blk)
|
1452
1610
|
require "google/ads/google_ads/v1/services/account_budget_proposal_service_client.rb"
|
1453
1611
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::AccountBudgetProposalServiceClient)
|
1454
1612
|
if have_service_path?
|
@@ -1459,6 +1617,8 @@ module Google
|
|
1459
1617
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1460
1618
|
end
|
1461
1619
|
|
1620
|
+
blk&.call(cls)
|
1621
|
+
|
1462
1622
|
cls.new(
|
1463
1623
|
credentials: @credentials,
|
1464
1624
|
metadata: @metadata,
|
@@ -1466,7 +1626,7 @@ module Google
|
|
1466
1626
|
)
|
1467
1627
|
end
|
1468
1628
|
|
1469
|
-
def display_keyword_view
|
1629
|
+
def display_keyword_view(&blk)
|
1470
1630
|
require "google/ads/google_ads/v1/services/display_keyword_view_service_client.rb"
|
1471
1631
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::DisplayKeywordViewServiceClient)
|
1472
1632
|
if have_service_path?
|
@@ -1477,6 +1637,8 @@ module Google
|
|
1477
1637
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1478
1638
|
end
|
1479
1639
|
|
1640
|
+
blk&.call(cls)
|
1641
|
+
|
1480
1642
|
cls.new(
|
1481
1643
|
credentials: @credentials,
|
1482
1644
|
metadata: @metadata,
|
@@ -1484,7 +1646,7 @@ module Google
|
|
1484
1646
|
)
|
1485
1647
|
end
|
1486
1648
|
|
1487
|
-
def hotel_group_view
|
1649
|
+
def hotel_group_view(&blk)
|
1488
1650
|
require "google/ads/google_ads/v1/services/hotel_group_view_service_client.rb"
|
1489
1651
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::HotelGroupViewServiceClient)
|
1490
1652
|
if have_service_path?
|
@@ -1495,6 +1657,8 @@ module Google
|
|
1495
1657
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1496
1658
|
end
|
1497
1659
|
|
1660
|
+
blk&.call(cls)
|
1661
|
+
|
1498
1662
|
cls.new(
|
1499
1663
|
credentials: @credentials,
|
1500
1664
|
metadata: @metadata,
|
@@ -1502,7 +1666,7 @@ module Google
|
|
1502
1666
|
)
|
1503
1667
|
end
|
1504
1668
|
|
1505
|
-
def ad_schedule_view
|
1669
|
+
def ad_schedule_view(&blk)
|
1506
1670
|
require "google/ads/google_ads/v1/services/ad_schedule_view_service_client.rb"
|
1507
1671
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdScheduleViewServiceClient)
|
1508
1672
|
if have_service_path?
|
@@ -1513,6 +1677,8 @@ module Google
|
|
1513
1677
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1514
1678
|
end
|
1515
1679
|
|
1680
|
+
blk&.call(cls)
|
1681
|
+
|
1516
1682
|
cls.new(
|
1517
1683
|
credentials: @credentials,
|
1518
1684
|
metadata: @metadata,
|
@@ -1520,7 +1686,7 @@ module Google
|
|
1520
1686
|
)
|
1521
1687
|
end
|
1522
1688
|
|
1523
|
-
def keyword_plan_idea
|
1689
|
+
def keyword_plan_idea(&blk)
|
1524
1690
|
require "google/ads/google_ads/v1/services/keyword_plan_idea_service_client.rb"
|
1525
1691
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::KeywordPlanIdeaServiceClient)
|
1526
1692
|
if have_service_path?
|
@@ -1531,6 +1697,8 @@ module Google
|
|
1531
1697
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1532
1698
|
end
|
1533
1699
|
|
1700
|
+
blk&.call(cls)
|
1701
|
+
|
1534
1702
|
cls.new(
|
1535
1703
|
credentials: @credentials,
|
1536
1704
|
metadata: @metadata,
|
@@ -1538,7 +1706,7 @@ module Google
|
|
1538
1706
|
)
|
1539
1707
|
end
|
1540
1708
|
|
1541
|
-
def feed_placeholder_view
|
1709
|
+
def feed_placeholder_view(&blk)
|
1542
1710
|
require "google/ads/google_ads/v1/services/feed_placeholder_view_service_client.rb"
|
1543
1711
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::FeedPlaceholderViewServiceClient)
|
1544
1712
|
if have_service_path?
|
@@ -1549,6 +1717,8 @@ module Google
|
|
1549
1717
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1550
1718
|
end
|
1551
1719
|
|
1720
|
+
blk&.call(cls)
|
1721
|
+
|
1552
1722
|
cls.new(
|
1553
1723
|
credentials: @credentials,
|
1554
1724
|
metadata: @metadata,
|
@@ -1556,7 +1726,7 @@ module Google
|
|
1556
1726
|
)
|
1557
1727
|
end
|
1558
1728
|
|
1559
|
-
def group_placement_view
|
1729
|
+
def group_placement_view(&blk)
|
1560
1730
|
require "google/ads/google_ads/v1/services/group_placement_view_service_client.rb"
|
1561
1731
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::GroupPlacementViewServiceClient)
|
1562
1732
|
if have_service_path?
|
@@ -1567,6 +1737,8 @@ module Google
|
|
1567
1737
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1568
1738
|
end
|
1569
1739
|
|
1740
|
+
blk&.call(cls)
|
1741
|
+
|
1570
1742
|
cls.new(
|
1571
1743
|
credentials: @credentials,
|
1572
1744
|
metadata: @metadata,
|
@@ -1574,7 +1746,7 @@ module Google
|
|
1574
1746
|
)
|
1575
1747
|
end
|
1576
1748
|
|
1577
|
-
def user_interest
|
1749
|
+
def user_interest(&blk)
|
1578
1750
|
require "google/ads/google_ads/v1/services/user_interest_service_client.rb"
|
1579
1751
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::UserInterestServiceClient)
|
1580
1752
|
if have_service_path?
|
@@ -1585,6 +1757,8 @@ module Google
|
|
1585
1757
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1586
1758
|
end
|
1587
1759
|
|
1760
|
+
blk&.call(cls)
|
1761
|
+
|
1588
1762
|
cls.new(
|
1589
1763
|
credentials: @credentials,
|
1590
1764
|
metadata: @metadata,
|
@@ -1592,7 +1766,7 @@ module Google
|
|
1592
1766
|
)
|
1593
1767
|
end
|
1594
1768
|
|
1595
|
-
def location_view
|
1769
|
+
def location_view(&blk)
|
1596
1770
|
require "google/ads/google_ads/v1/services/location_view_service_client.rb"
|
1597
1771
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::LocationViewServiceClient)
|
1598
1772
|
if have_service_path?
|
@@ -1603,6 +1777,8 @@ module Google
|
|
1603
1777
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1604
1778
|
end
|
1605
1779
|
|
1780
|
+
blk&.call(cls)
|
1781
|
+
|
1606
1782
|
cls.new(
|
1607
1783
|
credentials: @credentials,
|
1608
1784
|
metadata: @metadata,
|
@@ -1610,7 +1786,7 @@ module Google
|
|
1610
1786
|
)
|
1611
1787
|
end
|
1612
1788
|
|
1613
|
-
def expanded_landing_page_view
|
1789
|
+
def expanded_landing_page_view(&blk)
|
1614
1790
|
require "google/ads/google_ads/v1/services/expanded_landing_page_view_service_client.rb"
|
1615
1791
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::ExpandedLandingPageViewServiceClient)
|
1616
1792
|
if have_service_path?
|
@@ -1621,6 +1797,8 @@ module Google
|
|
1621
1797
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1622
1798
|
end
|
1623
1799
|
|
1800
|
+
blk&.call(cls)
|
1801
|
+
|
1624
1802
|
cls.new(
|
1625
1803
|
credentials: @credentials,
|
1626
1804
|
metadata: @metadata,
|
@@ -1628,7 +1806,7 @@ module Google
|
|
1628
1806
|
)
|
1629
1807
|
end
|
1630
1808
|
|
1631
|
-
def customer_feed
|
1809
|
+
def customer_feed(&blk)
|
1632
1810
|
require "google/ads/google_ads/v1/services/customer_feed_service_client.rb"
|
1633
1811
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::CustomerFeedServiceClient)
|
1634
1812
|
if have_service_path?
|
@@ -1639,6 +1817,8 @@ module Google
|
|
1639
1817
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1640
1818
|
end
|
1641
1819
|
|
1820
|
+
blk&.call(cls)
|
1821
|
+
|
1642
1822
|
cls.new(
|
1643
1823
|
credentials: @credentials,
|
1644
1824
|
metadata: @metadata,
|
@@ -1646,7 +1826,7 @@ module Google
|
|
1646
1826
|
)
|
1647
1827
|
end
|
1648
1828
|
|
1649
|
-
def ad_parameter
|
1829
|
+
def ad_parameter(&blk)
|
1650
1830
|
require "google/ads/google_ads/v1/services/ad_parameter_service_client.rb"
|
1651
1831
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdParameterServiceClient)
|
1652
1832
|
if have_service_path?
|
@@ -1657,6 +1837,8 @@ module Google
|
|
1657
1837
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1658
1838
|
end
|
1659
1839
|
|
1840
|
+
blk&.call(cls)
|
1841
|
+
|
1660
1842
|
cls.new(
|
1661
1843
|
credentials: @credentials,
|
1662
1844
|
metadata: @metadata,
|
@@ -1664,7 +1846,7 @@ module Google
|
|
1664
1846
|
)
|
1665
1847
|
end
|
1666
1848
|
|
1667
|
-
def geographic_view
|
1849
|
+
def geographic_view(&blk)
|
1668
1850
|
require "google/ads/google_ads/v1/services/geographic_view_service_client.rb"
|
1669
1851
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::GeographicViewServiceClient)
|
1670
1852
|
if have_service_path?
|
@@ -1675,6 +1857,8 @@ module Google
|
|
1675
1857
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1676
1858
|
end
|
1677
1859
|
|
1860
|
+
blk&.call(cls)
|
1861
|
+
|
1678
1862
|
cls.new(
|
1679
1863
|
credentials: @credentials,
|
1680
1864
|
metadata: @metadata,
|
@@ -1682,7 +1866,7 @@ module Google
|
|
1682
1866
|
)
|
1683
1867
|
end
|
1684
1868
|
|
1685
|
-
def landing_page_view
|
1869
|
+
def landing_page_view(&blk)
|
1686
1870
|
require "google/ads/google_ads/v1/services/landing_page_view_service_client.rb"
|
1687
1871
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::LandingPageViewServiceClient)
|
1688
1872
|
if have_service_path?
|
@@ -1693,6 +1877,8 @@ module Google
|
|
1693
1877
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1694
1878
|
end
|
1695
1879
|
|
1880
|
+
blk&.call(cls)
|
1881
|
+
|
1696
1882
|
cls.new(
|
1697
1883
|
credentials: @credentials,
|
1698
1884
|
metadata: @metadata,
|
@@ -1700,7 +1886,7 @@ module Google
|
|
1700
1886
|
)
|
1701
1887
|
end
|
1702
1888
|
|
1703
|
-
def customer_client_link
|
1889
|
+
def customer_client_link(&blk)
|
1704
1890
|
require "google/ads/google_ads/v1/services/customer_client_link_service_client.rb"
|
1705
1891
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::CustomerClientLinkServiceClient)
|
1706
1892
|
if have_service_path?
|
@@ -1711,6 +1897,8 @@ module Google
|
|
1711
1897
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1712
1898
|
end
|
1713
1899
|
|
1900
|
+
blk&.call(cls)
|
1901
|
+
|
1714
1902
|
cls.new(
|
1715
1903
|
credentials: @credentials,
|
1716
1904
|
metadata: @metadata,
|
@@ -1718,7 +1906,7 @@ module Google
|
|
1718
1906
|
)
|
1719
1907
|
end
|
1720
1908
|
|
1721
|
-
def recommendation
|
1909
|
+
def recommendation(&blk)
|
1722
1910
|
require "google/ads/google_ads/v1/services/recommendation_service_client.rb"
|
1723
1911
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::RecommendationServiceClient)
|
1724
1912
|
if have_service_path?
|
@@ -1729,6 +1917,8 @@ module Google
|
|
1729
1917
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1730
1918
|
end
|
1731
1919
|
|
1920
|
+
blk&.call(cls)
|
1921
|
+
|
1732
1922
|
cls.new(
|
1733
1923
|
credentials: @credentials,
|
1734
1924
|
metadata: @metadata,
|
@@ -1736,7 +1926,7 @@ module Google
|
|
1736
1926
|
)
|
1737
1927
|
end
|
1738
1928
|
|
1739
|
-
def topic_view
|
1929
|
+
def topic_view(&blk)
|
1740
1930
|
require "google/ads/google_ads/v1/services/topic_view_service_client.rb"
|
1741
1931
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::TopicViewServiceClient)
|
1742
1932
|
if have_service_path?
|
@@ -1747,6 +1937,8 @@ module Google
|
|
1747
1937
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1748
1938
|
end
|
1749
1939
|
|
1940
|
+
blk&.call(cls)
|
1941
|
+
|
1750
1942
|
cls.new(
|
1751
1943
|
credentials: @credentials,
|
1752
1944
|
metadata: @metadata,
|
@@ -1754,7 +1946,7 @@ module Google
|
|
1754
1946
|
)
|
1755
1947
|
end
|
1756
1948
|
|
1757
|
-
def customer_negative_criterion
|
1949
|
+
def customer_negative_criterion(&blk)
|
1758
1950
|
require "google/ads/google_ads/v1/services/customer_negative_criterion_service_client.rb"
|
1759
1951
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::CustomerNegativeCriterionServiceClient)
|
1760
1952
|
if have_service_path?
|
@@ -1765,6 +1957,8 @@ module Google
|
|
1765
1957
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1766
1958
|
end
|
1767
1959
|
|
1960
|
+
blk&.call(cls)
|
1961
|
+
|
1768
1962
|
cls.new(
|
1769
1963
|
credentials: @credentials,
|
1770
1964
|
metadata: @metadata,
|
@@ -1772,7 +1966,7 @@ module Google
|
|
1772
1966
|
)
|
1773
1967
|
end
|
1774
1968
|
|
1775
|
-
def language_constant
|
1969
|
+
def language_constant(&blk)
|
1776
1970
|
require "google/ads/google_ads/v1/services/language_constant_service_client.rb"
|
1777
1971
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::LanguageConstantServiceClient)
|
1778
1972
|
if have_service_path?
|
@@ -1783,6 +1977,8 @@ module Google
|
|
1783
1977
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1784
1978
|
end
|
1785
1979
|
|
1980
|
+
blk&.call(cls)
|
1981
|
+
|
1786
1982
|
cls.new(
|
1787
1983
|
credentials: @credentials,
|
1788
1984
|
metadata: @metadata,
|
@@ -1790,7 +1986,7 @@ module Google
|
|
1790
1986
|
)
|
1791
1987
|
end
|
1792
1988
|
|
1793
|
-
def account_budget
|
1989
|
+
def account_budget(&blk)
|
1794
1990
|
require "google/ads/google_ads/v1/services/account_budget_service_client.rb"
|
1795
1991
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::AccountBudgetServiceClient)
|
1796
1992
|
if have_service_path?
|
@@ -1801,6 +1997,8 @@ module Google
|
|
1801
1997
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1802
1998
|
end
|
1803
1999
|
|
2000
|
+
blk&.call(cls)
|
2001
|
+
|
1804
2002
|
cls.new(
|
1805
2003
|
credentials: @credentials,
|
1806
2004
|
metadata: @metadata,
|
@@ -1808,7 +2006,7 @@ module Google
|
|
1808
2006
|
)
|
1809
2007
|
end
|
1810
2008
|
|
1811
|
-
def ad_group_label
|
2009
|
+
def ad_group_label(&blk)
|
1812
2010
|
require "google/ads/google_ads/v1/services/ad_group_label_service_client.rb"
|
1813
2011
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdGroupLabelServiceClient)
|
1814
2012
|
if have_service_path?
|
@@ -1819,6 +2017,8 @@ module Google
|
|
1819
2017
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1820
2018
|
end
|
1821
2019
|
|
2020
|
+
blk&.call(cls)
|
2021
|
+
|
1822
2022
|
cls.new(
|
1823
2023
|
credentials: @credentials,
|
1824
2024
|
metadata: @metadata,
|
@@ -1826,7 +2026,7 @@ module Google
|
|
1826
2026
|
)
|
1827
2027
|
end
|
1828
2028
|
|
1829
|
-
def keyword_plan_negative_keyword
|
2029
|
+
def keyword_plan_negative_keyword(&blk)
|
1830
2030
|
require "google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_client.rb"
|
1831
2031
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordServiceClient)
|
1832
2032
|
if have_service_path?
|
@@ -1837,6 +2037,8 @@ module Google
|
|
1837
2037
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1838
2038
|
end
|
1839
2039
|
|
2040
|
+
blk&.call(cls)
|
2041
|
+
|
1840
2042
|
cls.new(
|
1841
2043
|
credentials: @credentials,
|
1842
2044
|
metadata: @metadata,
|
@@ -1844,7 +2046,7 @@ module Google
|
|
1844
2046
|
)
|
1845
2047
|
end
|
1846
2048
|
|
1847
|
-
def campaign_bid_modifier
|
2049
|
+
def campaign_bid_modifier(&blk)
|
1848
2050
|
require "google/ads/google_ads/v1/services/campaign_bid_modifier_service_client.rb"
|
1849
2051
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::CampaignBidModifierServiceClient)
|
1850
2052
|
if have_service_path?
|
@@ -1855,6 +2057,8 @@ module Google
|
|
1855
2057
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1856
2058
|
end
|
1857
2059
|
|
2060
|
+
blk&.call(cls)
|
2061
|
+
|
1858
2062
|
cls.new(
|
1859
2063
|
credentials: @credentials,
|
1860
2064
|
metadata: @metadata,
|
@@ -1862,7 +2066,7 @@ module Google
|
|
1862
2066
|
)
|
1863
2067
|
end
|
1864
2068
|
|
1865
|
-
def customer_manager_link
|
2069
|
+
def customer_manager_link(&blk)
|
1866
2070
|
require "google/ads/google_ads/v1/services/customer_manager_link_service_client.rb"
|
1867
2071
|
cls = Class.new(Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkServiceClient)
|
1868
2072
|
if have_service_path?
|
@@ -1873,6 +2077,8 @@ module Google
|
|
1873
2077
|
cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor])
|
1874
2078
|
end
|
1875
2079
|
|
2080
|
+
blk&.call(cls)
|
2081
|
+
|
1876
2082
|
cls.new(
|
1877
2083
|
credentials: @credentials,
|
1878
2084
|
metadata: @metadata,
|