Creates FeedItems for the specified AdGroups.

  These FeedItems contain values to use in ad customizations for the AdGroups.

  Args:
    client: an AdWordsClient instance.
    adgroup_ids: a list containing two AdGroup Ids.
    ad_customizer_feed: the AdCustomizerFeed we're associating the FeedItems
        with.

  Raises:
    GoogleAdsError: if no FeedItems were added.

def CreateCustomizerFeedItems(client, adgroup_ids, ad_customizer_feed):
  """Creates FeedItems for the specified AdGroups.

  These FeedItems contain values to use in ad customizations for the AdGroups.

  Args:
    client: an AdWordsClient instance.
    adgroup_ids: a list containing two AdGroup Ids.
    ad_customizer_feed: the AdCustomizerFeed we're associating the FeedItems
        with.

  Raises:
    GoogleAdsError: if no FeedItems were added.
  """
  # Get the FeedItemService
  feed_item_service = client.GetService('FeedItemService', 'v201809')
  now = datetime.now()
  mars_date = datetime(now.year, now.month, 1, 0, 0)
  venus_date = datetime(now.year, now.month, 15, 0, 0)
  time_format = '%Y%m%d %H%M%S'

  feed_item_operations = [
      CreateFeedItemAddOperation(
          'Mars', '$1234.56', mars_date.strftime(time_format),
          ad_customizer_feed),
      CreateFeedItemAddOperation(
          'Venus', '$1450.00', venus_date.strftime(time_format),
          ad_customizer_feed)
  ]

  response = feed_item_service.mutate(feed_item_operations)

  if 'value' in response:
    for feed_item in response['value']:
      print 'Added FeedItem with ID %d.' % feed_item['feedItemId']
  else:
    raise errors.GoogleAdsError('No FeedItems were added.')

  for feed_item, adgroup_id in zip(response['value'], adgroup_ids):
    RestrictFeedItemToAdGroup(client, feed_item, adgroup_id)