Closed yash199649 closed 5 years ago
Hey, your code is using the google-ads-java library, which is for the beta Google Ads API. This is the issue tracker for the AdWords API library.
The code looks reasonable, I don't see anything obivously wrong. Do you receive an error when executing this call?
Achieved the same using ExtensionFeedItem and CampaignExtensionSetting. Thanks!
SitelinkFeedItem siteLinkBuilder = SitelinkFeedItem.newBuilder() .setLinkText(StringValue.of("TExttttt")) .setLine1(StringValue.of("line1")) .setLine2(StringValue.of("line2")) .setFinalUrls(0,StringValue.of("haha")) .build();
// .build();? CampaignExtensionSettingOperation operations = CampaignExtensionSettingOperation.newBuilder().setCreate(campaignExtensionSetting).build();