Skip to content

Commit 8e70a5c

Browse files
authored
Add region tags to AddSmartCampaigns.java (#442)
1 parent 16e3274 commit 8e70a5c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

google-ads-examples/src/main/java/com/google/ads/googleads/examples/advancedoperations/AddSmartCampaign.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,7 @@ private MutateOperation createAdGroupAdOperation(long customerId) {
442442
}
443443
// [END add_smart_campaign_6]
444444

445+
// [START add_smart_campaign_8]
445446
/**
446447
* Creates {@link com.google.ads.googleads.v8.resources.CampaignCriterion} operations for add each
447448
* {@link KeywordThemeInfo}.
@@ -462,7 +463,9 @@ private Collection<? extends MutateOperation> createCampaignCriterionOperations(
462463
})
463464
.collect(Collectors.toList());
464465
}
466+
// [END add_smart_campaign_8]
465467

468+
// [START add_smart_campaign_7]
466469
/**
467470
* Sends a mutate request with a group of mutate operations.
468471
*
@@ -496,6 +499,7 @@ private void sendMutateRequest(
496499
}
497500
}
498501
}
502+
// [END add_smart_campaign_7]
499503

500504
/**
501505
* Provides a helper method to convert {@link KeywordThemeConstant} to {@link KeywordThemeInfo}.

0 commit comments

Comments
 (0)