Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/g/o/googleads-python-legacy-lib-HEAD/tests/adspygoogle/dfp/v201211/creative_wrapper_service_unittest.py   googleads-python-legacy-lib(Download)
  def setUp(self):
    """Prepare unittest."""
    if not self.__class__.loaded:
      self.__class__.test_label_id = util.CreateTestLabel(
          client, SERVER_V201211, VERSION_V201211)
  def testCreateCreativeWrappers(self):
    """Test whether we can create a creative wrapper."""
    create_creative_wrappers.main(client,
                                  util.CreateTestLabel(client, SERVER_V201211,
                                                       VERSION_V201211))
  def testDeactivateCreativeWrappers(self):
    """Test whether we can get perform an action on creative wrappers."""
    label_id = util.CreateTestLabel(client, SERVER_V201211, VERSION_V201211)
    util.CreateTestCreativeWrapper(client, SERVER_V201211, VERSION_V201211,
                                   label_id)