code: def create_ad(self, ad_content):
          
          if not 'is_sandbox' in ad_content:
              return False
          else:
              if ad_content['is_sandbox']:
                  req = self.create_record(
                      'sandboxad', ad_content, self.access_key, self.secret_key
                  )
              else:
                  req = self.create_record(
                      'ad', ad_content, self.access_key, self.secret_key
                  )
              if req.status_code == 201:
                  return req.json()['ad_id']
              else:
                  return False
docs: create_ad: