Skip to content

Commit 43cb570

Browse files
authored
Fix campaign draft (#391)
1 parent 15a9abc commit 43cb570

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

google-ads-examples/src/main/java/com/google/ads/googleads/examples/campaignmanagement/AddCampaignDraft.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ private static class AddCampaignDraftParams extends CodeSampleParams {
4141
@Parameter(names = ArgumentNames.CUSTOMER_ID, required = true)
4242
private Long customerId;
4343

44-
@Parameter(names = ArgumentNames.CAMPAIGN_ID, required = true)
44+
@Parameter(names = ArgumentNames.BASE_CAMPAIGN_ID, required = true)
4545
private Long baseCampaignId;
4646
}
4747

@@ -52,7 +52,7 @@ public static void main(String[] args) {
5252
// Either pass the required parameters for this example on the command line, or insert them
5353
// into the code here. See the parameter class definition above for descriptions.
5454
params.customerId = Long.parseLong("INSERT_CUSTOMER_ID_HERE");
55-
params.baseCampaignId = Long.valueOf("INSERT_CAMPAIGN_ID_HERE");
55+
params.baseCampaignId = Long.valueOf("INSERT_BASE_CAMPAIGN_ID_HERE");
5656
}
5757

5858
GoogleAdsClient googleAdsClient;

0 commit comments

Comments
 (0)