Skip to content

Commit 313f9f1

Browse files
PierrickVouletpierrick
andauthored
Fix region tag names inconsistencies (#418)
Change-Id: I949b1468757a04b4be64071c760d0b3e79c66329 Co-authored-by: pierrick <pierrick@google.com>
1 parent 9cf9c7d commit 313f9f1

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

google-ads-examples/src/main/java/com/google/ads/googleads/examples/accountmanagement/GetChangeSummary.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static void main(String[] args) {
8282
* @param googleAdsClient the client instance.
8383
* @param customerId the customerId for which to retrieve change status.
8484
*/
85-
// [START get_account_changes]
85+
// [START get_change_summary]
8686
private void runExample(GoogleAdsClient googleAdsClient, long customerId) {
8787
String query =
8888
"SELECT change_status.resource_name, "
@@ -123,7 +123,7 @@ private void runExample(GoogleAdsClient googleAdsClient, long customerId) {
123123
}
124124
}
125125
}
126-
// [END get_account_changes]
126+
// [END get_change_summary]
127127

128128
/**
129129
* Each returned row contains all possible changed fields. This function returns the resource name

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public static void main(String[] args) throws IOException {
106106
* @param campaignId the campaign ID.
107107
* @throws GoogleAdsException if an API request failed with one or more service errors.
108108
*/
109-
// [START add_sitelinks]
109+
// [START add_sitelinks_1]
110110
private void runExample(GoogleAdsClient googleAdsClient, long customerId, long campaignId) {
111111
String campaignResourceName = ResourceNames.campaign(customerId, campaignId);
112112

@@ -139,7 +139,7 @@ private void runExample(GoogleAdsClient googleAdsClient, long customerId, long c
139139
}
140140
}
141141
}
142-
// [END add_sitelinks]
142+
// [END add_sitelinks_1]
143143

144144
/**
145145
* Creates a list of ExtensionFeedItems.
@@ -148,7 +148,7 @@ private void runExample(GoogleAdsClient googleAdsClient, long customerId, long c
148148
* @param customerId the client customer ID.
149149
* @param campaignResourceName the resource name of the campaign to target.
150150
*/
151-
// [START add_sitelinks_1]
151+
// [START add_sitelinks]
152152
private static List<String> createExtensionFeedItems(
153153
GoogleAdsClient googleAdsClient, long customerId, String campaignResourceName) {
154154
SitelinkFeedItem sitelinkFeedItem1 =
@@ -260,7 +260,7 @@ private static List<String> createExtensionFeedItems(
260260
return resourceNames;
261261
}
262262
}
263-
// [END add_sitelinks_1]
263+
// [END add_sitelinks]
264264

265265
/**
266266
* Creates a new SitelinkFeedItem with the specified attributes.

google-ads-examples/src/main/java/com/google/ads/googleads/examples/remarketing/AddMerchantCenterDynamicRemarketingCampaign.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ private void runExample(
161161
* @param campaignBudgetId the campaign budget ID.
162162
* @throws GoogleAdsException if an API request failed with one or more service errors.
163163
*/
164-
// [START add_merchant_center_dynamic_remarketing_campaign]
164+
// [START add_merchant_center_dynamic_remarketing_campaign_2]
165165
private String createCampaign(
166166
GoogleAdsClient googleAdsClient,
167167
long customerId,
@@ -208,7 +208,7 @@ private String createCampaign(
208208
return campaignResourceName;
209209
}
210210
}
211-
// [END add_merchant_center_dynamic_remarketing_campaign]
211+
// [END add_merchant_center_dynamic_remarketing_campaign_2]
212212

213213
/**
214214
* Creates an ad group for the remarketing campaign.
@@ -254,7 +254,7 @@ private String createAdGroup(
254254
* @param adGroupResourceName the campaign resource name.
255255
* @throws GoogleAdsException if an API request failed with one or more service errors.
256256
*/
257-
// [START add_merchant_center_dynamic_remarketing_campaign_2]
257+
// [START add_merchant_center_dynamic_remarketing_campaign]
258258
private void createAd(
259259
GoogleAdsClient googleAdsClient, long customerId, String adGroupResourceName)
260260
throws IOException {
@@ -329,7 +329,7 @@ private void createAd(
329329
response.getResults(0).getResourceName());
330330
}
331331
}
332-
// [END add_merchant_center_dynamic_remarketing_campaign_2]
332+
// [END add_merchant_center_dynamic_remarketing_campaign]
333333

334334
/**
335335
* Adds an image to the Google Ads account.

0 commit comments

Comments
 (0)