Skip to content

Commit caf00a7

Browse files
Add new region tags (#432)
1 parent 85fcb72 commit caf00a7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

google-ads-examples/src/main/java/com/google/ads/googleads/examples/extensions/AddLeadFormExtension.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ private void runExample(GoogleAdsClient googleAdsClient, long customerId, long c
120120
* @param customerId the customer ID for which to add the lead form asset.
121121
* @return the resource name of the newly created lead form asset.
122122
*/
123+
// [START add_lead_form_extension]
123124
private static String createLeadFormAsset(GoogleAdsClient googleAdsClient, long customerId) {
124125
// Creates the lead form asset.
125126
Asset leadFormAsset =
@@ -205,6 +206,7 @@ private static String createLeadFormAsset(GoogleAdsClient googleAdsClient, long
205206
return resourceName;
206207
}
207208
}
209+
// [END add_lead_form_extension]
208210

209211
/**
210212
* Creates the lead form extension.
@@ -214,6 +216,7 @@ private static String createLeadFormAsset(GoogleAdsClient googleAdsClient, long
214216
* @param campaignId the campaign ID for which to add the lead form extension.
215217
* @param leadFormAssetResourceName the resource name of the lead form asset to be added.
216218
*/
219+
// [START add_lead_form_extension_1]
217220
private static void createLeadFormExtension(
218221
GoogleAdsClient googleAdsClient,
219222
long customerId,
@@ -241,4 +244,5 @@ private static void createLeadFormExtension(
241244
response.getResultsList().get(0).getResourceName(), campaignId);
242245
}
243246
}
247+
// [END add_lead_form_extension_1]
244248
}

0 commit comments

Comments
 (0)