code: private static FeedItemOperation createDsaUrlAddOperation(
        DSAFeedDetails feedDetails, String url, String labelName) {
      // Create the FeedItemAttributeValues for the URL and label.
      FeedItemAttributeValue urlAttributeValue = new FeedItemAttributeValue();
      urlAttributeValue.setFeedAttributeId(feedDetails.urlAttributeId);
      // See https://support.google.com/adwords/answer/7166527 for page feed URL recommendations and
      // rules.
      urlAttributeValue.setStringValues(new String[] {url});
  
      FeedItemAttributeValue labelAttributeValue = new FeedItemAttributeValue();
      labelAttributeValue.setFeedAttributeId(feedDetails.labelAttributeId);
      labelAttributeValue.setStringValues(new String[] {labelName});
  
      // Create the feed item and operation.
      FeedItem feedItem = new FeedItem();
      feedItem.setFeedId(feedDetails.feedId);
  
      feedItem.setAttributeValues(
          new FeedItemAttributeValue[] {urlAttributeValue, labelAttributeValue});
  
      FeedItemOperation operation = new FeedItemOperation();
      operation.setOperand(feedItem);
      operation.setOperator(Operator.ADD);
  
      return operation;
    }
docs: Creates a {@link FeedItemOperation} to add the DSA URL.