Skip to content

Commit 5d57ec7

Browse files
authored
Merge pull request #725 from googleads/add-includecode-tag
Update GetCampaigns.java by adding an includecode tag
2 parents 89ce4a2 + 787e6c1 commit 5d57ec7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

google-ads-examples/src/main/java/com/google/ads/googleads/examples/basicoperations/GetCampaigns.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ public static void main(String[] args) throws IOException {
8383
* @param customerId the client customer ID.
8484
* @throws GoogleAdsException if an API request failed with one or more service errors.
8585
*/
86+
// [START get_campaigns]
8687
private void runExample(GoogleAdsClient googleAdsClient, long customerId) {
8788
try (GoogleAdsServiceClient googleAdsServiceClient =
8889
googleAdsClient.getLatestVersion().createGoogleAdsServiceClient()) {
@@ -108,4 +109,5 @@ private void runExample(GoogleAdsClient googleAdsClient, long customerId) {
108109
}
109110
}
110111
}
112+
// [END get_campaigns]
111113
}

0 commit comments

Comments
 (0)